agentleFS
contentscoincontentscoin/video-production-skills/skills/shared/music-generator/SKILL.md

music-generator

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Score and theme-song generation with Suno or Google Flow Music: genre/mood/BPM/structure briefs, theme lyrics, and engine prompts synced to video beats. Auto-links music-rights-check.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Music Generator

영상의 배경음악(score/BGM)·주제곡(theme song)·스팅(sting)·트랜지션 사운드를 Suno 또는 Google Flow Music으로 생성용 프롬프트와 함께 명세하는 스킬. 실연주·실음원 라이선싱이 아니라 AI 생성 음악이 전제입니다. narrative-weaver의 정서 곡선을 음악 무드로 번역하고, editor의 컷 타이밍에 sync_point를 맞추며, 생성 직후 music-rights-check(Category D: AI Generated, SUNO)로 권리를 검증하는 짝 스킬입니다.

When to use

  • 영상에 오리지널 BGM·주제곡이 필요할 때 (실음원 라이선스를 쓰지 않는 경우)
  • narrative-weaver가 비트별 audio 슬롯을 비워두고 음악 명세를 위임할 때
  • mv-builder가 뮤직비디오의 기준 트랙(theme)을 먼저 확정해야 할 때
  • editor가 컷 리듬에 맞춘 음악 sync_point가 필요할 때
  • 시리즈 공통 메인 테마 + 편별 변주(variation)가 필요할 때

단발 SNS 클립에 무드만 깔면 되는 경우 royalty-free 트랙으로 충분 — 그때는 이 스킬 대신 music-rights-check의 Category B(Royalty-Free)로 직행. 오리지널리티·동기화·시리즈 일관성이 필요할 때만 이 스킬.

엔진의 정확한 제약(생성 1회 최대 길이, 스템 분리 지원 여부, 가사 토큰 한도 등)은 **버전 의존(version-dependent)**입니다. 확정 수치를 지어내지 말고, 런타임 확인은 engine-clip-spec(엔진 능력 조회)에 위임하고, 길이·sync는 editor와 협의해 확정합니다.

Inputs

music_request:
  project_id: "FMGmember_2026Q3_V1"
  role: "theme_song"                 # score_bgm / theme_song / sting / transition
  engine_pref: "suno"                # suno / google_flow_music / null(자동)
  narrative_arc_ref: "..."           # narrative-weaver 출력 (정서 곡선)
  emotional_curve:                   # 비트별 정서 → 무드 매핑 입력
    - { beat: "Opening", emotion: "calm anticipation", time_s: 0 }
    - { beat: "Reveal",  emotion: "warm confidence",   time_s: 12 }
  target_duration_s: 30              # editor의 최종 컷 길이와 정합되어야 함
  cut_points_s: [0, 8, 12, 24]       # editor/clip-segmentation의 컷 전환 시각
  language: "ko"                     # 주제곡 가사 언어
  brand_tone: "신뢰감, 절제, 프리미엄"  # visual-bible / aesthetic-director에서

Output: 트랙 스키마

track:
  track_id: "TRK_V1_THEME"
  role: "theme_song"                 # score_bgm / theme_song / sting / transition
  engine: "suno"                     # suno / google_flow_music
  genre: "cinematic indie-pop"       # 장르 (복수 태그 허용)
  mood: ["warm", "hopeful", "restrained"]   # narrative-weaver 정서곡선과 매핑
  bpm: 92                            # null 허용(엔진 자동) — sync 필요 시 명시 권장
  key: "A major"                     # null 허용
  structure:                         # 타임코드는 target_duration_s 기준 가안
    - { section: "intro",  start_s: 0,  end_s: 4 }
    - { section: "verse",  start_s: 4,  end_s: 12 }
    - { section: "chorus", start_s: 12, end_s: 24, hook: true }
    - { section: "outro",  start_s: 24, end_s: 30 }
  instrumentation: ["felt piano", "warm pad", "soft kick", "string swell"]
  lyrics:                            # theme_song일 때만, score_bgm은 null
    language: "ko"
    chorus_hook: "다시 여기, 우리의 자리"   # 후렴 훅(반복 라인)
    full: "..."                      # [Verse]/[Chorus] 구조 텍스트
  reference_descriptor: "느린 펠트 피아노 위 따뜻한 패드, 절제된 인디 시네마틱"  # 텍스트 기반, 아티스트명 금지
  duration_s: 30
  sync_points:                       # 영상 비트·컷 전환에 맞춘 시간 마커 → editor
    - { at_s: 0,  event: "intro_in",      align_to_cut: 0 }
    - { at_s: 12, event: "chorus_drop",   align_to_cut: 12 }
    - { at_s: 24, event: "outro_resolve", align_to_cut: 24 }
  variations:                        # 스템/길이 변형
    - { variation_id: "TRK_V1_THEME_15s", type: "length", target_s: 15 }
    - { variation_id: "TRK_V1_THEME_inst", type: "stem", note: "보컬 제거 = BGM 버전" }
  rights_status: "pending_check"     # music-rights-check 연계 전 기본값

