AGENT SKILL

creator-teardown

Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator when ai-editor is installed (its start skill), not for researching a topic, and not for cutting raw footage.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 202
Forks
70

01 前言 Front Matter

name
creator-teardown
license
MIT
description
Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator when ai-editor is installed (its start skill), not for researching a topic, and not for cutting raw footage.
compatibility
Python 3.9+, ffmpeg, yt-dlp and internet access. Optional ElevenLabs key for verbatim transcripts and Gemini key for the look pass. Mac, Windows or Linux.

02 资源文件 29

03 SKILL.md 正文

Creator Teardown

Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md. On Windows, use py wherever these commands say python3.

Every question to the user goes in the question box: call the AskUserQuestion tool (2-4 options, the recommended one first). Only in an agent without that tool, ask numbered questions in text.

Output

creator-teardowns/<handle>/: teardown.md (the analysis), teardown.html (the page the user looks at), look.md (what Claude reads), style.json (every measured number, for editing in this style), plus the per-video files listed in ${CLAUDE_SKILL_DIR}/references/outputs.md. An edit plan goes to edit-plans/<name>/. Whether an edit in this style matches: scripts/match.py (references/outputs.md "Match check").

First: doctor

python3 "${CLAUDE_SKILL_DIR}/scripts/fetch.py" doctor

Run it before the first teardown in a session. Ready. means go. If it prints Not ready, or the user asks to install or set up the skill, follow ${CLAUDE_SKILL_DIR}/references/setup.md. The ElevenLabs and Gemini keys are optional. Never ask for either in the chat: the user saves them with setkey (setkey --gemini) in their own terminal.

VPY="${CLAUDE_SKILL_DIR}/scripts/run.py"; python3 "$VPY" below (py on Windows) runs a script with the tool venv's Python wherever AI_EDITOR_HOME puts it.

Pipeline

