cueframe 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: add-music-bed
3
+ description: Retrofits a music bed (and ambience or SFX) onto an existing composition — license-aware search, correct mix hierarchy, ducking under speech, cuts moved onto the beat. Triggers on "add music to this", "this video feels dead", "put a bed under it", "it needs sound", "add background music", "make the cuts hit the beat", "add some sfx", "the audio is just silence".
4
+ ---
5
+
6
+ # Add a music bed
7
+
8
+ > **Stock-audio limits (verified in production):** a Freesound import lands with
9
+ > `audioRole:"sfx"` and NO beat grid — `import_resource` takes no audioRole param, and
10
+ > `materializeGrid grid:"beat"` will 422 `grid_unavailable` on it. Set the role yourself when
11
+ > placing the clip (`audioRole:"music"` on the composition clip), put the bed on its own AUDIO
12
+ > track (the judge expects a dedicated music track), and until curated music-pack discovery
13
+ > exists, prefer fades over beat-cuts for stock beds — beat-grid cutting works with pack beds.
14
+
15
+
16
+ You point at an existing composition that sounds empty; you get it back with a licensed bed that
17
+ matches the brand's mood, sits correctly under any speech, and — where the bed drives pacing —
18
+ cuts moved onto its beat grid. Attribution included, levels disciplined, one re-render.
19
+
20
+ ## Before you start
21
+
22
+ Listen first — identify what audio the composition already has before proposing anything. When
23
+ the first tool call approaches and CueFrame isn't connected:
24
+
25
+ - **Claude Code:** offer to run
26
+ `claude mcp add --transport http cueframe https://api.cueframe.ai/v1/mcp` — browser OAuth,
27
+ one **Allow**.
28
+ - **Claude.ai / Claude Desktop:** Settings → Connectors → add a custom connector with
29
+ `https://api.cueframe.ai/v1/mcp`.
30
+ - **Other agents:** paste `set up https://cueframe.ai/skill.md`, or run
31
+ `npx -y cueframe install`.
32
+
33
+ Then back to the soundtrack — this is usually a one-sitting job.
34
+
35
+ ## Inputs
36
+
37
+ - **The composition** (required): id, or find it via `list_compositions`.
38
+ - **Mood**: the brand kit's `musicMood` is the default answer — honor it before asking. No kit
39
+ → ask for one adjective pair ("calm/driving", "warm/dark").
40
+ - **What speech exists**: check `get_media_context` on the composition's media for VO/dialogue —
41
+ it decides the whole mix shape.
42
+ - **Beat-cut permission**: moving cuts onto the beat changes timing slightly; default yes for
43
+ social pieces, ask for approved masters.
44
+
45
+ ## Workflow
46
+
47
+ 1. **Read the composition and its speech.** `list_compositions` / the composition body for
48
+ what's on the timeline; `get_media_context` for transcripts. Speech present → the voice is
49
+ the rhythm authority and the bed serves it. No speech → the bed IS the rhythm authority and
50
+ earns beat-cuts.
51
+ 2. **Find the bed, license-aware.** Beds come from the curated music packs —
52
+ `import_resource { kind:"music-pack" }` — honoring the brand kit's `musicMood` (mood and
53
+ energy matched to the cut rate). For ambience or loop textures, `search_resources
54
+ kind:"sfx"` (Freesound, CC0-only) works too. For SFX accents, the curated pack
55
+ (`import_resource { kind:"sfx-pack" }`) is the fast default. Record provider/id/author for
56
+ everything — attribution ships in the delivery note.
57
+ 3. **Place it with a role, not a volume.** `apply_composition`: add the bed as an
58
+ `audioRole:"music"` clip. The engine's default mix staging already keeps voice on top;
59
+ author `volumeDb` only to deliberately deviate. Under speech, set `duck` so the bed drops on
60
+ words and recovers between them — the voice is never fought.
61
+ 4. **Fades at the edges.** A bed that starts at full level on frame one is a jolt: fade in over
62
+ the first beat, fade/resolve out under the end card. The bed should feel like it was always
63
+ there.
64
+ 5. **Cut to the beat where the bed drives.** `materializeGrid { clipId, grid:"beat" }` on the
65
+ bed — the server lands beat markers at correct timeline times. Move cut points and
66
+ transition MIDPOINTS onto markers (start a 0.5s transition 0.25s early so its center hits
67
+ the beat). Skip this when speech is the authority — there you land accents between phrases,
68
+ on the words that matter.
69
+ 6. **Restraint is the discipline.** A few placed sounds read; a wall of them merges into mush.
70
+ The biggest moment gets the strongest accent ONCE. And silence stays a device — clean air
71
+ before the first hit, a dropout before the biggest beat, is worth more than any riser.
72
+ 7. **Verify, judge, re-render.** `preview_frame` the key beats to confirm nothing visual
73
+ regressed; `score_composition` to confirm the piece improved (worst-first if not, ≥ 7.5 to
74
+ ship); then `create_render` → `wait_job (kind:"render")` — one render, on approval.
75
+
76
+ If, after listening, the right call is NO bed — a raw testimonial, a piece whose room tone is
77
+ the point — that is a legitimate outcome of this skill: record the intentional-silence decision
78
+ and its reason in the delivery note instead of forcing a bed.
79
+
80
+ ## What good looks like
81
+
82
+ Quoted from `video-craft-standards` (cross-cutting rules — every artifact); this skill exists to
83
+ satisfy the second one:
84
+
85
+ > **MUST** Audio is decided, never defaulted: a music bed (curated packs via
86
+ > `import_resource {kind:"music-pack"}`) or ambience/loops (Freesound via
87
+ > `search_resources kind:"sfx"`), honoring the brand kit's `musicMood`; cut to the beat via
88
+ > `materializeGrid` when the bed drives pacing — OR an explicit intentional-silence decision
89
+ > recorded in your delivery note with the reason. **K:** a render whose silence nobody chose.
90
+
91
+ > **MUST** Every stock asset's provenance is recorded (provider, id, author).
92
+
93
+ And from §1: *"**SHOULD** Cuts land on the music grid when a bed exists."*
94
+
95
+ ## Delivering
96
+
97
+ The last message carries:
98
+
99
+ - The new render link and where it lives (project + composition id).
100
+ - The bed's attribution (provider, id, author, license) plus any SFX used.
101
+ - The mix decisions in one line each: role, ducking, any authored level, which cuts moved onto
102
+ the beat.
103
+ - OR the intentional-silence note with its reason, if no-bed was the right call.
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: brand-reel
3
+ description: Produces a 12–20 second 9:16 brand-identity reel — three-beat arc, bespoke cards in the brand's own type and palette, footage graded into the palette. Triggers on "brand video", "identity reel", "make our brand a video", "turn our brand into a reel", "a video that feels like us", "showcase our brand", "anthem video for our launch".
4
+ ---
5
+
6
+ # Brand reel
7
+
8
+ You bring a brand (a website, a kit, or just a logo and a palette) plus footage of its world;
9
+ you get back a 12–20 second vertical reel with a three-beat arc — wordmark moment, craft/proof
10
+ beat, tagline lockup — where every graphic could belong to this brand and no other.
11
+
12
+ ## Before you start
13
+
14
+ Talk brand first — palette, type, the one line they'd put on a poster — before any setup. When
15
+ the first tool call approaches and CueFrame isn't connected:
16
+
17
+ - **Claude Code:** offer to run
18
+ `claude mcp add --transport http cueframe https://api.cueframe.ai/v1/mcp` (browser OAuth, one
19
+ **Allow** click).
20
+ - **Claude.ai / Claude Desktop:** Settings → Connectors → add a custom connector pointing at
21
+ `https://api.cueframe.ai/v1/mcp`.
22
+ - **Other agents:** paste `set up https://cueframe.ai/skill.md`, or run
23
+ `npx -y cueframe install`.
24
+
25
+ Then pick the brand conversation back up where it paused — connection is the smallest step in
26
+ this job.
27
+
28
+ ## Inputs
29
+
30
+ - **The brand** (required): a brand kit on the project, a website to `extract_brand_kit` from,
31
+ or explicit colors + fonts + wordmark. Extraction gets colors/fonts only — ask for the tagline
32
+ and voice.
33
+ - **Footage of the brand's world** (required): product, workshop, hands, city — the craft beat
34
+ needs a real subject. Ask before defaulting to stock.
35
+ - **Tone**: default premium-calm unless the brand's voice says otherwise.
36
+
37
+ ## Workflow
38
+
39
+
40
+ 0. **Find the claim (before anything else).** Interrogate the brand/material
41
+ for its tension — what it believes that its category doesn't — and write
42
+ the claim in one sentence. Derive the shot list, the bed's mood/tempo, the
43
+ pacing, and every card's copy FROM that sentence. If you cannot state the
44
+ claim, you are not ready to compose (video-craft-standards: the
45
+ controlling idea is kill-level).
46
+
47
+ 1. **Pin the brand as engine state.** `extract_brand_kit` from their site or `create_brand_kit`
48
+ from what they gave you; set `brandKitId` on the project. Show the kit and let them override
49
+ — it is the contract every graphic resolves against. Kit contents aren't inspectable over MCP
50
+ afterward, so verify resolved colors/fonts with a `preview_frame` still, not by re-reading
51
+ the kit.
52
+ 2. **Import the world.** `import_media` their footage; `get_media_context` for what's actually
53
+ in it. Choose footage that lives in the palette — or plan a `color-grade` toward it. Footage
54
+ color and brand palette must agree.
55
+ 3. **Plan the three beats.** Opening brand moment (a wordmark treatment, not a logo dump) →
56
+ middle craft/proof beat (the subject's world plus one editorial device: a numbered chapter, a
57
+ pull-quote, a stat with a source) → closing tagline lockup. Write one line of intent per beat
58
+ before authoring.
59
+ 4. **Seed and author.** `new_composition` at 9:16 → `apply_composition` with the footage beats
60
+ and `setCropIntents` segments tiling each clip (subject-focused, motivated zooms).
61
+ 5. **Author every graphic as a bespoke card.** `kind:"card"` HTML using the brand's type and its
62
+ palette as FIELDS — plates, bands, blocks of the brand color, not tinted defaults. Persist
63
+ the card, then shell it with `applyMotionPreset` in a FOLLOWING `apply_composition` call. The
64
+ test: if another brand's hex swapped in would still look correct, the layout isn't bespoke
65
+ enough — redo it.
66
+ 6. **Decide the audio — required.** `search_resources` for a bed honoring the kit's
67
+ `musicMood`; place it `audioRole:"music"`, then `materializeGrid { grid:"beat" }` and land
68
+ the three beat boundaries on the grid. A brand reel almost always wants a bed; if the brand's
69
+ voice truly calls for silence, record that decision and the reason in the delivery note.
70
+ 7. **Preview each beat, then get judged.** `preview_frame` at t=0, each beat boundary, and the
71
+ final lockup; describe each still before scoring. `score_composition` with the brand facts as
72
+ `brandContext` and your arc as `editorialIntent`; fix the worst axis first, ship at ≥ 7.5.
73
+ 8. **One final render.** `create_render` → `wait_job (kind:"render")`.
74
+
75
+ ## What good looks like
76
+
77
+ Quoted from `video-craft-standards` §3 (Brand-identity reel) — read the full section; §1's
78
+ social-reel rules apply underneath it:
79
+
80
+ > **MUST** Three-beat arc: opening brand moment (wordmark treatment) → middle craft/proof beat
81
+ > (the subject's world, with an editorial device — numbered chapter, pull-quote, stat) → closing
82
+ > tagline lockup.
83
+
84
+ > **MUST** Every graphic is bespoke to the brand: its type, its palette as fields, its layout
85
+ > system. **K:** any layout that would look correct with another brand's hex swapped in.
86
+
87
+ > **MUST** Footage color and brand palette agree — grade toward the palette or choose footage
88
+ > that lives in it.
89
+
90
+ And the cross-cutting card rule:
91
+
92
+ > **MUST** Brand/text graphics are AUTHORED — `kind:"card"` HTML […] **K:** a brand graphic
93
+ > rendered from a catalog text primitive.
94
+
95
+ ## Delivering
96
+
97
+ The last message is the handoff, never "done":
98
+
99
+ - The render link and where it lives (project + composition id), plus the kit id the reel is
100
+ bound to — edit the kit later and a re-render re-themes the whole piece.
101
+ - Attribution for any licensed asset (provider, id, author).
102
+ - The intentional-silence note with its reason, if silence won over a bed.
103
+ - Which beat is weakest in your own judgment — the honest starting point for round two.
@@ -0,0 +1,95 @@
1
+ ---
2
+ name: clip-a-talking-head
3
+ description: Cuts a podcast, talk, or interview into shorts that open on the strongest sentence, reframe to the active speaker, and carry transcript-timed captions. Triggers on "clip this podcast", "pull the best moments out of this talk", "make shorts from this interview", "cut this down for social", "find the viral moment", "turn this recording into clips", "the good part is buried".
4
+ ---
5
+
6
+ # Clip a talking head
7
+
8
+ You point at long-form footage of people talking; you get back one or more 15–60 second clips
9
+ that each open on the strongest sentence, keep a moving camera on whoever is speaking, cut the
10
+ dead air, and caption every word from the real transcript.
11
+
12
+ ## Before you start
13
+
14
+ Get the source URL and what "best moment" means to the user before any setup ceremony. When the
15
+ first tool call is close and CueFrame isn't connected:
16
+
17
+ - **Claude Code:** offer to run
18
+ `claude mcp add --transport http cueframe https://api.cueframe.ai/v1/mcp` — browser opens,
19
+ user clicks **Allow**.
20
+ - **Claude.ai / Claude Desktop:** Settings → Connectors → add a custom connector with
21
+ `https://api.cueframe.ai/v1/mcp`.
22
+ - **Other agents:** paste `set up https://cueframe.ai/skill.md`, or run
23
+ `npx -y cueframe install`.
24
+
25
+ Then straight back to hunting the moment — setup is a footnote, not a phase.
26
+
27
+ ## Inputs
28
+
29
+ - **The recording** (required): a public https URL or existing media. Any length; the
30
+ transcript does the finding.
31
+ - **Aspect + count**: default 9:16, 2–3 clips of 20–40s. 16:9 or 1:1 on request.
32
+ - **Brand kit**: use the project's kit for caption styling and any title cards if present;
33
+ neutral otherwise.
34
+ - **What counts as "best"**: default = the most surprising, quotable claims. Ask only if they
35
+ hinted at a specific topic.
36
+
37
+ ## Workflow
38
+
39
+ 1. **Import and read.** `import_media` the recording, wait for ready, then `get_media_context`
40
+ — the transcript with word timings and the face roster (with `faceId`s and speaking share)
41
+ are your whole map. For an assisted hunt, `suggest_briefs` proposes clip candidates from the
42
+ transcript; you still own the pick.
43
+ 2. **Find the strongest sentence — it goes FIRST.** Read the transcript for the claim that
44
+ makes someone stop scrolling. The clip opens ON that sentence, mid-conversation if needed.
45
+ Never open on wind-up ("so, um, one thing I'd say is…") — cut TO the moment.
46
+ 3. **Seed the clip.** `new_composition` at the target aspect → `apply_composition` with the
47
+ clip trimmed so the hook sentence starts at t≈0. Order beats strongest-first; the payoff is
48
+ the open, the context earns its place after.
49
+ 4. **Cut the dead air.** `addExcludedRange` / `cutAndRipple` on false starts, filler, long
50
+ pauses — the transcript's word timings show you exactly where speech stops. A tight talking
51
+ clip is mostly this step.
52
+ 5. **Reframe to the speaker.** `setCropIntents` with segments tiling the clip:
53
+ `focus:{mode:"active-speaker"}` as the base, `all-faces` to hold a two-shot, a `face` +
54
+ `shotScale:"close"` punch-in on the emphasis line. A static center crop is the amateur tell;
55
+ the camera should move because the conversation moved.
56
+ 6. **Captions from the real transcript.** `captions.fromTranscript` with the mediaId and the
57
+ clip's window; style via `setCaptionStyle` — plated, high-contrast, never over the mouth or
58
+ eyes. Where the footage allows, put the emphasized keyword BEHIND the speaker as an overlay
59
+ clip at `zPlane:"behind-subject"` (the caption layer itself carries no zPlane) — the
60
+ signature depth move.
61
+ 7. **Decide the audio — required.** Speech is the spine here, but decide the rest: a subtle bed
62
+ from `search_resources` honoring the brand kit's `musicMood`, ducked under the voice — or
63
+ intentional speech-only, recorded with its reason in the delivery note. Either is fine;
64
+ defaulted silence is not.
65
+ 8. **Preview, judge, render once per clip.** `preview_frame` at t=0 and each cut; describe each
66
+ still (is the framed person the one talking? is the top of the head in frame?).
67
+ `score_composition` with the clip's claim as `editorialIntent`; fix worst-first to ≥ 7.5,
68
+ then `create_render` → `wait_job (kind:"render")`.
69
+
70
+ ## What good looks like
71
+
72
+ Quoted from `video-craft-standards` §4 (Talking-head clip) — the full checklist is the bar:
73
+
74
+ > **MUST (K)** Hook = the strongest sentence, first. Cut TO the moment; never open on wind-up.
75
+
76
+ > **MUST** Active-speaker reframe (`focus: active-speaker` / `face`) — a moving camera, not a
77
+ > static center crop.
78
+
79
+ > **MUST** Captions timed to the real transcript (`captions.fromTranscript`); behind-speaker
80
+ > placement where the footage allows it. **MUST** Dead air and false starts cut
81
+ > (`addExcludedRange` / `cutAndRipple`).
82
+
83
+ Plus the cross-cutting audio rule: *"Audio is decided, never defaulted […] **K:** a render whose
84
+ silence nobody chose."*
85
+
86
+ ## Delivering
87
+
88
+ The last message carries, per clip:
89
+
90
+ - The render link and where it lives (project + composition id), with the clip's opening
91
+ sentence quoted so the user can tell them apart.
92
+ - The speech-only / bed decision and its reason (the intentional-silence note when applicable).
93
+ - Attribution for any licensed bed (provider, id, author).
94
+ - Which moments you considered and passed on — the shortlist makes the next batch a one-line
95
+ ask.