/content-agent-kit:bootstrap-content-agentfrom content-agent-kit
Scaffolds an autonomous content agent from a kit: interviews the user, then generates playbook, knowledge doc, scripts, state, schedule, and runtime skills.
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.
You are turning this kit into a working, project-specific content agent. Work in phases. Do not skip the interview — the answers drive everything you generate.
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. Đọc phương pháp | Đọc docs/01-architecture.md, docs/03-conventions.md và các tài liệu liên quan | — |
| 2. Phỏng vấn | Hỏi theo nhóm: chủ đề, loại bài, nơi đăng, lịch chạy, giọng văn, có làm video/ads không — kèm gợi ý sẵn | Trả lời câu hỏi; chưa chắc thì nhận gợi ý mặc định |
| 3. Dựng dự án | Tạo PLAYBOOK.md, KNOWLEDGE.md, WRITING_CRAFT.md, .env.example, file trạng thái, script, lịch | Cho biết thư mục dự án đích |
| 4. Kiểm tra | Chạy --help từng script, soát một caption bằng validate-post.mjs --strict, quét lộ khoá bí mật | — |
| 5. Bàn giao | Đưa cây thư mục đã tạo, cách điền .env, cách chạy lần đầu | Điền khoá vào .env (không dán khoá vào chat) |
Hay vướng:
.env trên máy.Read docs/01-architecture.md and docs/03-conventions.md in full. Then skim
docs/02-playbook-spec.md, docs/05-publishing.md, docs/06-scheduling.md,
docs/07-review-gate.md, docs/08-audit-maintain.md, docs/10-crawl-discovery.md and
docs/11-social-posting.md.
If the agent will make video, also read docs/20-video-backends.md; if it will use skills or
connectors from elsewhere, docs/17-skills-registry.md and docs/18-ads-and-marketing.md.
Internalize the six parts (playbook / knowledge / state / scripts / discovery / schedule)
and the non-negotiable conventions (env-only, review-gate, idempotent, cleanup).
Ask (batch related questions; propose sensible defaults):
omnivoice needs a local server); whether scenes should
use real footage (needs a Pexels or Pixabay key) and screenshots (needs nothing extra
— Chrome is already required); and where finished video is hosted (r2 is the default;
never catbox for anything published). Confirm the render machine has FFmpeg and
Chrome — GitHub Actions cannot do this step at all (docs/06-scheduling.md).
6c. Personal or business? This picks a profile (VIDEO_BACKEND plus profiles/personal.json or
profiles/business.json): backend, voice, palette, brand slots and a spend ceiling.
Both default to the free html backend — only move to api for a deliberate hero video,
never for a daily queue (Veo bills $0.40/s, so a 60-second video is $24)..mcp.json has
Pipeboard servers for Meta/Google/TikTok/Snap/Reddit and the ads-report skill turns
what they report into next week's queue. Warn them those connections are read AND
write on live accounts.
8b2. Facebook / Meta ads (optional) — do they run paid social themselves (shop, fashion,
e-commerce)? If yes, docs/28-facebook-ads.md maps the work to eight skills that all run
offline on Ads Manager exports, with scripts/ads/*.mjs doing the counting and
templates/VN_RETAIL_CALENDAR.template.json holding the Vietnamese sale calendar. Ask for
the brand voice for comment replies and whether they have customer consent before any
order file is touched (Nghị định 13/2023).
8c. Images (optional) — do they need campaign visuals rather than stock photos? Canva's
MCP is declared in .mcp.json, and the design-campaign skill exports a file, not a
Canva link. Ask which plan they are on: resize needs Pro, autofill needs Enterprise, so
the canvas size has to be decided before designing.From templates/ + scripts/, produce:
PLAYBOOK.md — fill templates/PLAYBOOK.template.md with the interview answers.WRITING_CRAFT.md — fill templates/WRITING_CRAFT.template.md (see docs/12-writing-craft.md).
Start from templates/INDUSTRIES.template.json. Its theme field is the vertical's
palette preset — write it into the agent's VIDEO_CRAFT.md and every script.json
(docs/25-palettes.md). Find the user's vertical, and use its
post.types to fill the register sections, post.proof to define what evidence looks like
here, and post.avoid for the banned list. If the entry has a legal block — healthcare,
finance and property all do — copy those rules in with their source links. They are the
difference between a post that is merely weak and one that costs a fine.
Write it in the publication language, one register section per content type, a concrete
banned-cliché list, and 2–3 BEFORE/AFTER pairs you author yourself (never copy copyrighted
prose). End with the §7 rubric using countable fail thresholds. This file is what stops
the output from reading like AI — do not skip or stub it.KNOWLEDGE.md — fill templates/KNOWLEDGE.template.md with the real API contracts..env.example — only the env keys this agent needs (copy from kit .env.example, trim).history.json, ledger.json (if serialized), queue.json — start from the
examples in templates/state/.scripts/ (publish/append/update/queue-client/
social/scheduler/crawl). Adjust default endpoint paths (--path / QUEUE_PATH) to the
user's API. Do NOT hardcode secrets — env-only.VIDEO_CRAFT.md — fill templates/VIDEO_CRAFT.template.md, written in the
publication language. §5 (voice + banned narration clichés) is the part only the user can
answer; §2's number table stays as-is for Vietnamese, and must be rewritten for any other
TTS language.scripts/video/ AND scripts/media/ (whole folders, including their
lib/), plus video-templates/ (all templates and every NOTICE.md —
attribution is a licence condition — and the root NOTICE.md too).
Without scripts/media/ the render cannot resolve B-roll or screenshots and cannot
upload anything.templates/VIDEO_SCRIPT.template.json as the writer's starting point,
templates/VIDEO_GENRES.template.json (scene sequences for review / tutorial / news /
listicle / testimonial — it answers "which frames, in what order", which the catalogue
does not), and templates/stock-sources.yaml.template if they want clips from sites with
no API.profiles/ and set its brand fields from the
interview. Leave a brand field EMPTY rather than guessing — an empty slot is dropped,
a guessed one is published..env.example: TTS_PROVIDER + that provider's key copied
verbatim from the kit's .env.example (vbee's is VBEE_TOKEN, not VBEE_API_KEY —
this exact mismatch shipped once and made vbee unusable for anyone following the docs),
MEDIA_HOST (default r2) + its keys, PEXELS_API_KEY / PIXABAY_API_KEY if using
B-roll, and SOCIAL_PLATFORMS.node scripts/media/host-check.mjs and
node scripts/video/tts-check.mjs before the first real render — both fail loudly
on a misconfigured key, which is much cheaper than finding out mid-render.sources.yaml from the template + crawl.py + the cron
workflow from templates/workflows/crawl.yml.template.schedule-prompt.md — from the template, wired to this agent's phases..claude/skills/: daily-run,
review-gate, crawl-and-queue (if crawling), audit-and-fix, plus create-video and
video-and-post and research-and-capture if the agent makes videos, topic-radar +
daily-topic-video if the agent works from a topic the user names each morning rather
than from a crawled queue (they need no keys — every source is keyless — and
daily-topic-video is the whole radar→video→publish chain in one ask),
competitor-analysis when the user names rival channels or sites (keyless: YouTube feeds
and any RSS site; it writes the topic gaps against this agent's own history.json),
ads-report (it works with no ad spend too — pasted numbers), repurpose if they publish
to more than one channel, geo-optimize if anything they publish is meant to be found —
it carries scripts/geo-audit.mjs, which gates a draft on whether a passage still means
anything once an answer engine quotes it alone — and
design-campaign if Canva is connected, talking-head-edit if the user films themselves (cuts fillers and retakes by the transcript,
cards landed on the spoken word, a ducked music bed), story-video whenever the agent makes videos (brand,
customer and history stories on the frame-story-* set — fetch its sounds once with
node scripts/video/sfx-cc0.mjs), and for an agent that runs Meta ads the ads set:
ads-creative-lab, ads-fatigue-watch, ads-comment-triage, ads-policy-check (wire it
into the review gate for ad copy — policy-lint.mjs exits 2 on a block), catalog-feed-audit
if they run catalog/Advantage+ ads, audience-plan, ugc-koc-brief if they work with KOCs,
and promo-calendar. Always install freshness-check: daily-run, video-and-post and
ads-policy-check call it first, so platform limits, ad law and AI-label rules are re-checked
against the web whenever they have expired. performance-review once the agent has posted
for a couple of weeks: it reads the channel's real numbers and writes brain/insights.md, which
create-video and topic-radar read before planning. For a user who does not code, point them
at creator-start — it asks what they have and routes them. For a user working on the brand
itself — insight, positioning, a campaign, community, retention — install brand-lessons
(docs/32-bai-hoc-thuong-hieu.md): eight methods learnt from Grab, Biti's Hunter, PNJ, Cocoon,
Vinamilk, MoMo, Highlands Coffee and Coca-Cola, turned into an interview on their own brand.
For an agent that also serves viewers in another language, install localize-video: an
English (or other) version of each video, with every on-screen line checked against its frame.
new-template and motion-craft belong in a kit checkout rather than a generated agent:
they edit video-templates/ and the gates around it, which a downstream agent does not own.node scripts/install-skills.mjs --list shows an SEO
auditor, design skills, Opus 5.5 code-video & media skills (opus-55-videos,
opus-video-skills, opus-video-styles, motion-video-kit, explainroo, video-lens),
and marketing skills, fetched on demand rather than vendored. Suggest seo and
mkt-context (plus opus-55-videos and opus-video-styles for video agents) as the ones
with the broadest payoff. On Antigravity, tell the user the scheduled task
should say "Read PLAYBOOK.md and execute today's phase".node -c each generated .mjs; python -m py_compile crawl.py if present.--help to confirm it loads (env-only; missing env → clear error).node scripts/social/validate-post.mjs <file> --strict.
Captions render no Markdown, so a ## heading or a Meta:/Slug: block reaches the reader
verbatim. make-post.mjs refuses to send text that fails, so a writer who does not know
this will hit the wall at publish time rather than at write time.docs/09-security.md)..env, and how to trigger the first run..env.example.contact-sheet.mjs and actually look.
Two templates once rendered landscape inside a 9:16 video with the render succeeding and
the validator passing — only the contact sheet caught it.Antigravity note: this file is also a plain instruction doc. Follow the phases directly; "copy skills into
.claude/skills/" becomes "keep theSKILL.mdfiles as reference docs the scheduled agent reads."
What SKILL.md sets; muted values are Claude Code's defaults
32 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.npx claudepluginhub xuho-it/content-agent-kit --plugin content-agent-kitOther plugins' skills for the same job