/content-agent-kit:story-videofrom content-agent-kit
Creates 9:16 storytelling videos (brand stories, customer stories, origin stories) using narrative arcs and story-genre templates instead of fact lists. Writes script.json on a story beat structure, validates, renders, and passes through a review gate.
Ships in content-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A list of facts gets watched until the viewer has the gist. A story gets watched until it
ends, because the viewer wants to know how it ends. This skill is create-video with one
change: the script is written on an arc first, and the frames are picked by the beat they
carry, not by how they look.
Do everything skills/create-video/SKILL.md says (read VIDEO_CRAFT, read CATALOG.md,
validate before rendering, never --skip-validate). This file adds what is specific to story.
Chạy lệnh
node scripts/…ở thư mục gốc của kit — thư mục cóAGENTS.md, hai cấp trên file này (nếu skill được cài bằnginstall-skills.mjs --kit, đường dẫn nằm trong file.kit-rootcạnh file này).
Dẫn người dùng theo đúng các bước dưới, bằng lời đơn giản. Trước khi bắt đầu: một câu nói skill sẽ làm gì, mất khoảng bao lâu, cần người dùng chuẩn bị gì. Đầu mỗi bước báo "Bước n/N — <tên bước>" kèm một câu đang làm gì. Khi cần người dùng làm gì, chỉ hỏi đúng một việc. Kết thúc: kết quả nằm ở đâu và việc nên làm tiếp.
| Bước | Agent làm gì | Người dùng cần làm |
|---|---|---|
| 1. Lấy âm thanh (một lần) | Chạy node scripts/video/sfx-cc0.mjs tải 27 âm thanh CC0 | — |
| 2. Tìm câu chuyện | Hỏi 5 điều: ai, muốn gì, vướng gì, bước ngoặt, sau đó ra sao | Kể câu chuyện, kèm ngày tháng, con số thật |
| 3. Dựng mạch | Chia thành 6 nhịp, mỗi nhịp một scene 25–40 từ đọc | Duyệt dàn ý |
| 4. Chọn khung | Chọn frame-story-* theo nhịp, bắt đầu từ một thể loại kể chuyện | — |
| 5. Kiểm tra | validate-script.mjs --strict (vài giây), xem ảnh bằng template-sheet.mjs --script | Xem ảnh khung hình |
| 6. Render | render.mjs (3–5 phút) | — |
| 7. Kiểm duyệt | Qua review-gate trước khi đăng | Duyệt video |
Hay vướng:
sfx-cc0.mjs, hoặc ghi sfx sai dạng { "name": "transition/cc0-paper-riffle" }.Ask, or find in the source, these five things. If two are missing, it is not a story yet —
say so and offer create-video with a list genre instead of padding.
| question | a weak answer | a strong answer | |
|---|---|---|---|
| who | whose story is it? | "our customers" | "Lan, a teacher in Huế who wears size L" |
| want | what did they want? | "good clothes" | "one dress she could teach in and go out in" |
| in the way | what stopped them? | "the market is competitive" | "every size L online fit like a size M" |
| turn | what changed, and when? | "we launched a product" | "March 2021, we re-cut every pattern on real bodies" |
| after | how is it now, concretely? | "customers are happy" | "her third order, same size, no return" |
Specific beats general every time: a date, a place, a number, a name (with permission).
Six beats, roughly 60–75 seconds. Each beat is one scene of 25–40 spoken words — the validator's limit — so the arc is also the scene list.
hook ─▶ setup ─▶ in the way ─▶ TURN ─▶ proof ─▶ payoff / CTA
3s 8s 8s 8s 8s 6s
templates/VIDEO_GENRES.template.json has four story genres that already put these in order —
start from one of them and change what the story needs:
| genre | for | arc in frames |
|---|---|---|
brand-story | why the brand exists | one-line → swiss-chapter → world-pan → page-turn → pencil-chart → letter → kinetic-floor |
customer-story | a storytelling AD | comic-panels → page-turn → halftone-case → letter → trend-price-drop |
legend | history, heritage, a craft | sand → silent-film → frieze → swiss-chapter → kinetic-floor |
case-breakdown | what happened and why | halftone-case → rundown → telestrator → pencil-chart → step-numeral → statement-outro |
Beat → frame, when you build your own order:
| beat | frames | what the frame does for the story |
|---|---|---|
| hook: the whole arc | frame-story-one-line | one pen line draws start → struggle → payoff, each named |
| hook: a recognisable moment | frame-story-comic-panels | three panels, the third breaks with a sound word |
| hook: a memory / a year | frame-story-sand | words brushed out of sand on a lit table |
| hook: the question | frame-story-halftone-case | case file: question, claim, exhibit, stamp |
| setup / chapter | frame-story-swiss-chapter, frame-story-silent-film | dated chapter card; or an intertitle — "Meanwhile…" |
| what nobody saw | frame-story-world-pan | camera dives from the result into the roots |
| the turn | frame-story-page-turn | the old way's page turns to reveal the new |
| the decisive moment | frame-story-telestrator | freeze, ring the key words, label the finding |
| proof | frame-story-pencil-chart, frame-story-halftone-case | one number drawn to scale; the exhibit, stamped |
| a voice | frame-story-letter | a real message, hand-written on screen |
| a saga in four acts | frame-story-frieze | four panels round a turning vase |
| lesson | frame-story-step-numeral | numbered lesson, key words big |
| where we are | frame-story-rundown | rundown with covered points ticked off — use twice |
| climax / last line | frame-story-kinetic-floor | each line a floor, the final word stands on top |
Mixing in the rest of the library is fine and usually good — frame-trend-word-pop for a
spoken one-liner, frame-broll for real footage of the place. Two story frames with the same
device back to back (two letters, two chapter cards) read as a stall.
Fetch the CC0 pack once — node scripts/video/sfx-cc0.mjs (free for commercial use, no credit
needed) — then name sounds per scene as "sfx": { "name": "transition/cc0-paper-riffle", "volume": 0.5 }
(a path under assets/sfx/, no .mp3; startOffsetSec lands it on the beat — the stamp in
frame-story-halftone-case slams at ~2.9 s):
| frame | sound |
|---|---|
frame-story-page-turn | transition/cc0-paper-riffle |
frame-story-silent-film | cinematic/cc0-dark-sting |
frame-story-halftone-case (the stamp) | reveal/cc0-deep-boom |
frame-story-step-numeral | drumroll/cc0-swell-short |
frame-story-swiss-chapter, frame-story-rundown | transition/cc0-paper-flip |
frame-story-comic-panels | transition/cc0-whip-crack; meme/cc0-group-ooh only if the tone is comic — meme/* is never picked automatically |
One sound per beat, on the beat. A sound under every scene is noise.
frame-story-letter and any testimonial
must be a real message, used with permission, lightly trimmed at most. No real one → use a
different frame. A made-up testimonial in an ad is also a consumer-protection problem.frame-story-telestrator is described, not mocked, and only with public
facts (skills/competitor-analysis).skills/ads-policy-check before it goes to Meta — a story about
"feeling fat in every dress" breaks the personal-attributes rule however warm it is.node scripts/video/validate-script.mjs <dir>/script.json --strict
node scripts/video/template-sheet.mjs --script <dir>/script.json --out <dir>/sheet.jpg # LOOK at it
node scripts/video/render.mjs <dir>/script.json
Then skills/review-gate — the reviewer reads the arc too: does the hook's question get
answered, is there a turn, is the proof real.
Own footage instead of templates? The same arc applies. Cut it with
scripts/video/talking-head.mjs --edl (several ranges = several beats) and pick the finish:
cinematic or kinetic-doc for a story, launch for a product origin, meme only for comedy.
Method and sources: docs/27-storytelling.md.
Before the story, the position. If the user has not decided who the brand is for and which feeling it should own, run brand-lessons → bitis-hunter first (positioning sentence, one emotional territory, a series rather than one-offs) — docs/32-bai-hoc-thuong-hieu.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xuho-it/content-agent-kit --plugin content-agent-kit32 skills in this plugin
/ads-comment-triageSort comments on Facebook ads and fanpage posts by what the commenter wants — hỏi size, hỏi giá, hỏi ship, còn hàng, muốn mua/xin inbox, khiếu nại, spam/lừa đảo link, nhắc đối thủ, khen — and draft replies in the brand's voice for review, including unaccented teencode ("sz m con k", "giá bn", "ib e"). Use when the user says "trả lời bình luận", "lọc comment", "comment ads nhiều quá", "ẩn comment spam", "khách hỏi giá dưới quảng cáo", "reply comments", "moderate comments". Drafts only; never posts, hides or deletes./ads-creative-labDesign and read Facebook/Instagram creative tests for a content-agent-kit agent — hook × angle × format matrix, a naming convention results can be pivoted on, test structure and budget (ABO test → CBO/Advantage+ scale), kill/scale rules with sample-size floors, and the next round built from the winners. Use when the user says "test creative", "test mẫu quảng cáo", "nên chạy mẫu nào", "làm thêm mẫu ads", "hết ý tưởng creative", "mẫu nào thắng", "scale mẫu nào", or after ads-report/ads-fatigue-watch names a creative to replace. Works from pasted Ads Manager numbers; better with the meta-ads MCP. Never creates or changes ads on its own./ads-fatigue-watchFind Facebook/Instagram ads that are wearing out — frequency climbing, CTR falling from its own start, CPM and cost per result rising — and write a concrete refresh brief for each, from an Ads Manager CSV export or the meta-ads MCP. Use when the user says "quảng cáo đuối", "ads bị bão hoà", "CPM tăng", "CTR giảm", "mẫu này chạy lâu rồi", "ad fatigue", "creative refresh", "canh ads", or on a schedule twice a week. Reads only; never pauses or edits an ad./ads-policy-checkPre-flight Facebook/Instagram ad copy before it is submitted — Meta's personal-attributes rule ("Bạn béo bụng?"), before/after bodies, body or health promises for shapewear, unprovable superlatives ("rẻ nhất", "số 1"), invented urgency, discounts with no reference price or over the Vietnamese promotion cap, counterfeit hints, engagement bait — with a severity and a rewrite for each. Use when the user says "check chính sách quảng cáo", "ads bị từ chối", "bị reject", "quảng cáo có vi phạm không", "kiểm tra nội dung trước khi chạy", "policy check", or before any ad copy leaves the review gate. A linter, not legal advice./ads-reportRead ad performance from the connected ads MCP servers (Meta, Google, TikTok, Snap, Reddit) and turn it into a decision about what content to make next, for an agent built with content-agent-kit. Also works with no ad spend at all — paste the numbers the platform shows you and it reports the same way. Use weekly, or when the user asks "how did the ads do", "how did last week do", "what should we post next", or "which campaigns are wasting money". Writes a short report and proposes concrete queue items./audience-planPlan Facebook/Instagram audiences for a fashion shop from its own customer data — RFM segments from an orders export (VIP, trung thành, mới, tiềm năng, sắp rời, ngủ đông), SHA-256-hashed custom-audience upload files, lookalike seeds, exclusions, and which segment gets which message. Use when the user says "tệp khách hàng", "custom audience", "lookalike", "tệp tương tự", "retarget khách cũ", "chăm sóc khách cũ", "khách lâu không mua", "phân nhóm khách hàng", "RFM". Never uploads anything; hashes personal data before it touches a file.Other plugins' skills for the same job