role별 패턴

role용도가사길이 감각sync 중요도
score_bgm장면 밑 깔리는 분위기없음(instrumental)영상 전체 길이 ±루프중 (무드 전환만)
theme_song주제곡, 후렴 훅 중심한국어 가사 + chorus hook30~90s 가안높음 (드롭=클라이맥스)
sting로고·전환 강조 (1~3초)없음짧음매우 높음 (정확 타격)
transition컷·씬 연결 사운드없음짧음높음 (컷 경계 정렬)

정서 곡선 → 무드 매핑

narrative-weaver의 비트별 emotion을 음악 mood/structure로 번역합니다.

narrative emotionmood 태그음악적 처리
calm anticipationwarm, sparseintro, 악기 최소, 여백
rising tensiondriving, tautverse, 리듬 등장, 베이스 진입
warm confidencehopeful, fullchorus drop, 보컬 훅 + 스트링 스웰
quiet resolutionrestrained, softoutro, 악기 감산, 페이드

원칙: 음악의 가장 큰 에너지 지점(chorus drop/peak)을 narrative 클라이맥스 비트의 시각에 맞춥니다. cut_points_s와 sync_points.at_s가 정렬되어야 editor가 컷을 음악에 태웁니다.

엔진별 프롬프트 패턴

Suno — 스타일 태그 + 구조형 가사

[Style]
cinematic indie-pop, felt piano, warm analog pad, soft kick, 92 BPM, A major,
restrained / hopeful / premium, female soft vocal

[Exclude]
heavy distortion, EDM drop, trap hi-hats, aggressive vocals

[Lyrics]
[Intro]
(instrumental, felt piano)

[Verse]
조용한 아침, 익숙한 길 위에
한 걸음씩 다시 시작해

[Chorus]
다시 여기, 우리의 자리          ← chorus_hook
바래지 않는 약속처럼

[Outro]
(soft fade, piano only)
  • 스타일 태그는 장르 + 악기 + BPM + key + 무드 형용사 + 보컬 타입 순으로 나열.
  • 가사는 [Verse]/[Chorus]/[Bridge]/[Outro] 섹션 태그로 구조화 — Suno가 구조를 인식.
  • [Exclude]에 원치 않는 요소를 명시(드롭·왜곡 등)해 무드 이탈 방지.

Google Flow Music — 텍스트 프롬프트 + 길이/무드

prompt: "절제된 시네마틱 인디팝 인스트루멘탈. 펠트 피아노와 따뜻한 아날로그 패드,
         부드러운 킥. 92 BPM 느낌, 따뜻하고 희망적이되 과하지 않게. 후반 스트링 스웰로 고조."
duration_hint_s: 30        # 엔진 지원 길이는 version-dependent → engine-clip-spec 확인
mood: ["warm", "hopeful", "restrained"]
structure_hint: "intro → 점진적 빌드업 → 후반 절정 → 페이드 아웃"
  • Flow Music은 가사보다 무드·악기·진행을 서술형 텍스트로 받는 패턴이 안정적.
  • 정확한 BPM/길이 고정 능력은 버전 의존 — sync가 빡빡하면 Suno 쪽이 구조 제어에 유리.

권리 안전 규칙 (중요)

  • 실존 아티스트·실제 곡명·"in the style of [가수]" 금지. reference_descriptor는 항상 장르·악기·무드·진행의 텍스트 묘사로만 작성 (reference-scout가 비주얼에서 하는 일의 음악판).
  • 보컬에 실존 인물 음색 클로닝 금지 — 필요하면 music-rights-check Category E(Voice Cloning, SAG-AFTRA)로 별도 검수.
  • 생성 직후 즉시 music-rights-check를 호출 → Category D(AI Generated, SUNO)로 분류·라이선스 메모 확정. rights_status가 pending_check로 남은 트랙은 editor/post-production-spec에 넘기지 않습니다.

Output Format

