Use when someone wants the "this is your sign to make an introduction video" freeze-frame intro made from their own clip: the video freezes on them, the room turns into a styled card, and hand-drawn notes with arrows describe them. Triggers on /main-character, "freeze-frame intro", "this is your sign to make an introduction video", "main character intro", "character intro edit", or a dropped clip of the person together with a request for that edit. Also triggers on Portuguese requests such as "edita minha intro estilo main character", "faz aquela intro que congela". Editing only: it interviews the person, writes the notes, opens a local studio and renders the clip in its own format (16:9 stays 16:9, 9:16 stays 9:16). NOT for other video edits (captions, cuts, color grades, multicam, b-roll), for making footage, or for posting.
The person brings one short clip of themselves looking into the camera. You check the setup, interview them, write
the notes, check the card, and open a local studio where they edit, pick a style and render. In the reel, the
clip freezes on them, the room turns into a styled card, hand-drawn notes with arrows describe them, and the
video lets go again. The video keeps the clip's own sound, which is silent while the card is up. The skill only
edits: it never makes footage, ships music or posts.
How to work
<skill dir> is the folder that holds this SKILL.md (Claude Code names it as the skill's base directory).
Commands look like python "<skill dir>/scripts/mc.py" card "<project>". Where python is missing (common on
macOS), use python3.
<project> is the folder init prints on its PROJECT line: ./main-character/<clip name> in the working
folder by default. Quote every path; paths can hold spaces and accents.
Output lines start with a word, such as PROJECT, WARNING or URL. A failure prints ERROR <sentence> and
exits non-zero: say the sentence in plain words, fix what it names, and run the command again.
init, serve and wait run in the background (Bash run_in_background). When one exits, its output wakes
you. Don't poll.
Every change to project.json goes through patch. Never edit the file by hand, and never patch clip
or status.
Write a JSON merge patch with your Write tool to <project>/patch.json, so nothing goes through shell
quoting. Objects merge, a key set to null is deleted, and any other value replaces what was there.
Run python "<skill dir>/scripts/mc.py" patch "<project>" --file "<project>/patch.json". It validates and
saves, then prints a WARNING <sentence> line per warning and CONTRAST <x.x>. On ERROR, nothing was
saved: fix the patch and run it again. It is safe while the studio is open: the server reads the file
fresh on every request.
Talk to the person in their language. The on-screen copy is in English unless they ask for another language.
If the person's own instructions (their CLAUDE.md) add review gates, such as a storyboard before any edit or a
go-ahead word before the final render, follow them on top of these steps.
1. Check the setup
Run python "<skill dir>/scripts/mc.py" doctor. It prints one line per item and, when something is missing, the
commands that fix it under "To fix:" (exit code 1). Ask before each install or download, and run it only after a
yes:
Packages:python -m pip install numpy pillow onnxruntime, about 30 to 60 MB from PyPI (Pillow must be
9.1 or newer). If pip refuses with "externally-managed-environment" (Homebrew Python on macOS), offer a
virtual environment: python3 -m venv ~/.main-character/venv, then use its bin/python in every command.
ffmpeg and ffprobe: the install line the doctor prints (winget's Gyan.FFmpeg on Windows, Homebrew's
ffmpeg on macOS), often 100 MB or more. Claude Code may need a restart to find them on the PATH.
What ffmpeg can do: an iPhone shoots HDR by default, so the doctor also checks HDR clips (zscale, or
ffmpeg 8 or newer) and libx264. When one says it can't, its "To fix:" line names the build to install: the
full build on Windows; on a Mac, ffmpeg 8 or newer, or brew install ffmpeg-full with its bin folder first
on the PATH.
The matte model: ask "The cutout needs the Robust Video Matting model: about 15 MB, from the official RVM
release on GitHub (PeterL1n/RobustVideoMatting, v1.0.0), saved to ~/.cache/rvm. OK to download it?" After a
yes: python "<skill dir>/scripts/mc.py" doctor --download-model. The download is checked against the official
file's SHA-256. If it says Python couldn't check the certificate (Python from python.org on a Mac), have them run
"Install Certificates.command" in the Python folder, then run the command again. After a no, stop: nothing can be
cut out without it.
Fonts missing: the folder was copied incompletely. Ask them to copy the whole skill folder again.
No Python at all: the doctor can't run. Ask them to install Python 3.10 or newer from python.org (on
Windows, with "Add python.exe to PATH" ticked).
Run the doctor again until it ends with "Everything is ready."
2. No clip? Show the shooting guide and stop
A clip is one video file, 2 to 30 seconds long, with one person in it: a path in the message or a file they
dropped. Without one, send this guide and stop:
Record one shot.
Hold a deadpan stare for two seconds, then carry on naturally.
End with: "Run /main-character again with your best take."
3. The interview
If main-character/<clip name>/project.json already exists in the working folder, this clip was started before.
Ask whether to reopen it (run step 4, which keeps their lines, then go to step 7) or to write new lines.
Send the five questions in one message, word for word, with the closing line:
What do you do? One line, the way you'd say it to someone at a party.
What's your "but…"? An honest confession, a flaw, or a funny contradiction. This is the line that gets the laugh.
One oddly specific detail that's only yours: a number, a habit, an object. "4 coffees before 9am" beats "loves coffee".
Your @ handle, and the name you'd like on screen.
The tone: laughing at yourself, confident, chaotic, mysterious, or something else?
Stuck on any of these? Say 'give me options'.
Someone writing in another language gets the same five questions, faithfully translated.
Start step 4 in the background in the same turn, so the cutout runs while they type.
On "give me options": offer three or four options for that question, built from what you know about them.
They stay options: nothing is true until the person picks or confirms it.
An answer missing: ask once more for just that one, or offer options.
4. Make the project
Run python "<skill dir>/scripts/mc.py" init "<clip>". It cuts the frames, cuts the person out of every frame
with RVM (a minute or more), and suggests freeze frames. It prints:
PROJECT <folder>: this is <project>.
WARNING <sentence>: tell the person in plain words ("I couldn't find you in most frames. Right clip?").
FREEZE <frame> SUGGESTED <frames>: the freeze frame, then the suggested frames, best first (for step 6).
The video keeps the clip's own format and resolution: 16:9 stays 16:9 and 9:16 stays 9:16, full frame, with no
bars and no title. A clip under 1080 wide is scaled up to 1080, and the render says so in a note. Common errors: a
clip outside 2 to 30 seconds (ask them to trim it), a photo instead of a video (ask for a clip), a missing model
or a missing ffmpeg (back to step 1), an HDR clip that this ffmpeg can't convert (the sentence says what to do).
5. Write the copy
Write versions A, B and C: three different jokes in the person's tone, not three rewordings. A version is the four
notes, the name and the extras. The video has no title: the person adds any text in Instagram or TikTok. Run
this checklist on each version before anyone sees it:
Top left (tl) says what they do, in their own words.
Bottom left (bl) starts with "But" and is the joke: true, specific, about 34 characters at most.
Bottom right (br) is the oddly specific detail, about 30 characters at most.
Top right (tr) is the handle.
The phrasing is subjectless, so no pronouns: "But overthinks every 6-second reel".
Nothing is stated as true that the person didn't say or confirm. Anything you added is offered as an option.
Nothing generic that could belong to anyone ("passionate creator who loves making content").
The extras, in every version: the burst word (the name on screen by default; keep it short), an emphasis
word taken from the "but…" line, and three stats in game language as [label, 0 to 10] with short labels.
The confession becomes the funny stat (["Overthinking", 10]). extras.bubble (a few words, 14 characters at
most) is for the Speech bubble extra only; leave it null unless the person turned that extra on.
Natural case (each notes style applies its own capitals), no emojis, and within the soft limits: tl 30,
tr 24, bl 34, br 30 and name 16.
The on-screen copy uses the Latin alphabet. Accents are fine where the font has them, and card's FLAG
lines tell you where it doesn't: Arabic, Chinese and Hebrew are in no font, Cyrillic and Greek in only a
few, and symbols such as stars are mostly missing. patch warns with the characters and the font
("has characters the Marker font can't draw"), and card flags the note cut.
Pick the built-in style that fits the person (see "Style recipes"). Bedroom Pop, the trend's own look, is the
fallback. Comic Pop suits loud, confident or chaotic; Scrapbook, crafty and warm; Player Select, gamers and tech.
Write it all in one patch: versions (A, B and C), copy (the same as A), picked "A", style (the whole
recipe) and style_source (its id). The studio does not show the versions: the person picks one in the chat
(step 7), and you put it in copy with patch. One version looks like this:
{"notes": {"tl": "<what they do>", "tr": "<@handle>", "bl": "But <the confession>", "br": "<the detail>"},
"name": "<name on screen>",
"extras": {"burst": "<burst word>", "emphasis": "<a word of the bl line>",
"stats": [["<label>", 9], ["<label>", 10], ["<label>", 2]]}}
Shorten any line that a soft-limit WARNING names. Then save the five answers, in the person's words, to
<project>/interview.md with Write.
6. Check the card before the person sees it
Run python "<skill dir>/scripts/mc.py" card "<project>".
It draws the card on the freeze frame and prints the path of <project>/card.png. The card is the plan size,
1080 wide and as tall as the clip's shape makes it: 1080x608 for 16:9, 1080x1920 for 9:16.
It prints a FLAG <key> cut or FLAG <key> clash line for each note that doesn't fit:
cut: its text didn't fit at the 36 px minimum, or has a character its font can't draw;
clash: it touches the face, overlaps another note or sits too close to one (notes keep a gap between
them). On a 9:16 card it also means what Instagram covers: the top, where the person adds the title, the
caption at the bottom and the buttons at the right.
Look at the card whole, then at 1:1 crops of the hair, the edge of the face and the hands. Those are 480x480 crops,
so x goes up to 600 and y up to H−480, where H is the card's height:
ffmpeg -v error -y -i "<project>/card.png" -vf "crop=480:480:<x>:<y>" "<project>/check-1.png"
A FLAG line, or a note on the face. Shorten that note: patch it, then run card again. Never use a smaller
font; notes are never drawn under 36 px. In the studio the person can also drag it. A cut that shortening
doesn't fix is a character the font can't draw: write the line again with letters the font has.
A FLAG <key> clash that shorter copy can't fix, because the note has no room in its corner, is fixed by
moving the note. Look at the card, pick a free spot, patch {"positions": {"<key>": [x, y]}} (the box's top-left
in card pixels), and run card again. Never put a note on the face. <key> is tl, tr, bl, br or
burst: any other key is refused.
NOTE The Game HUD has no room here; pick another hero if it covers something. The Game HUD's two labels
have no FLAG line, because nothing can pin them. Look at the card: if a label covers the face or a note, tell
the person and offer another hero (patch the style's hero to none, burst or stats).
The cutout edge is wrong at 1:1 (a halo, chewed hair or fingers, holes, background pulled in).
A thin light rim alone: patch {"matte": {"edge": -1}} first, going down to -2.
Otherwise re-cut the frames around the freeze at a higher detail:
python "<skill dir>/scripts/mc.py" refine "<project>" --detail high. Run card and look again. Run
refine only while no studio render is running: renders lock each other out, but refine has no lock yet.
Still wrong: the same with --detail max.
Still wrong: patch {"freeze": {"frame": <the next SUGGESTED frame>}}, run card, and tell the person why in
one line.
7. Open the studio, start the waiter, and stop
Run python "<skill dir>/scripts/mc.py" serve "<project>" in the background, unless it already runs. It
prints URL http://127.0.0.1:<port>/ and serves until stopped.
Run python "<skill dir>/scripts/mc.py" wait "<project>" in the background, before the person has the URL,
so no click is missed. It exits on the next event: STYLE <stamp> (step 8) or DONE <stamp> (step 9).
Show the person the three jokes, as versions A, B and C with all four notes of each, and ask which one they
want: A, B or C, or a mix of lines. Then stop: end your turn. Don't poll.
When they answer, put their pick in the live copy with patch: copy is the chosen version (all of it, with
a null for each extra the version doesn't have, so nothing of the earlier copy stays) and picked is its
letter. A mix of lines is a patch of just those lines. Run card again if the lines changed.
Give the person the URL and how the studio works: edit any line; pick a style or build one, or describe one
and press "Ask Claude"; drag a note to move it; the Timing tab has the Original sound switch, which mutes the
clip's own sound; press Render when it looks right. Then stop again.
A change the person asks for in the chat goes through patch; then ask them to reload the page.
8. On STYLE: answer "Ask Claude"
Read style_request.text in <project>/project.json. If style_request is gone or already answered when you
read it, skip it and run wait again with --since "<the STYLE stamp>" (the person cancelled, or the event is
old). If style_request.image is set, look at that image (a file in <project>/refs/).
Write the whole recipe to <project>/style.json with your Write tool, then run
python "<skill dir>/scripts/mc.py" style "<project>" --file "<project>/style.json" --answers "<the STYLE stamp>".
For example:
Use only the ids of "Style recipes". hero holds one id, so there is never more than one hero.
style validates the recipe and prints CONTRAST <x.x>.
It refuses a recipe under 3.0 with ERROR. Change the colors your notes style is measured on and run it
again.
On success it saves the recipe as the custom style and marks the request answered. The waiting page
refreshes by itself.
--answers is the stamp wait printed on its STYLE line. The request is marked answered only if it is
still that one: if the person asked again or cancelled while you worked, the style is saved all the same and
it prints NOTE The request changed; the page shows the newest one. The next wait brings the new request.
For a look the layers can't make (a cinematic grade, 3D lettering), get as close as the options allow and say
what differs. Every style keeps the sticker cutout and the playful notes.
Run card and look. If the new style flags a note, tell the person and offer a shorter line. Don't rewrite
their lines unasked.
Explain the picks in the chat: one line per layer (background, edge, notes, arrows, hero, extras), and one for
the colors with their contrast.
Run python "<skill dir>/scripts/mc.py" wait "<project>" --since "<the STYLE stamp>" in the background, then
stop.
9. On DONE: check the render
status.outputs in project.json lists the file inside <project>: renders/<clip>-main-character.mp4.
Look at three stills of the video. The render records its own moments, in seconds, as status.freeze_out and
status.release_out. Take:
the freeze, at freeze_out + 0.3;
the middle of the hold;
the release, at release_out + 0.3 (or the last frame, when the video ends at the release).
the edge is clean at 1:1. The stills are at the video's own resolution, the clip's, not the card's 1080, so
crop as in step 6 with x up to W−480 and y up to H−480, where W and H are the still's width and height
(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "<video>" prints
them);
the release catches the smile starting.
Offer at most two tweaks, each with its setting and value (see "Settings"). Patch only after a yes, then ask
them to reload and press Render again. If the studio is closed, run
python "<skill dir>/scripts/mc.py" render "<project>" yourself. If it says another render is
running, one is going in the studio: wait for it, and run yours after.
Tell them where the video is, and that it keeps the clip's own sound (silent over the card, back in
step when the video lets go; Original sound in the Timing tab mutes it) and has no title or music: they add
any text and any music they like in Instagram or TikTok. Tell them the second the freeze lands
(status.freeze_out, for example "the freeze lands at 3.08 s"), so they can line their music up with it.
If the studio is still open, run wait again with --since "<the DONE stamp>" in the background. When they
are finished, stop the serve and wait background tasks.
Style recipes
A recipe has an id and a name (text), one id per layer, the little extras and a palette. Every key is
required except the eleven newer extras (see below), and the ids are exact:
Layer
Ids, with the studio's labels
bg
dots Duotone + dots, comic Comic print, riso Riso on paper, night Night scanlines, flat Flat color, mono Black & white
edge
handcut Hand-cut sticker, comic Comic double line, paper Paper + shadow, neon Neon glow, thin Thin line, none No edge
curly Curly, doodle Doodle, straight Line + dot, none None
hero
none, burst Name burst, stats Stats panel (it takes the handle note's place), hud Game HUD
extras
{"tape": …, "stars": …, "grain": …}, each true or false, and any of the eleven newer ones below
The little extras are toggles under "Little extras" in the studio's Style tab. The eleven newer ones are off in the
four built-ins and in a new project (the built-ins turn on only the ones in their table below). A style
saved before the eleven newer ones, or a recipe that leaves them out, still works: they are off.
Extra
What it draws
tape Tape, stars Stars
tape across the notes' top corners, and outline stars beside the face
grain Film grain
soft-light grain over the whole stage
hearts Hearts
two or three hand-drawn outline hearts beside the head (with the arrows)
circle Scribble circle
a loop drawn twice around the emphasis word (copy.extras.emphasis) where it is in a note; nothing without one (with that note)
crown Doodle crown
an outline crown, tilted, just above the head (with the arrows); left out when the head touches the top of the picture
sparkles Sparkles
three to five four-point sparkles near the person's outline (with the arrows)
motion Motion lines
three short manga strokes beside the top of the head (with the arrows)
confetti Confetti
20 to 40 small paper rectangles and dots in the palette's colors, on the background only, from the first frame; it re-scatters a little with each boil picture
rec REC timestamp
a red dot and "REC" in one top corner and "00:00:02" in the other, in the pixel font with a dark outline, the whole card; under the title room on a 9:16 card
vhs VHS lines
thin scanlines over the whole stage and a 1 to 2 px red and cyan offset
leak Light leak
a soft orange and red glow bleeding in from the side away from the head
nametag Name tag
a "HELLO my name is" sticker with copy.name on the chest, just under the face; nothing without a name (with the notes)
bubble Speech bubble
a speech bubble beside the mouth with copy.extras.bubble (14 characters at most, a soft limit; nothing when empty; with the arrows)
The drawn ones keep off the face, the notes, the arrows, the hero's boxes, the 9:16 title room, bottom band and
rail, the tape, the stars and each other. One that finds no room is left out, never drawn over something.
palette holds exactly five #rrggbb colors: dark (background dark), light (background light), tex
(texture), edge (cutout edge) and ink (text). The seven presets:
Preset
dark
light
tex
edge
ink
Magenta
#7d2a72
#f2a9de
#4c0f45
#f5df98
#f7e8b0
Lagoon
#1d4f5c
#a3e6dc
#0b2e36
#ffe9a8
#fff1c4
Tangerine
#8a3a12
#ffb98a
#4a1a06
#fff0c8
#fff6dc
Comic
#111111
#ffd21f
#e8261c
#ffffff
#111111
Riso
#2f4fa8
#efe4cb
#2f4fa8
#fbf8f0
#1b1b1b
Neon
#07061c
#5a24c9
#3ef0ff
#9ff8ff
#ffe14d
Mono
#141414
#e9e6df
#141414
#ffe600
#ffe600
The four built-ins (extras not listed are false):
id
name
bg
edge
notes
arrows
hero
extras on
palette
bedroom-pop
Bedroom Pop
dots
handcut
marker
curly
none
grain
Magenta
comic-pop
Comic Pop
comic
comic
comic
curly
burst
none
Comic
scrapbook
Scrapbook
riso
paper
hand
doodle
none
tape, stars
Riso
player-select
Player Select
night
neon
pixel
none
stats
none
Neon
The contrast guard: at least 3.0 (WCAG), measured where the lettering sits.
notes
Measured between
What passes
marker
ink and dark (its glow)
a light ink on a deep dark
comic
#111111 and light mixed 45% toward white
a light light
hand
ink and the paper strip, #fffdf5
a dark ink
label
dark and edge (the pill)
a deep dark on a light edge
pixel
ink and the background's average color
a bright ink on night or mono; a dark ink on dots, comic, riso or flat
Settings
timing: hold 1.0 to 6.0 (3.0), head_speed 0.75 to 1.5 (1.0; the clip plays from its first frame to the
freeze frame at this speed, so the freeze lands at the freeze frame's time divided by it),
tail 0.0 to 30.0 (30.0: the rest of the clip plays to its last frame; set it lower to end sooner), release_from 0.0 to 1.0 (0.0; skips dead time after the freeze, to reach the
smile), reveal "staggered" or "all", boil and shutter true or false.
audio.original: true (the default) keeps the clip's own sound in the video, silent over the card and back in
step with the picture when the video lets go; false mutes it.
freeze.frame: a frame of the clip, from 0. matte.edge: a whole number from -4 to 4 (below 0 shrinks the
cutout, above 0 softens it).
Rules
People are cut out with RVM only, the model this skill runs. Never u2net, rembg, a remove-background tool
or difference keying, even when another skill suggests one.
Nothing is stated as fact that the person didn't say. Your ideas are options until they confirm them.
Ask before any download or install, naming what it is, its size and its source.
No music. Never download or add any: the person adds any music they like in their own app.
Keep the person's own words. Trim to fit; never change what they mean. Emojis are stripped: the video's
fonts can't draw them, and patch removes them with a warning. Any other character a font can't draw is
warned about and flagged, never removed: ask the person what to write instead.
1---2name: main-character3description: 'Use when someone wants the "this is your sign to make an introduction video" freeze-frame intro made from their own clip: the video freezes on them, the room turns into a styled card, and hand-drawn notes with arrows describe them. Triggers on /main-character, "freeze-frame intro", "this is your sign to make an introduction video", "main character intro", "character intro edit", or a dropped clip of the person together with a request for that edit. Also triggers on Portuguese requests such as "edita minha intro estilo main character", "faz aquela intro que congela". Editing only: it interviews the person, writes the notes, opens a local studio and renders the clip in its own format (16:9 stays 16:9, 9:16 stays 9:16). NOT for other video edits (captions, cuts, color grades, multicam, b-roll), for making footage, or for posting.'4metadata:5 source: https://skillmd.com/skills/aipauloshimas/main-character6---78# /main-character: the freeze-frame intro910The person brings one short clip of themselves looking into the camera. You check the setup, interview them, write11the notes, check the card, and open a local studio where they edit, pick a style and render. In the reel, the12clip freezes on them, the room turns into a styled card, hand-drawn notes with arrows describe them, and the13video lets go again. The video keeps the clip's own sound, which is silent while the card is up. The skill only14edits: it never makes footage, ships music or posts.1516## How to work1718- `<skill dir>` is the folder that holds this SKILL.md (Claude Code names it as the skill's base directory).19 Commands look like `python "<skill dir>/scripts/mc.py" card "<project>"`. Where `python` is missing (common on20 macOS), use `python3`.21- `<project>` is the folder `init` prints on its `PROJECT` line: `./main-character/<clip name>` in the working22 folder by default. Quote every path; paths can hold spaces and accents.23- Output lines start with a word, such as `PROJECT`, `WARNING` or `URL`. A failure prints `ERROR <sentence>` and24 exits non-zero: say the sentence in plain words, fix what it names, and run the command again.25- `init`, `serve` and `wait` run in the background (Bash `run_in_background`). When one exits, its output wakes26 you. Don't poll.27- **Every change to `project.json` goes through `patch`.** Never edit the file by hand, and never patch `clip`28 or `status`.29 1. Write a JSON merge patch with your Write tool to `<project>/patch.json`, so nothing goes through shell30 quoting. Objects merge, a key set to `null` is deleted, and any other value replaces what was there.31 2. Run `python "<skill dir>/scripts/mc.py" patch "<project>" --file "<project>/patch.json"`. It validates and32 saves, then prints a `WARNING <sentence>` line per warning and `CONTRAST <x.x>`. On `ERROR`, nothing was33 saved: fix the patch and run it again. It is safe while the studio is open: the server reads the file34 fresh on every request.35- Talk to the person in their language. The on-screen copy is in English unless they ask for another language.36- If the person's own instructions (their CLAUDE.md) add review gates, such as a storyboard before any edit or a37 go-ahead word before the final render, follow them on top of these steps.3839## 1. Check the setup4041Run `python "<skill dir>/scripts/mc.py" doctor`. It prints one line per item and, when something is missing, the42commands that fix it under "To fix:" (exit code 1). Ask before each install or download, and run it only after a43yes:44- **Packages:** `python -m pip install numpy pillow onnxruntime`, about 30 to 60 MB from PyPI (Pillow must be45 9.1 or newer). If pip refuses with "externally-managed-environment" (Homebrew Python on macOS), offer a46 virtual environment: `python3 -m venv ~/.main-character/venv`, then use its `bin/python` in every command.47- **ffmpeg and ffprobe:** the install line the doctor prints (winget's `Gyan.FFmpeg` on Windows, Homebrew's48 `ffmpeg` on macOS), often 100 MB or more. Claude Code may need a restart to find them on the PATH.49- **What ffmpeg can do:** an iPhone shoots HDR by default, so the doctor also checks `HDR clips` (zscale, or50 ffmpeg 8 or newer) and `libx264`. When one says it can't, its "To fix:" line names the build to install: the51 full build on Windows; on a Mac, ffmpeg 8 or newer, or `brew install ffmpeg-full` with its `bin` folder first52 on the PATH.53- **The matte model:** ask "The cutout needs the Robust Video Matting model: about 15 MB, from the official RVM54 release on GitHub (PeterL1n/RobustVideoMatting, v1.0.0), saved to ~/.cache/rvm. OK to download it?" After a55 yes: `python "<skill dir>/scripts/mc.py" doctor --download-model`. The download is checked against the official56 file's SHA-256. If it says Python couldn't check the certificate (Python from python.org on a Mac), have them run57 "Install Certificates.command" in the Python folder, then run the command again. After a no, stop: nothing can be58 cut out without it.59- **Fonts missing:** the folder was copied incompletely. Ask them to copy the whole skill folder again.60- **No Python at all:** the doctor can't run. Ask them to install Python 3.10 or newer from python.org (on61 Windows, with "Add python.exe to PATH" ticked).6263Run the doctor again until it ends with "Everything is ready."6465## 2. No clip? Show the shooting guide and stop6667A clip is one video file, 2 to 30 seconds long, with one person in it: a path in the message or a file they68dropped. Without one, send this guide and stop:69701. Record one shot.712. Hold a deadpan stare for two seconds, then carry on naturally.7273End with: "Run /main-character again with your best take."7475## 3. The interview7677If `main-character/<clip name>/project.json` already exists in the working folder, this clip was started before.78Ask whether to reopen it (run step 4, which keeps their lines, then go to step 7) or to write new lines.7980Send the five questions in one message, word for word, with the closing line:8182> 1. What do you do? One line, the way you'd say it to someone at a party.83> 2. What's your "but…"? An honest confession, a flaw, or a funny contradiction. This is the line that gets the laugh.84> 3. One oddly specific detail that's only yours: a number, a habit, an object. "4 coffees before 9am" beats "loves coffee".85> 4. Your @ handle, and the name you'd like on screen.86> 5. The tone: laughing at yourself, confident, chaotic, mysterious, or something else?87>88> Stuck on any of these? Say 'give me options'.8990- Someone writing in another language gets the same five questions, faithfully translated.91- Start step 4 in the background in the same turn, so the cutout runs while they type.92- On "give me options": offer three or four options for that question, built from what you know about them.93 They stay options: nothing is true until the person picks or confirms it.94- An answer missing: ask once more for just that one, or offer options.9596## 4. Make the project9798Run `python "<skill dir>/scripts/mc.py" init "<clip>"`. It cuts the frames, cuts the person out of every frame99with RVM (a minute or more), and suggests freeze frames. It prints:100- `PROJECT <folder>`: this is `<project>`.101- `WARNING <sentence>`: tell the person in plain words ("I couldn't find you in most frames. Right clip?").102- `FREEZE <frame> SUGGESTED <frames>`: the freeze frame, then the suggested frames, best first (for step 6).103104The video keeps the clip's own format and resolution: 16:9 stays 16:9 and 9:16 stays 9:16, full frame, with no105bars and no title. A clip under 1080 wide is scaled up to 1080, and the render says so in a note. Common errors: a106clip outside 2 to 30 seconds (ask them to trim it), a photo instead of a video (ask for a clip), a missing model107or a missing ffmpeg (back to step 1), an HDR clip that this ffmpeg can't convert (the sentence says what to do).108109## 5. Write the copy110111Write versions A, B and C: three different jokes in the person's tone, not three rewordings. A version is the four112notes, the name and the extras. The video has no title: the person adds any text in Instagram or TikTok. Run113this checklist on each version before anyone sees it:114115- [ ] Top left (`tl`) says what they do, in their own words.116- [ ] Bottom left (`bl`) starts with "But" and is the joke: true, specific, about 34 characters at most.117- [ ] Bottom right (`br`) is the oddly specific detail, about 30 characters at most.118- [ ] Top right (`tr`) is the handle.119- [ ] The phrasing is subjectless, so no pronouns: "But overthinks every 6-second reel".120- [ ] Nothing is stated as true that the person didn't say or confirm. Anything you added is offered as an option.121- [ ] Nothing generic that could belong to anyone ("passionate creator who loves making content").122- [ ] The extras, in every version: the burst word (the name on screen by default; keep it short), an emphasis123 word taken from the "but…" line, and three stats in game language as `[label, 0 to 10]` with short labels.124 The confession becomes the funny stat (`["Overthinking", 10]`). `extras.bubble` (a few words, 14 characters at125 most) is for the Speech bubble extra only; leave it `null` unless the person turned that extra on.126- [ ] Natural case (each notes style applies its own capitals), no emojis, and within the soft limits: `tl` 30,127 `tr` 24, `bl` 34, `br` 30 and `name` 16.128- [ ] The on-screen copy uses the Latin alphabet. Accents are fine where the font has them, and `card`'s `FLAG`129 lines tell you where it doesn't: Arabic, Chinese and Hebrew are in no font, Cyrillic and Greek in only a130 few, and symbols such as stars are mostly missing. `patch` warns with the characters and the font131 ("has characters the Marker font can't draw"), and `card` flags the note `cut`.132133Pick the built-in style that fits the person (see "Style recipes"). Bedroom Pop, the trend's own look, is the134fallback. Comic Pop suits loud, confident or chaotic; Scrapbook, crafty and warm; Player Select, gamers and tech.135136Write it all in one patch: `versions` (A, B and C), `copy` (the same as A), `picked` "A", `style` (the whole137recipe) and `style_source` (its id). The studio does not show the versions: the person picks one in the chat138(step 7), and you put it in `copy` with `patch`. One version looks like this:139140```json141{"notes": {"tl": "<what they do>", "tr": "<@handle>", "bl": "But <the confession>", "br": "<the detail>"},142 "name": "<name on screen>",143 "extras": {"burst": "<burst word>", "emphasis": "<a word of the bl line>",144 "stats": [["<label>", 9], ["<label>", 10], ["<label>", 2]]}}145```146147Shorten any line that a soft-limit `WARNING` names. Then save the five answers, in the person's words, to148`<project>/interview.md` with Write.149150## 6. Check the card before the person sees it151152Run `python "<skill dir>/scripts/mc.py" card "<project>"`.153- It draws the card on the freeze frame and prints the path of `<project>/card.png`. The card is the plan size,154 1080 wide and as tall as the clip's shape makes it: 1080x608 for 16:9, 1080x1920 for 9:16.155- It prints a `FLAG <key> cut` or `FLAG <key> clash` line for each note that doesn't fit:156 - **cut:** its text didn't fit at the 36 px minimum, or has a character its font can't draw;157 - **clash:** it touches the face, overlaps another note or sits too close to one (notes keep a gap between158 them). On a 9:16 card it also means what Instagram covers: the top, where the person adds the title, the159 caption at the bottom and the buttons at the right.160161Look at the card whole, then at 1:1 crops of the hair, the edge of the face and the hands. Those are 480x480 crops,162so x goes up to 600 and y up to H−480, where H is the card's height:163`ffmpeg -v error -y -i "<project>/card.png" -vf "crop=480:480:<x>:<y>" "<project>/check-1.png"`164165- **A `FLAG` line, or a note on the face.** Shorten that note: patch it, then run `card` again. Never use a smaller166 font; notes are never drawn under 36 px. In the studio the person can also drag it. A `cut` that shortening167 doesn't fix is a character the font can't draw: write the line again with letters the font has.168- **A `FLAG <key> clash` that shorter copy can't fix**, because the note has no room in its corner, is fixed by169 moving the note. Look at the card, pick a free spot, patch `{"positions": {"<key>": [x, y]}}` (the box's top-left170 in card pixels), and run `card` again. Never put a note on the face. `<key>` is `tl`, `tr`, `bl`, `br` or171 `burst`: any other key is refused.172- **`NOTE The Game HUD has no room here; pick another hero if it covers something.`** The Game HUD's two labels173 have no `FLAG` line, because nothing can pin them. Look at the card: if a label covers the face or a note, tell174 the person and offer another hero (patch the style's `hero` to `none`, `burst` or `stats`).175- **The cutout edge is wrong at 1:1** (a halo, chewed hair or fingers, holes, background pulled in).176 1. A thin light rim alone: patch `{"matte": {"edge": -1}}` first, going down to -2.177 2. Otherwise re-cut the frames around the freeze at a higher detail:178 `python "<skill dir>/scripts/mc.py" refine "<project>" --detail high`. Run `card` and look again. Run179 `refine` only while no studio render is running: renders lock each other out, but refine has no lock yet.180 3. Still wrong: the same with `--detail max`.181 4. Still wrong: patch `{"freeze": {"frame": <the next SUGGESTED frame>}}`, run `card`, and tell the person why in182 one line.183184## 7. Open the studio, start the waiter, and stop1851861. Run `python "<skill dir>/scripts/mc.py" serve "<project>"` in the background, unless it already runs. It187 prints `URL http://127.0.0.1:<port>/` and serves until stopped.1882. Run `python "<skill dir>/scripts/mc.py" wait "<project>"` in the background, before the person has the URL,189 so no click is missed. It exits on the next event: `STYLE <stamp>` (step 8) or `DONE <stamp>` (step 9).1903. Show the person the three jokes, as versions A, B and C with all four notes of each, and ask which one they191 want: A, B or C, or a mix of lines. Then stop: end your turn. Don't poll.1924. When they answer, put their pick in the live copy with `patch`: `copy` is the chosen version (all of it, with193 a `null` for each extra the version doesn't have, so nothing of the earlier copy stays) and `picked` is its194 letter. A mix of lines is a patch of just those lines. Run `card` again if the lines changed.1955. Give the person the URL and how the studio works: edit any line; pick a style or build one, or describe one196 and press "Ask Claude"; drag a note to move it; the Timing tab has the Original sound switch, which mutes the197 clip's own sound; press Render when it looks right. Then stop again.198199A change the person asks for in the chat goes through `patch`; then ask them to reload the page.200201## 8. On STYLE: answer "Ask Claude"2022031. Read `style_request.text` in `<project>/project.json`. If `style_request` is gone or already answered when you204 read it, skip it and run `wait` again with `--since "<the STYLE stamp>"` (the person cancelled, or the event is205 old). If `style_request.image` is set, look at that image (a file in `<project>/refs/`).2062. Write the whole recipe to `<project>/style.json` with your Write tool, then run207 `python "<skill dir>/scripts/mc.py" style "<project>" --file "<project>/style.json" --answers "<the STYLE stamp>"`.208 For example:209 ```json210 {"id": "custom", "name": "Sunset Arcade", "bg": "night", "edge": "neon", "notes": "pixel",211 "arrows": "none", "hero": "hud", "extras": {"tape": false, "stars": true, "grain": false},212 "palette": {"dark": "#1a0b2e", "light": "#ff6ad5", "tex": "#26c6da", "edge": "#ffd1f7", "ink": "#fff3a8"}}213 ```214 - Use only the ids of "Style recipes". `hero` holds one id, so there is never more than one hero.215 - `style` validates the recipe and prints `CONTRAST <x.x>`.216 - It refuses a recipe under 3.0 with `ERROR`. Change the colors your notes style is measured on and run it217 again.218 - On success it saves the recipe as the custom style and marks the request answered. The waiting page219 refreshes by itself.220 - `--answers` is the stamp `wait` printed on its `STYLE` line. The request is marked answered only if it is221 still that one: if the person asked again or cancelled while you worked, the style is saved all the same and222 it prints `NOTE The request changed; the page shows the newest one.` The next `wait` brings the new request.223 - For a look the layers can't make (a cinematic grade, 3D lettering), get as close as the options allow and say224 what differs. Every style keeps the sticker cutout and the playful notes.2253. Run `card` and look. If the new style flags a note, tell the person and offer a shorter line. Don't rewrite226 their lines unasked.2274. Explain the picks in the chat: one line per layer (background, edge, notes, arrows, hero, extras), and one for228 the colors with their contrast.2295. Run `python "<skill dir>/scripts/mc.py" wait "<project>" --since "<the STYLE stamp>"` in the background, then230 stop.231232## 9. On DONE: check the render2332341. `status.outputs` in project.json lists the file inside `<project>`: `renders/<clip>-main-character.mp4`.2352. Look at three stills of the video. The render records its own moments, in seconds, as `status.freeze_out` and236 `status.release_out`. Take:237 - the freeze, at `freeze_out` + 0.3;238 - the middle of the hold;239 - the release, at `release_out` + 0.3 (or the last frame, when the video ends at the release).240241 `ffmpeg -v error -y -ss <seconds> -i "<project>/renders/<clip>-main-character.mp4" -frames:v 1 "<project>/check-freeze.png"`242243 Check:244 - the face is clear;245 - nothing is cut;246 - the edge is clean at 1:1. The stills are at the video's own resolution, the clip's, not the card's 1080, so247 crop as in step 6 with x up to W−480 and y up to H−480, where W and H are the still's width and height248 (`ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "<video>"` prints249 them);250 - the release catches the smile starting.2513. Offer at most two tweaks, each with its setting and value (see "Settings"). Patch only after a yes, then ask252 them to reload and press Render again. If the studio is closed, run253 `python "<skill dir>/scripts/mc.py" render "<project>"` yourself. If it says another render is254 running, one is going in the studio: wait for it, and run yours after.2554. Tell them where the video is, and that it keeps the clip's own sound (silent over the card, back in256 step when the video lets go; Original sound in the Timing tab mutes it) and has no title or music: they add257 any text and any music they like in Instagram or TikTok. Tell them the second the freeze lands258 (`status.freeze_out`, for example "the freeze lands at 3.08 s"), so they can line their music up with it.2595. If the studio is still open, run `wait` again with `--since "<the DONE stamp>"` in the background. When they260 are finished, stop the `serve` and `wait` background tasks.261262## Style recipes263264A recipe has an `id` and a `name` (text), one id per layer, the little extras and a palette. Every key is265required except the eleven newer extras (see below), and the ids are exact:266267| Layer | Ids, with the studio's labels |268|---|---|269| `bg` | `dots` Duotone + dots, `comic` Comic print, `riso` Riso on paper, `night` Night scanlines, `flat` Flat color, `mono` Black & white |270| `edge` | `handcut` Hand-cut sticker, `comic` Comic double line, `paper` Paper + shadow, `neon` Neon glow, `thin` Thin line, `none` No edge |271| `notes` | `marker` Marker, `comic` Comic boxes, `hand` Handwritten strips, `pixel` Pixel, `label` Bold labels |272| `arrows` | `curly` Curly, `doodle` Doodle, `straight` Line + dot, `none` None |273| `hero` | `none`, `burst` Name burst, `stats` Stats panel (it takes the handle note's place), `hud` Game HUD |274| `extras` | `{"tape": …, "stars": …, "grain": …}`, each true or false, and any of the eleven newer ones below |275276The little extras are toggles under "Little extras" in the studio's Style tab. The eleven newer ones are off in the277four built-ins and in a new project (the built-ins turn on only the ones in their table below). A style278saved before the eleven newer ones, or a recipe that leaves them out, still works: they are off.279280| Extra | What it draws |281|---|---|282| `tape` Tape, `stars` Stars | tape across the notes' top corners, and outline stars beside the face |283| `grain` Film grain | soft-light grain over the whole stage |284| `hearts` Hearts | two or three hand-drawn outline hearts beside the head (with the arrows) |285| `circle` Scribble circle | a loop drawn twice around the emphasis word (`copy.extras.emphasis`) where it is in a note; nothing without one (with that note) |286| `crown` Doodle crown | an outline crown, tilted, just above the head (with the arrows); left out when the head touches the top of the picture |287| `sparkles` Sparkles | three to five four-point sparkles near the person's outline (with the arrows) |288| `motion` Motion lines | three short manga strokes beside the top of the head (with the arrows) |289| `confetti` Confetti | 20 to 40 small paper rectangles and dots in the palette's colors, on the background only, from the first frame; it re-scatters a little with each boil picture |290| `rec` REC timestamp | a red dot and "REC" in one top corner and "00:00:02" in the other, in the pixel font with a dark outline, the whole card; under the title room on a 9:16 card |291| `vhs` VHS lines | thin scanlines over the whole stage and a 1 to 2 px red and cyan offset |292| `leak` Light leak | a soft orange and red glow bleeding in from the side away from the head |293| `nametag` Name tag | a "HELLO my name is" sticker with `copy.name` on the chest, just under the face; nothing without a name (with the notes) |294| `bubble` Speech bubble | a speech bubble beside the mouth with `copy.extras.bubble` (14 characters at most, a soft limit; nothing when empty; with the arrows) |295296The drawn ones keep off the face, the notes, the arrows, the hero's boxes, the 9:16 title room, bottom band and297rail, the tape, the stars and each other. One that finds no room is left out, never drawn over something.298299`palette` holds exactly five `#rrggbb` colors: `dark` (background dark), `light` (background light), `tex`300(texture), `edge` (cutout edge) and `ink` (text). The seven presets:301302| Preset | dark | light | tex | edge | ink |303|---|---|---|---|---|---|304| Magenta | `#7d2a72` | `#f2a9de` | `#4c0f45` | `#f5df98` | `#f7e8b0` |305| Lagoon | `#1d4f5c` | `#a3e6dc` | `#0b2e36` | `#ffe9a8` | `#fff1c4` |306| Tangerine | `#8a3a12` | `#ffb98a` | `#4a1a06` | `#fff0c8` | `#fff6dc` |307| Comic | `#111111` | `#ffd21f` | `#e8261c` | `#ffffff` | `#111111` |308| Riso | `#2f4fa8` | `#efe4cb` | `#2f4fa8` | `#fbf8f0` | `#1b1b1b` |309| Neon | `#07061c` | `#5a24c9` | `#3ef0ff` | `#9ff8ff` | `#ffe14d` |310| Mono | `#141414` | `#e9e6df` | `#141414` | `#ffe600` | `#ffe600` |311312The four built-ins (extras not listed are false):313314| id | name | bg | edge | notes | arrows | hero | extras on | palette |315|---|---|---|---|---|---|---|---|---|316| `bedroom-pop` | Bedroom Pop | dots | handcut | marker | curly | none | grain | Magenta |317| `comic-pop` | Comic Pop | comic | comic | comic | curly | burst | none | Comic |318| `scrapbook` | Scrapbook | riso | paper | hand | doodle | none | tape, stars | Riso |319| `player-select` | Player Select | night | neon | pixel | none | stats | none | Neon |320321The contrast guard: at least 3.0 (WCAG), measured where the lettering sits.322323| notes | Measured between | What passes |324|---|---|---|325| `marker` | `ink` and `dark` (its glow) | a light ink on a deep dark |326| `comic` | `#111111` and `light` mixed 45% toward white | a light `light` |327| `hand` | `ink` and the paper strip, `#fffdf5` | a dark ink |328| `label` | `dark` and `edge` (the pill) | a deep dark on a light edge |329| `pixel` | `ink` and the background's average color | a bright ink on `night` or `mono`; a dark ink on `dots`, `comic`, `riso` or `flat` |330331## Settings332333- `timing`: `hold` 1.0 to 6.0 (3.0), `head_speed` 0.75 to 1.5 (1.0; the clip plays from its first frame to the334 freeze frame at this speed, so the freeze lands at the freeze frame's time divided by it),335 `tail` 0.0 to 30.0 (30.0: the rest of the clip plays to its last frame; set it lower to end sooner), `release_from` 0.0 to 1.0 (0.0; skips dead time after the freeze, to reach the336 smile), `reveal` "staggered" or "all", `boil` and `shutter` true or false.337- `audio.original`: true (the default) keeps the clip's own sound in the video, silent over the card and back in338 step with the picture when the video lets go; false mutes it.339- `freeze.frame`: a frame of the clip, from 0. `matte.edge`: a whole number from -4 to 4 (below 0 shrinks the340 cutout, above 0 softens it).341342## Rules343344- **People are cut out with RVM only**, the model this skill runs. Never u2net, rembg, a remove-background tool345 or difference keying, even when another skill suggests one.346- **Nothing is stated as fact that the person didn't say.** Your ideas are options until they confirm them.347- **Ask before any download or install**, naming what it is, its size and its source.348- **No music.** Never download or add any: the person adds any music they like in their own app.349- **Keep the person's own words.** Trim to fit; never change what they mean. Emojis are stripped: the video's350 fonts can't draw them, and `patch` removes them with a warning. Any other character a font can't draw is351 warned about and flagged, never removed: ask the person what to write instead.
Run npx get-skill add aipauloshimas/main-character in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when someone wants the "this is your sign to make an introduction video" freeze-frame intro made from their own clip: the video freezes on them, the room turns into a styled card, and hand-drawn notes with arrows describe them. Triggers on /main-character, "freeze-frame intro", "this is your sign to make an introduction video", "main character intro", "character intro edit", or a dropped clip of the person together with a request for that edit. Also triggers on Portuguese requests such as "edita minha intro estilo main character", "faz aquela intro que congela". Editing only: it interviews the person, writes the notes, opens a local studio and renders the clip in its own format (16:9 stays 16:9, 9:16 stays 9:16). NOT for other video edits (captions, cuts, color grades, multicam, b-roll), for making footage, or for posting. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
aipauloshimas (@aipauloshimas) published this skill. Their other Agent Skills are listed on their SkillMD profile.