Quick mode (called by ai-editor's start, setup or style-edit)

When another skill needs only the style.json, run exactly: Step 1 list, Step 2's commands with --top 5 (5 plus 2 control and 2 spares; pasted links: all), Step 3b's four, then Step 3c's four (a gemini.py that exits 2 with no key is skipped), then stop. The Step 0 parts question only if the caller has not asked it. Skip metrics.py, the Step 3 written passes and Steps 4-6. About 3 minutes per creator on a 14-core Mac (2-3 min measured; the spares add about 1 min at worst), twice that on an 8-core laptop. Say so first.

Step 0: Ask, once

Skip what the message already answers. One question box call:

  1. Which creators? The handle or links they named (Recommended) / I'll paste more. Several is normal: people like one creator's captions and another's pace. Each creator's style is one format.
  2. With more than one: which part from whom? Not sure yet (Recommended): ask again after Step 3b, with each creator's look.md to compare; or captions, pace (cuts, zooms, motion), visuals (graphics, face framing, cards), sound.

Step 1: Get the videos

python3 "${CLAUDE_SKILL_DIR}/scripts/fetch.py" list <handle> --platform tiktok --limit 40   # or youtube
python3 "${CLAUDE_SKILL_DIR}/scripts/fetch.py" list <name> --urls picks.txt   # pasted links, one a line

Prints a ranked table (views, x median) and writes videos.json; * marks 3x the median.

Instagram: list <handle> --platform instagram reads the newest reels with views through the user's instagram.com login in their browser (sent only to instagram.com). No login: it exits 1 with one sentence; say it, or put 6+ reel links in picks.txt for --urls (ranked by likes; say so).

Step 2: Download and transcribe the winners and a control group

python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/visual.py" download <handle>
python3 "${CLAUDE_SKILL_DIR}/scripts/fetch.py" transcribe <handle>

--top N downloads and transcribes N plus 2 control videos (the 2 closest to the median; --control changes the 2) plus 2 spares for the format check (--spare), all of the creator's usual length when enough are. Pasted links: every one. The default --top 8 is 12 videos; --top 5, the fast run, is 9; pass it to both commands. Both print the count first. --ids <id>,<id> picks exact videos. The median ones are the control: a move that appears in the 500K video and the 3K video is that creator's habit, not the reason the 500K one worked. Keep at least 2.

Run transcribe and python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/gemini.py" look <handle> --no-merge at the same time (two Bash calls in one message): the model watches while Whisper listens. Every measuring script works on several videos at once (CT_JOBS=1 turns that off on a small laptop).

Say the time first (download plus transcription, about 10 s a video on a 14-core Mac). Whisper (free, local) is the default; with an ElevenLabs key transcribe uses Scribe, which keeps every filler ($0.22 an hour of audio; give the estimate before 10+ videos). If filler counts lean on Whisper transcripts, say so in the teardown.

Step 3: Measure, then analyse

python3 "${CLAUDE_SKILL_DIR}/scripts/metrics.py" <handle>

Writes metrics.json (WPM per third, pauses, fillers, sentence length, you/I/we, repeated phrases), all off the word timestamps.

Run Step 3b first, so the passes skip the videos format.json left out. Then load ${CLAUDE_SKILL_DIR}/references/analysis-framework.md and run its passes. For pass 1, launch one video-analyst agent per video, all in one message (they run at once): give each the absolute creator-teardowns/<handle>/ path and one id. Each returns a JSON beat map; merge them into the tables. Without an Agent tool, read transcripts/<id>.timed.txt yourself, one video at a time. Never read transcripts/<id>.json or metrics.json whole:

  1. Beat map + timings. Every video split into labelled beats with second-marks and word counts.
  2. Voice/vocab profile. Sentence length, person, commands, recurring phrases, and the moves the user would not say.
  3. Visual pass. Always: Step 3b. It is what lets the user edit their own video in this style.
  4. Card events, only when the ask covers the creator's cards and graphics, or an edit plan is coming. Writes events.json in the shape in ${CLAUDE_SKILL_DIR}/references/edit-plan.md. scripts/strip.py needs ffmpeg, numpy and pillow.

Do not skip the timings: "hook lands by 0:03 and runs 14 words, items are 8-11 s each" is a format someone can film; "hook, then list, then close" is not.

Step 3b: The visual pass (measured, no images for you to read)

python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/visual.py" measure <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/look.py" measure <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/format_check.py" check <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/gemini.py" look <handle>

Run them after transcribe (look.py matches OCR text to the spoken words).

  1. visual.py: cuts and their kinds, shot lengths, zooms, pans and shake.
  2. look.py: OCR 3 frames a second and YuNet faces: the captions (place, size, words, case, colours, weight, entrance), face framing, graphics share, palette, motion personality. About 40 s a video.
  3. format_check.py: a style is ONE format, not a blend of all they post. It groups the videos by frame, face, captions, shot length and length; a majority group of 3+ is kept, the rest move to video/left-out/ (format.json says why; references/look-pass.md). Tell the user its first line when any differ ("Using 4 of 6: 2 look like a different format."); if mixed, ask for more videos of one kind.
  4. gemini.py look: merges what Gemini Flash-Lite said in Step 2 (it watches any video not done yet) about the 5 most-viewed: font, graphics style, transitions, what is not generic. Never a number.

Then read look.md (under 48 lines). Do not open frames or sheets. Every field is in ${CLAUDE_SKILL_DIR}/references/look-pass.md. Numbers in style.json come from code; never edit them by hand. Where look.md and the model's words disagree (say motion: punchy measured, smooth named), the measured one wins and the teardown says both.

No Gemini key (gemini.py look exits 2): offer the free key once (references/setup.md step 4). If the user skips it, run the fallback: one Agent call with model: "haiku" that reads sheets/<id>.jpg for each kept video (one 3 x 3 sheet each, made by visual.py) and writes video/<id>.look-ai.json per gemini.py prompt. Exact brief in references/look-pass.md. Then python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/gemini.py" merge <handle>.

No OCR engine (doctor says optional): captions stays unmeasured and look.md says so. Install it (doctor prints the line) rather than reading sheets yourself.

Step 3c: The deep pass and the page

python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/graphics.py" measure <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/gemini.py" kinds <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/sound.py" measure <handle>
python3 "$VPY" "${CLAUDE_SKILL_DIR}/scripts/report.py" build <handle>

Each measure prints one summary line and the file it wrote (--json prints the full block; not needed: look.md has the numbers). Run them after Step 3b (graphics.py masks the speaker with look.py's faces). They add every graphic (cropped, its kind, where it sits, how it enters and exits as a fitted GSAP ease), cut kinds and camera moves (visual.py), sound effects and music, the first 3 seconds of each video, winners against the control group, and an AI-tell scan of the creator's own look. Fields, methods, ceilings and cost: ${CLAUDE_SKILL_DIR}/references/teardown-page.md. No Gemini key: gemini.py kinds exits 2; the kinds stay the code's guess, or run the haiku fallback in that reference.

Then open creator-teardowns/<handle>/teardown.html for the user (open on a Mac, start on Windows, xdg-open on Linux) and offer to publish it as an artifact. Do not read the page or its images yourself: look.md has the numbers. Tell the user in two or three lines what the winners do differently (the Winners: lines in look.md, with n) and any BAN-level AI tell in their look.

Then ask in the question box (the page only shows the evidence; it has nothing to tick), one multi-select question: "Which parts of @<handle> should your edit copy?" Options: captions, pace, graphic kinds, entrance motion, layout, sound (at most 4 options a question: split into two questions if needed), each option's description one measured line from look.md (e.g. "slides in 0.25 s with overshoot"). If any BAN tell sits in a part they pick, say which before they confirm. Save the answer:

python3 "${CLAUDE_SKILL_DIR}/scripts/editplan.py" blend <handle>-mine --from <handle> \
    --take captions,pace,graphics,entrances,layout,sound    # only the parts picked

style-edit reads creator-teardowns/<handle>-mine/style.json; a part left out uses its default. report.py build and editplan.py blend print the style's skill (skill edit-like-<handle> -> <path>, with ai-editor installed): tell the user its name. Feedback on that style edits that skill.

Step 3d: Several creators (when the user named more than one)

Follow ${CLAUDE_SKILL_DIR}/references/blend.md: Steps 1 to 3b per creator, look.md side by side, then editplan.py blend.

Step 4: Write the teardown

Fill ${CLAUDE_SKILL_DIR}/references/teardown-template.md into creator-teardowns/<handle>/teardown.md. Every video gets a stats line, verbatim transcript, beat table with timings, patterns to keep and patterns to reject.

Step 5 (optional): Turn it into a skill

Ask whether the format is worth keeping. If yes, follow ${CLAUDE_SKILL_DIR}/references/skill-handoff.md (the format skill, beside the style's own skill).

Step 6 (optional): Plan the user's video in the creator's style

When the user hands over their own video, follow ${CLAUDE_SKILL_DIR}/references/edit-plan.md. It needs the creator's events.json from the visual pass; it does not render.

If a script stops

message do
doctor Not ready: ... follow references/setup.md for each line it lists
yt-dlp returned nothing / parsed 0 videos read the hint it prints: update yt-dlp (doctor shows how), or ask for single video links and use --urls
Instagram profile fails say its sentence: log in to instagram.com in Chrome, or 6+ reel links (Step 1 "Instagram")
... Fix the key, then rerun (transcribe) the ElevenLabs key is wrong: the user re-saves it with setkey in their own terminal, or drop it and use Whisper
gemini.py exits 2 (no key) Step 3b "No Gemini key"
Gemini rejected the key / none of ... is available to this key the user makes a new key at the link it prints; meanwhile the haiku fallback
no videos in ... Run download first run visual.py download <handle>
download failed: <ids> (exit 1) rerun with the --ids it prints; if they fail again, say the sample is smaller and go on
Gemini is rate-limiting this key wait a minute and rerun the same command (done videos are cached)
yt-dlp not found run fetch.py doctor and fix what it lists
some videos fail to transcribe retry with --ids, then say which failed; never fill the gap

Hard rules

  • Real numbers or nothing. Every claim about what works cites the view count next to it. Never say a video "went viral" without the number.
  • Verbatim transcripts only. Never summarise a video that was not transcribed.
  • Structure is copied, voice is not. Every teardown states what to reject.
  • Median control group. At least two mid-performers transcribed, or the analysis cannot separate the format from the creator's habits.
  • Never invent a transcript line, or a stat or quote for a card. If transcription failed, retry with --ids, then say it failed.
  • Never ask for the ElevenLabs or Gemini key in the chat.
  • Measured numbers only in style.json. pace and zoom come from visual.py; captions, face, graphics and motion from look.py; only words (look, font_match) from the model.
  • Read look.md, not frames. Open a frame only to settle a question look.md cannot answer, and say which one. The user gets teardown.html; Claude gets look.md.
  • Winners against control: say n. Never call a difference proven; "every winner" only means no overlap in this sample.

04 同仓库更多 Skills

nextwork-projects
nextwork-projects/ai-video-editor-cooked

update

Updates cooked. to its newest version. Works out how it was installed and does the right thing for each. The official plugin from the marketplace gets the plugin update commands for ai-editor and creator-teardown. A fork the user owns (the power-user route, where they change the editor's own code) gets its new versions pulled from nextwork-projects/ai-video-editor-cooked and merged with their changes kept, after a backup branch, then the fast self-checks, with a rollback if they fail. A plain clone gets the fork route in three steps. Use when the user says "update the editor", "get the latest version", "sync my fork", "pull the new version", or asks how to stay up to date after changing the editor's code. Not for changing a style or a setting (that is taste or the home page), and not for maintainers turning feedback into fixes (that is improve).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

trial-reels

Makes Instagram Trial Reels of a reel the user already made or posted. A trial reel is a re-cut of the same take, never the posted file again. Names the video's type first (story, list or pitch), because that decides what may change, then makes 2-4 versions that each look like a different video at a glance (their own hook, start point, opening, overlays, caption look and sound), every element inside the Reels safe zone, all in the user's own style. Each version goes on the review page as a trial, and only the ones the user names are posted as Trial Reels through post.py, spread over the day. Use when the user says "trial reels", "make trial reels of this", "a few more versions of this reel", "post the trial reels", "test other hooks on this", presses Make on the review page's Trial reels tab, or `wait` prints TRIALS. Not the main edit of a new video (start, cut, style-edit), not clips from a long video (clips).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

taste

Remembers how the user likes their videos edited, so they never give the same correction twice. Saves every correction or preference about an edit (the cut, captions, visuals, sound, layout) into ~/.ai-video-editor/taste.md as a plain rule, and into taste.json when it maps to a setting the scripts read (pause length, fillers, caption size, words per caption, zooms, sound, layout), deduplicated, scoped to every video or just this one, and counted when applied; one that would help everyone goes to the maintainers. Every other cooked. skill reads both before it starts. Use whenever the user reacts to an edit ("too slow", "captions are too small", "fewer zooms", "I hate the whoosh", "that's perfect, keep it like that"), and when they ask "what do you know about my taste", "show my settings", "forget that rule" or "are you learning". Also learns how they cut from a raw take and their posted version ("I already edit by hand", "learn from my edit"). Not for a finished video's notes as a batch (skill-improver).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

style-edit

Turns an approved cut into the finished video in a creator's measured style. Takes cut.mp4 from the cut skill plus a style.json (from start or creator-teardown), plans captions and zooms to match the creator, adds visuals timed to the spoken word (the user's own images, real screenshots, posts and logos of what is named, the line marked on the real page; no type cards, stock icons or emoji), shows the stills on the review page for approval, then renders 9:16 or 16:9 with Remotion on the laptop, Modal, GitHub Actions or the user's AWS Lambda, and can export the edit to Final Cut, Premiere, Resolve or CapCut. Use when a cut already exists and the user says "style it", "now add the style", "add captions and zooms", "add my images to the video", "render the edit", "change the captions", "export to Final Cut" or "send it to Premiere". Not for a raw take or a first request to edit a video like a creator (that is start), not for cutting mistakes out (cut), and not for measuring a creator (creator-teardown).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

start

The front door of cooked. Takes the user's video and a few multiple-choice answers (platform, creators to copy and what to take from each, audience, brand kit, own photos, names, what to avoid, captions, sound), saves them once to a profile, then runs the whole edit in order (setup if a tool is missing, creator-teardown for a new creator, cut, style-edit) so the user only drops a video, answers, approves the cut and approves the stills. Use when the user says "edit my video", "edit this like @creator", "make my video look like @creator", "make this look like <creator>'s videos", "I want my videos edited", "start", "new video", drops a video file or pastes any link (video, Drive or Dropbox share, creator profile, website, podcast) with no other instruction, or asks how to use the editor. Not for one step named on its own (only cutting is cut, only analysing a creator is creator-teardown, a correction is taste, styling an existing cut is style-edit).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

skill-maker

Helps the user make their own Claude Code skill for editing videos, step by step. Interviews them briefly (what the skill does, an example video, what good looks like), runs the task once without a skill to see what goes wrong, writes three test scenarios, drafts the SKILL.md to the skill-authoring guide (clear name, a description that says what and when, a checklist, a check-and-fix loop, one example), saves it to their skills folder, tests it against the scenarios in a fresh agent, and improves it with them. Skills made here plug into cooked. (the edit folder, the review page, the safe zone) and can run as a style. Use when the user says "make a skill", "create a skill", "turn this into a skill", "help me write a skill" or "build my own editing skill". Not for adding rules to a skill that exists from a video's notes (skill-improver), and not for copying a creator's style from their videos (creator-teardown).

★ 202