{
  "skill_version": "music-generator v0.7",
  "project_id": "FMGmember_2026Q3_V1",
  "track_id": "TRK_V1_THEME",
  "role": "theme_song",
  "engine": "suno",
  "genre": "cinematic indie-pop",
  "mood": ["warm", "hopeful", "restrained"],
  "bpm": 92,
  "key": "A major",
  "structure": [
    { "section": "intro",  "start_s": 0,  "end_s": 4 },
    { "section": "verse",  "start_s": 4,  "end_s": 12 },
    { "section": "chorus", "start_s": 12, "end_s": 24, "hook": true },
    { "section": "outro",  "start_s": 24, "end_s": 30 }
  ],
  "instrumentation": ["felt piano", "warm pad", "soft kick", "string swell"],
  "lyrics": {
    "language": "ko",
    "chorus_hook": "다시 여기, 우리의 자리",
    "full": "[Verse]\n조용한 아침...\n[Chorus]\n다시 여기, 우리의 자리..."
  },
  "reference_descriptor": "느린 펠트 피아노 위 따뜻한 패드, 절제된 인디 시네마틱",
  "engine_prompt": "cinematic indie-pop, felt piano, warm pad, 92 BPM, A major, restrained/hopeful ... [Exclude] EDM drop, trap hi-hats",
  "duration_s": 30,
  "duration_note": "엔진 최대 생성 길이는 version-dependent — engine-clip-spec 확인 후 확정",
  "sync_points": [
    { "at_s": 0,  "event": "intro_in",      "align_to_cut": 0 },
    { "at_s": 12, "event": "chorus_drop",   "align_to_cut": 12 },
    { "at_s": 24, "event": "outro_resolve", "align_to_cut": 24 }
  ],
  "variations": [
    { "variation_id": "TRK_V1_THEME_15s",  "type": "length", "target_s": 15 },
    { "variation_id": "TRK_V1_THEME_inst", "type": "stem",   "note": "보컬 제거 BGM 버전" }
  ],
  "rights_status": "pending_check",
  "next_skill": "music-rights-check",
  "validation": {
    "duration_matches_target": true,
    "sync_points_align_to_cuts": true,
    "no_real_artist_reference": true,
    "lyrics_present_if_theme_song": true
  }
}

휴리스틱

  • theme_song은 후렴 훅(chorus_hook) 한 줄을 가장 먼저 확정 — 나머지 가사·구조는 훅에서 역설계.
  • sync에 민감하면 Suno(구조 태그로 섹션 제어), 무드만 깔면 Google Flow Music(서술형이 편함).
  • bpm은 가능하면 명시 — null로 두면 컷 리듬과 음악 박자가 어긋나 editor가 고생.
  • chorus drop = 영상 클라이맥스 비트 정렬이 영상-음악 합의 핵심. 어긋나면 무드가 따로 논다.
  • 시리즈는 메인 테마 1개 + 편별 variation(length/stem/tempo)으로 — 편마다 새 곡은 일관성 깨짐.
  • score_bgm은 보컬 없이 — 자막·내레이션과 보컬이 겹치면 가독성·청취성 둘 다 손해.
  • 생성 즉시 music-rights-check — rights_status pending_check인 트랙은 납품 금지.

시스템 호출

이 스킬은 다른 스킬과 다음과 같이 협력합니다.

  • narrative-weaver → 비트별 정서 곡선·audio 슬롯을 받아 mood/structure로 번역 (상위 입력).
  • editor → sync_points·cut_points 정렬, 최종 트랙을 edit_decision_list의 오디오 트랙으로 배치 (동기화 짝).
  • music-rights-check → 생성 직후 자동 호출, Category D(AI Generated, SUNO)로 라이선스 검수 (필수 후속).
  • mv-builder → 뮤직비디오의 기준 theme 트랙을 먼저 확정해 받아감 (상위 소비자).
  • post-production-spec → 확정 트랙·variation을 오디오 자산으로 최종 스펙에 포함.
  • engine-clip-spec → 엔진의 길이·스템·가사 한도 등 version-dependent 제약을 런타임 조회.
  • production-brief → 트랙 JSON과 생성 음원 파일을 납품 패키지에 동봉.

오픈크랩 컨텍스트

  • AI로 뮤직비디오 만들기 가이드 (5864f0bc-bbe5-46fd-a37e-135ea90eb8f7) — 곡·영상 동기화, 가사 매핑, Suno 활용 워크플로우. mv-builder와 공유하는 핵심 레퍼런스.
  • AI로 단편영화 만들기 가이드 (4c93ab10-d73a-42ce-920d-780487ac3b9b) — score_bgm의 장면 밑 무드 설계와 정서 곡선 연동.
  • FACS 표정연기 가이드 (80423f00-7d4c-4f19-8e12-c101f42e2a00) — 보컬/주제곡의 정서 강도를 화면 인물 표정(facs-expression)과 맞출 때 참조.
  • 시리즈 메인 테마 + variation 매트릭스가 커지면 트랙 스키마 JSON을 opencrab_ingest_text로 업로드해 후속 편에서 컨텍스트로 재로드.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.