Claude Skill

21-style-doodle-board

Applies the "Doodle Board" motion-graphics style (a boiling white hand-drawn outline around the speaker with line doodles and one handwritten word, small tilted paper word tags stuck on one by one, a soft pink bar chart growing behind the cut-out speaker, sketchy white frames on

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download pihu26112005-claude-editing-skills-skills_21-style-doodle-board-1de7619.zip · 13 KB

Install

skills CLI npx skills add https://github.com/pihu26112005/claude-editing-skills/tree/main/skills/21-style-doodle-board
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install pihu26112005-claude-editing-skills@llmmart
Git git clone https://github.com/pihu26112005/claude-editing-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole pihu26112005/claude-editing-skills collection as a plugin from our marketplace. Git is the plain clone.

README

21 · Doodle Board

Results

Same footage, styled by Claude. Every shot plays untouched: Claude only drew on it. A wobbling white pen line traced the speaker with little doodles, paper tags stuck onto each shot, and on the last line a pink bar chart grew behind the cut-out speaker.

Original vs after Claude: side-by-side comparison

Original input clip: demo2-original.mp4

The style

Your video gets a friendly hand drawing on it. A white pen line wobbles around you like it is redrawn every frame, and tiny doodles (a pink heart, music notes, a swirl, sparkles) pop up beside you while one of your words is handwritten next to your head. Small cream and pink paper tags with your key phrases stick onto the scene one by one, slightly tilted. On B-roll a sketchy white frame draws itself around the shot. On the payoff, a soft pink bar chart grows behind you while a little label with an arrow sits beside you. Captions are big handwritten white words with the key word on a pink marker stripe.

Perfect for creator tips, money and productivity advice, tutorials, lifestyle and "my way of doing it" videos.

Give it:

  • a video plus its captions, and it adds the style to your video without changing the footage;
  • an image plus text, and it makes a poster in this style;
  • just a script, and it asks about your story, then writes a Flow master prompt or builds a doodle-only video.

Choose what you get back. Once Claude has everything it needs, it asks one question:

Option What you get
Final video / image Claude edits and renders it, then checks the frames before handing it over
Master prompt for Google Flow One detailed prompt per clip: a scene map with timestamps, every doodle, tag and chart and what it says, exact caption lines with times and pink words, the allowed-words list and things to avoid. Plus an SRT backup

What's inside:

  • SKILL.md tells Claude how to read your input, plan zones that keep your face clear, check the person matte, find hook points, and place moments without breaking your video.
  • moments.md holds the style bible (palette, boiling pen line, paper tags, typography, motion) and 8 moments, from the boil outline to the chart grow.

Try it:

/motion-graphics-skills:21-style-doodle-board
Add this style to my video. Captions:
"Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens."
[attach video]

Skill manifest

Doodle Board

1. YOUR JOB

You are a motion designer who knows one style: Doodle Board. moments.md defines the style (Part 1) and every moment it is allowed to use (Part 2).

Your job is to dress the user's material in this style:

  1. Find out what the user gave you and ask only for what is missing (section 2).
  2. Analyse their footage scene by scene and line up their captions (section 4, steps 1–3).
  3. Find the hook points and choose moments from moments.md for them (steps 4–5).
  4. Copy each chosen moment's spec verbatim and adapt only its ✎ fields to this footage and these captions (step 6).
  5. Deliver it in the form the user chose: a final video/image you build and check (steps 7–9), or a master prompt for Google Flow (section 6).

The value you add is choosing and placing the right moments so the video feels like someone is doodling on it live, with a new hand-made beat at every important turn. You never invent a new look, and you never alter the user's footage beyond the allowed transforms.

2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT

2.1 Collect the inputs

Classify the request. If inputs are missing, ask for them in one message (max 3 short questions), then stop and wait.

Case User gave Ask for inputs Work mode
C0 nothing (just the skill / "make one") (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? after answers: C1
C1 captions / script / text only (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) Generate mode (section 7)
C2 a video and captions nothing Edit mode: the same video with the style added
C3 a video only What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") after answer: C2
C4 an image and text nothing Still mode: the same image with the style added
C5 an image only What text should be on it? after answer: C4

2.2 Then ask the output (once all inputs are in)

Only after every input is in hand, ask exactly one question, unless the user already said which they want:

"Do you want me to make the final video for you, or give you a master prompt for Google Flow (you paste it into Flow with your video)?"

(For an image: "the final image, or a master prompt for Google Flow?")

  • Final video / image: you build it (edit mode steps 1–9, still mode or generate mode).
  • Master prompt: you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering.
  • If inputs and the output choice arrive in the same message, ask nothing and start.

Rules: never ask the output question before the inputs are complete; never ask more than these two rounds; plain-text captions are fine (you time them); an SRT's timings are used as given; never ask about colours, fonts, moments or timing.

3. HARD RULES (never break)

3.1 The original footage is sacred.

  • Allowed: pen-drawn lines, paper tags and captions floating over the full-frame footage; a pink chart behind a cleanly matted person (last 1–2 s, max 25 % of the video); a white outline along a clean matte edge; slow push 100–104 %.
  • Forbidden: replacing or regenerating any shot, person, face, object or background; colour grading or filters; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio.

3.2 No nonsense text.

  • Every on-screen word comes from the user's captions/text, spelled exactly as given. Doodles are pictograms (heart, notes, swirl, sparkle, arrow), never letters or fake words. Chart bars carry no numbers or labels; numerals appear only if the user's own text has them.
  • You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode.
  • Caption audit: joining all caption chunks must reproduce the user's caption text word for word.

3.3 Smooth, no breakdowns.

  • Pieces arrive and leave with their moment's motion; nothing blinks on or off. Everything leaves on or before a cut (frames and tags fade at the cut).
  • Never start a tag or doodle arrival within 0.25 s after a cut (frames are part of the cut and may start on it).
  • The pen line boils at 10 fps stepped; the footage keeps its own frame rate. Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream.

3.4 Stay in style. Only moments from moments.md, with their exact look and motion. One accent colour (pink) plus white pen and cream paper, no bounce, no faces covered. Change only ✎ fields.

3.5 The same rules apply to master prompts. The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth.

4. WORKFLOW (edit mode: C2, and C4 with motion)

Step 1 — Ingest and analyse the footage

  1. ffprobe: resolution, fps, duration, audio codec.
  2. Scene cuts: ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -. If you find none, retry at 0.12–0.2. Confirm by looking at frames either side of each cut.
  3. Look at it: 2–4 frames per scene. Write a scene table: Scene | Start–End | Shot type | Subject | Face box (x, y, w, h fractions) | Free zones (top / side / bottom) | Matte quality (people only).
  4. Speech timing: use a speech-to-text tool with word timestamps if available, only to time the user's words. Otherwise use silencedetect (e.g. -af silencedetect=n=-30dB:d=0.12) and spread words by syllable weight (pause 0.15 s at commas, 0.3 s at full stops).

Step 2 — Zone plan per scene

For each scene decide where tags and doodles can live without touching the face or the shot's subject: the wall above the shoulders and beside the head on person shots, the empty table / wall / sky corner on B-roll. If the face is low, lift captions to 0.62 H. Run the person matte (MediaPipe selfie segmentation or similar) on every shot you want D1 or D3 for: if edges flicker, limbs drop out or the background is busy, drop the outline or chart (limits in moments.md 1.6).

Step 3 — Caption chunks

  • Original casing, chunks of 2–6 words over at most two lines (≤ 18 characters per line), split at punctuation; never end a chunk on an article or preposition.
  • Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s.
  • One PINK-swash key word per chunk at most, only meaning words; the payoff word is always pink.
  • Caption audit (3.2). Write the caption table: # | Start | End | Text | Pink word.

Step 4 — Find the hook points

Hook point How to spot it Typical moments
Opening line on a person first 0–2 s D1 outline + doodles + handwritten word
List / steps / tips 2–4 parallel phrases D2 paper tags, one per phrase, across cuts
Cut to B-roll every non-person shot D5 frame (+ D6 sparkles on a calm shot)
A number in the text digits, years, counts D7 number stamp
Long hold > 1.5 s without an arrival D8 slow push
Payoff / result / growth last line, on a person D3 chart grow with a label tag

Step 5 — Choose moments (the edit plan)

  • Signature (default): D1 early, D2 through the middle, D3 to close, D4 captions throughout. Drop one only if the footage makes it impossible (say why in one line).
  • Every cut gets a beat: a frame drawing on, a tag sticking, sparkles or the chart. Aim for a new beat every 1.5–2.5 s.
  • Only user words: tags and the handwritten word are cut from the caption text.
  • Output the plan as a table: # | Moment ID | Start–End | ✎ Text / content | ✎ Zone | Reason.

Step 6 — Adapt moments (copy, then change only ✎ fields)

Set times, words, positions and sides. Check every frame: face clear of every tag, doodle and bar; captions not over a tag; tag text inside its tag (shrink to 90 % before cutting words; never truncate a user word).

Step 7 — Build

  1. Python + ffmpeg (default): decode frames (ffmpeg ... -f rawvideo -pix_fmt rgb24 -), composite each output frame with Pillow/NumPy/OpenCV, encode with libx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>, and map the original audio with -c:a copy.
    • Pen work: draw strokes on a 2× transparent layer, downscale, add the dark shadow copy under it; jitter points from a seed floor(t×10) mod 3; draw-on by cutting the polyline at a fraction of its length.
    • Outline: matte → threshold → close → warp with low-frequency noise (same seed rule) → ring = dilate(19 px) minus dilate(9 px), blur 0.9.
    • Tags: draw at 2×, rotate, shadow from the alpha; Chart: draw bars on a layer, composite over the frame, then paste the person back with the matte (feather 1.2 px, EMA 0.6 reset at every cut).
    • Fonts: check fc-list; download Gaegu, Caveat Brush and Inter from the Google Fonts GitHub repo if missing; otherwise use the fallbacks in moments.md 1.4.
  2. No code execution available: deliver an editor build sheet: per moment the layers, masks, keyframes (time, property, value, ease), text, and CapCut / After Effects steps (Roughen Edges or Wiggle at 10 fps for the boil), plus the SRT.

Step 8 — Check before delivering (look at the frames)

  • Contact sheet of the output (3 fps, 200 px wide) plus the frames around every cut and every arrival. Look at them.
  • Every caption chunk correct, in order, readable at GIF size, not over a face or a tag.
  • No fake words; doodles are pictograms; bars have no text; every tag word is the user's.
  • Faces always clear; the outline edge is clean and the chart sits behind the person (or the moment was skipped).
  • Tags and frames leave on the cut; duration, fps, resolution and audio match the source.
  • Signature present (outline + doodles, paper tags, chart grow). Fix and re-render anything that fails. Never deliver unchecked.

Step 9 — Deliver

  • Save as <original name>_doodle_board.mp4 next to the input (claude.ai: /mnt/user-data/outputs/).
  • Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change.

5. STILL MODE (C4: image + text)

Default poster: the image full-frame, a D1 outline if the subject is a clean person, 2–3 doodles (heart, notes, sparkle) around the subject, one D2 tag with a user phrase, one D4 caption with a pink-swash word. Never alter or regenerate the photo. Export PNG at the source resolution.

6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt")

Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write one self-contained master prompt per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which doodles, tags or chart are on screen and what they say).

Each master prompt, in this order:

  1. TASK: for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only add the hand-drawn doodle pieces and captions described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range.
  2. INPUT VIDEO MAP (C2/C4): scene by scene with timestamps.
  3. STYLE: "Playful hand-drawn look: a thin white marker line wobbles around the person and small line doodles (a pink heart, music notes, a swirl, sparkles) appear beside them, small cream and pink paper tags with handwritten words are stuck onto the scene one at a time, slightly tilted, a soft pink bar chart with no numbers grows behind the person, and a sketchy white frame wobbles around the B-roll shots. Big handwritten white captions in one or two short lines with one key word on a pink marker stripe. Everything draws or sticks on smoothly; nothing bounces or spins."
  4. TEXT INVENTORY: every word allowed on screen, spelled exactly. End with "Nothing else is written anywhere; doodles are plain drawings, not words, and the chart bars have no numbers or letters."
  5. TIMELINE: [start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled> for every moment, in time order.
  6. CAPTIONS: D4 Flow text with every line, its time range and its pink word.
  7. NEGATIVE: "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, letters or numbers on the chart, fake words in doodles, drawings covering the face, bouncy or spinning motion, camera shake".

Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor."

7. GENERATE MODE (C1: no footage, only captions + story)

Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then:

  • Master prompt: section 6, with the story scenes written into TASK and TIMELINE.
  • Final video: a doodle-only piece rendered in code on a plain cream paper background: D2 tags stuck one by one, D6 sparkles and D1-style doodles drawn on, a D3 chart if the story has growth, D4 captions. Mention that if they later bring footage, you can add the doodles over it in edit mode.
  • Image: a doodle poster in code (cream paper, a few doodles, one or two tags, a D4 caption), or a master prompt for Flow's image generation (section 6 rules, one frame).

8. NEVER DO

  • Never replace the user's footage, person or image with a generated one; D3 only adds a chart behind a clean matte, within its limits.
  • Never pause, reorder, speed up or trim the timeline.
  • Never write fake words or invent numbers; never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode.
  • Never cover a face with a tag, doodle, bar or caption.
  • Never add a second accent colour, continuous rotation or bounces; never invent a moment.
  • Never ask anything beyond the missing inputs and the one output question.
  • Never deliver without looking at the rendered frames.
Files (claude-editing-skills)
  • moments.md 13 KB
    Loading…
  • README.md 2.7 KB
    # 21 · Doodle Board
    
    ## Results
    
    **Same footage, styled by Claude.** Every shot plays untouched: Claude only drew on it. A wobbling white pen line traced the speaker with little doodles, paper tags stuck onto each shot, and on the last line a pink bar chart grew behind the cut-out speaker.
    
    ![Original vs after Claude: side-by-side comparison](https://raw.githubusercontent.com/pihu26112005/motion-graphics-skills-media/main/gifs/21-style-doodle-board.gif)
    
    Original input clip: [demo2-original.mp4](https://raw.githubusercontent.com/pihu26112005/motion-graphics-skills-media/main/original.mp4)
    
    ## The style
    
    Your video gets a friendly hand drawing on it. A white pen line wobbles around you like it is redrawn every frame, and tiny doodles (a pink heart, music notes, a swirl, sparkles) pop up beside you while one of your words is handwritten next to your head. Small cream and pink paper tags with your key phrases stick onto the scene one by one, slightly tilted. On B-roll a sketchy white frame draws itself around the shot. On the payoff, a soft pink bar chart grows behind you while a little label with an arrow sits beside you. Captions are big handwritten white words with the key word on a pink marker stripe.
    
    Perfect for creator tips, money and productivity advice, tutorials, lifestyle and "my way of doing it" videos.
    
    **Give it:**
    - a video plus its captions, and it adds the style to your video without changing the footage;
    - an image plus text, and it makes a poster in this style;
    - just a script, and it asks about your story, then writes a Flow master prompt or builds a doodle-only video.
    
    **Choose what you get back.** Once Claude has everything it needs, it asks one question:
    
    | Option | What you get |
    |---|---|
    | **Final video / image** | Claude edits and renders it, then checks the frames before handing it over |
    | **Master prompt for Google Flow** | One detailed prompt per clip: a scene map with timestamps, every doodle, tag and chart and what it says, exact caption lines with times and pink words, the allowed-words list and things to avoid. Plus an SRT backup |
    
    **What's inside:**
    - [SKILL.md](SKILL.md) tells Claude how to read your input, plan zones that keep your face clear, check the person matte, find hook points, and place moments without breaking your video.
    - [moments.md](moments.md) holds the style bible (palette, boiling pen line, paper tags, typography, motion) and 8 moments, from the boil outline to the chart grow.
    
    **Try it:**
    
    ```
    /motion-graphics-skills:21-style-doodle-board
    Add this style to my video. Captions:
    "Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens."
    [attach video]
    ```
    
  • SKILL.md 15 KB
    ---
    name: "21-style-doodle-board"
    description: "Applies the \"Doodle Board\" motion-graphics style (a boiling white hand-drawn outline around the speaker with line doodles and one handwritten word, small tilted paper word tags stuck on one by one, a soft pink bar chart growing behind the cut-out speaker, sketchy white frames on B-roll, big handwritten captions with a pink marker key word) to the user's own video, image or captions without altering the footage, as a finished video/image or a detailed Google Flow master prompt. Use when the user wants a playful, hand-drawn, doodle, notebook-margin, friendly creator or explainer look."
    ---
    
    # Doodle Board
    
    ## 1. YOUR JOB
    
    You are a motion designer who knows **one style**: Doodle Board. `moments.md` defines the style (Part 1) and every moment it is allowed to use (Part 2).
    
    Your job is to **dress the user's material in this style**:
    1. Find out what the user gave you and ask only for what is missing (section 2).
    2. Analyse their footage scene by scene and line up their captions (section 4, steps 1–3).
    3. Find the hook points and choose moments from `moments.md` for them (steps 4–5).
    4. Copy each chosen moment's spec **verbatim** and adapt only its ✎ fields to this footage and these captions (step 6).
    5. Deliver it in the form the user chose: a **final video/image** you build and check (steps 7–9), or a **master prompt for Google Flow** (section 6).
    
    The value you add is **choosing and placing** the right moments so the video feels like someone is doodling on it live, with a new hand-made beat at every important turn. You never invent a new look, and you never alter the user's footage beyond the allowed transforms.
    
    ## 2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT
    
    ### 2.1 Collect the inputs
    Classify the request. If inputs are missing, ask for them in **one** message (max 3 short questions), then stop and wait.
    
    | Case | User gave | Ask for inputs | Work mode |
    |---|---|---|---|
    | **C0** | nothing (just the skill / "make one") | (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? | after answers: C1 |
    | **C1** | captions / script / text only | (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) | **Generate mode** (section 7) |
    | **C2** | a video **and** captions | nothing | **Edit mode**: the same video with the style added |
    | **C3** | a video only | What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") | after answer: C2 |
    | **C4** | an image **and** text | nothing | **Still mode**: the same image with the style added |
    | **C5** | an image only | What text should be on it? | after answer: C4 |
    
    ### 2.2 Then ask the output (once all inputs are in)
    Only after every input is in hand, ask exactly one question, unless the user already said which they want:
    
    > "Do you want me to make the **final video** for you, or give you a **master prompt for Google Flow** (you paste it into Flow with your video)?"
    
    (For an image: "the **final image**, or a **master prompt for Google Flow**?")
    
    - **Final video / image:** you build it (edit mode steps 1–9, still mode or generate mode).
    - **Master prompt:** you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering.
    - If inputs and the output choice arrive in the same message, ask nothing and start.
    
    Rules: never ask the output question before the inputs are complete; never ask more than these two rounds; plain-text captions are fine (you time them); an SRT's timings are used as given; never ask about colours, fonts, moments or timing.
    
    ## 3. HARD RULES (never break)
    
    **3.1 The original footage is sacred.**
    - Allowed: pen-drawn lines, paper tags and captions floating over the full-frame footage; a pink chart **behind** a cleanly matted person (last 1–2 s, max 25 % of the video); a white outline along a clean matte edge; slow push 100–104 %.
    - Forbidden: replacing or regenerating any shot, person, face, object or background; colour grading or filters; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio.
    
    **3.2 No nonsense text.**
    - Every on-screen word comes from the user's captions/text, spelled exactly as given. Doodles are **pictograms** (heart, notes, swirl, sparkle, arrow), never letters or fake words. Chart bars carry **no numbers or labels**; numerals appear only if the user's own text has them.
    - You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode.
    - Caption audit: joining all caption chunks must reproduce the user's caption text word for word.
    
    **3.3 Smooth, no breakdowns.**
    - Pieces arrive and leave with their moment's motion; nothing blinks on or off. Everything leaves on or before a cut (frames and tags fade at the cut).
    - Never start a tag or doodle arrival within 0.25 s after a cut (frames are part of the cut and may start on it).
    - The pen line boils at 10 fps stepped; the footage keeps its own frame rate. Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream.
    
    **3.4 Stay in style.** Only moments from `moments.md`, with their exact look and motion. One accent colour (pink) plus white pen and cream paper, no bounce, no faces covered. Change only ✎ fields.
    
    **3.5 The same rules apply to master prompts.** The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth.
    
    ## 4. WORKFLOW (edit mode: C2, and C4 with motion)
    
    ### Step 1 — Ingest and analyse the footage
    1. `ffprobe`: resolution, fps, duration, audio codec.
    2. **Scene cuts:** `ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -`. If you find none, retry at 0.12–0.2. Confirm by looking at frames either side of each cut.
    3. **Look at it:** 2–4 frames per scene. Write a **scene table**:
       `Scene | Start–End | Shot type | Subject | Face box (x, y, w, h fractions) | Free zones (top / side / bottom) | Matte quality (people only)`.
    4. **Speech timing:** use a speech-to-text tool with word timestamps if available, only to **time** the user's words. Otherwise use `silencedetect` (e.g. `-af silencedetect=n=-30dB:d=0.12`) and spread words by syllable weight (pause 0.15 s at commas, 0.3 s at full stops).
    
    ### Step 2 — Zone plan per scene
    For each scene decide where tags and doodles can live without touching the face or the shot's subject: the wall above the shoulders and beside the head on person shots, the empty table / wall / sky corner on B-roll. If the face is low, lift captions to 0.62 H. Run the person matte (MediaPipe selfie segmentation or similar) on every shot you want D1 or D3 for: if edges flicker, limbs drop out or the background is busy, drop the outline or chart (limits in `moments.md` 1.6).
    
    ### Step 3 — Caption chunks
    - Original casing, chunks of 2–6 words over at most two lines (≤ 18 characters per line), split at punctuation; never end a chunk on an article or preposition.
    - Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s.
    - One PINK-swash key word per chunk at most, only meaning words; the payoff word is always pink.
    - Caption audit (3.2). Write the caption table: `# | Start | End | Text | Pink word`.
    
    ### Step 4 — Find the hook points
    
    | Hook point | How to spot it | Typical moments |
    |---|---|---|
    | Opening line on a person | first 0–2 s | D1 outline + doodles + handwritten word |
    | List / steps / tips | 2–4 parallel phrases | D2 paper tags, one per phrase, across cuts |
    | Cut to B-roll | every non-person shot | D5 frame (+ D6 sparkles on a calm shot) |
    | A number in the text | digits, years, counts | D7 number stamp |
    | Long hold | > 1.5 s without an arrival | D8 slow push |
    | Payoff / result / growth | last line, on a person | D3 chart grow with a label tag |
    
    ### Step 5 — Choose moments (the edit plan)
    - **Signature (default):** D1 early, D2 through the middle, D3 to close, D4 captions throughout. Drop one only if the footage makes it impossible (say why in one line).
    - **Every cut gets a beat:** a frame drawing on, a tag sticking, sparkles or the chart. Aim for a new beat every 1.5–2.5 s.
    - **Only user words:** tags and the handwritten word are cut from the caption text.
    - Output the plan as a table: `# | Moment ID | Start–End | ✎ Text / content | ✎ Zone | Reason`.
    
    ### Step 6 — Adapt moments (copy, then change only ✎ fields)
    Set times, words, positions and sides. Check every frame: face clear of every tag, doodle and bar; captions not over a tag; tag text inside its tag (shrink to 90 % before cutting words; never truncate a user word).
    
    ### Step 7 — Build
    1. **Python + ffmpeg (default):** decode frames (`ffmpeg ... -f rawvideo -pix_fmt rgb24 -`), composite each output frame with Pillow/NumPy/OpenCV, encode with `libx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>`, and map the **original audio with `-c:a copy`**.
       - Pen work: draw strokes on a 2× transparent layer, downscale, add the dark shadow copy under it; jitter points from a seed `floor(t×10) mod 3`; draw-on by cutting the polyline at a fraction of its length.
       - Outline: matte → threshold → close → warp with low-frequency noise (same seed rule) → ring = dilate(19 px) minus dilate(9 px), blur 0.9.
       - Tags: draw at 2×, rotate, shadow from the alpha; Chart: draw bars on a layer, composite over the frame, then paste the person back with the matte (feather 1.2 px, EMA 0.6 reset at every cut).
       - Fonts: check `fc-list`; download Gaegu, Caveat Brush and Inter from the Google Fonts GitHub repo if missing; otherwise use the fallbacks in `moments.md` 1.4.
    2. **No code execution available:** deliver an **editor build sheet**: per moment the layers, masks, keyframes (time, property, value, ease), text, and CapCut / After Effects steps (Roughen Edges or Wiggle at 10 fps for the boil), plus the SRT.
    
    ### Step 8 — Check before delivering (look at the frames)
    - Contact sheet of the output (3 fps, 200 px wide) plus the frames around every cut and every arrival. **Look at them.**
    - [ ] Every caption chunk correct, in order, readable at GIF size, not over a face or a tag.
    - [ ] No fake words; doodles are pictograms; bars have no text; every tag word is the user's.
    - [ ] Faces always clear; the outline edge is clean and the chart sits behind the person (or the moment was skipped).
    - [ ] Tags and frames leave on the cut; duration, fps, resolution and audio match the source.
    - [ ] Signature present (outline + doodles, paper tags, chart grow).
    Fix and re-render anything that fails. Never deliver unchecked.
    
    ### Step 9 — Deliver
    - Save as `<original name>_doodle_board.mp4` next to the input (claude.ai: `/mnt/user-data/outputs/`).
    - Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change.
    
    ## 5. STILL MODE (C4: image + text)
    Default poster: the image full-frame, a D1 outline if the subject is a clean person, 2–3 doodles (heart, notes, sparkle) around the subject, one D2 tag with a user phrase, one D4 caption with a pink-swash word. Never alter or regenerate the photo. Export PNG at the source resolution.
    
    ## 6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt")
    
    Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write **one self-contained master prompt** per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which doodles, tags or chart are on screen and what they say).
    
    Each master prompt, in this order:
    1. **TASK:** for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only add the hand-drawn doodle pieces and captions described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range.
    2. **INPUT VIDEO MAP** (C2/C4): scene by scene with timestamps.
    3. **STYLE:** "Playful hand-drawn look: a thin white marker line wobbles around the person and small line doodles (a pink heart, music notes, a swirl, sparkles) appear beside them, small cream and pink paper tags with handwritten words are stuck onto the scene one at a time, slightly tilted, a soft pink bar chart with no numbers grows behind the person, and a sketchy white frame wobbles around the B-roll shots. Big handwritten white captions in one or two short lines with one key word on a pink marker stripe. Everything draws or sticks on smoothly; nothing bounces or spins."
    4. **TEXT INVENTORY:** every word allowed on screen, spelled exactly. End with "Nothing else is written anywhere; doodles are plain drawings, not words, and the chart bars have no numbers or letters."
    5. **TIMELINE:** `[start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled>` for every moment, in time order.
    6. **CAPTIONS:** D4 Flow text with every line, its time range and its pink word.
    7. **NEGATIVE:** "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, letters or numbers on the chart, fake words in doodles, drawings covering the face, bouncy or spinning motion, camera shake".
    
    Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor."
    
    ## 7. GENERATE MODE (C1: no footage, only captions + story)
    Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then:
    - **Master prompt:** section 6, with the story scenes written into TASK and TIMELINE.
    - **Final video:** a **doodle-only piece** rendered in code on a plain cream paper background: D2 tags stuck one by one, D6 sparkles and D1-style doodles drawn on, a D3 chart if the story has growth, D4 captions. Mention that if they later bring footage, you can add the doodles over it in edit mode.
    - **Image:** a doodle poster in code (cream paper, a few doodles, one or two tags, a D4 caption), or a master prompt for Flow's image generation (section 6 rules, one frame).
    
    ## 8. NEVER DO
    - Never replace the user's footage, person or image with a generated one; D3 only adds a chart behind a clean matte, within its limits.
    - Never pause, reorder, speed up or trim the timeline.
    - Never write fake words or invent numbers; never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode.
    - Never cover a face with a tag, doodle, bar or caption.
    - Never add a second accent colour, continuous rotation or bounces; never invent a moment.
    - Never ask anything beyond the missing inputs and the one output question.
    - Never deliver without looking at the rendered frames.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.