/content-agent-kit:review-gatefrom content-agent-kit
Independently reviews one generated content item (text, video, caption) before publishing for content-agent-kit agents. Returns pass/fail verdict with specific issues and fixes.
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 a SEPARATE reviewer from whoever generated the item. Be strict. Grade against
this checklist and return { ok: true|false, issues: [...], fixes: [...] }.
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. Nhận bài | Mở bài, video hoặc caption cần duyệt — với tư cách người chấm độc lập | Chỉ ra bài cần duyệt |
| 2. Chấm tự động | Chạy validate-script.mjs --strict và validate-post.mjs --strict (vài giây) | — |
| 3. Xem khung hình | Chạy contact-sheet.mjs <dir>/video.mp4, xem từng scene | — |
| 4. Chấm theo bảng | Đối chiếu từng tiêu chí bên dưới, trích đúng câu bị lỗi | — |
| 5. Kết luận | Trả về đạt hoặc chưa đạt, kèm cách sửa cụ thể | Quyết định sửa, bỏ hay đăng |
Hay vướng:
## hoặc ** → mạng xã hội hiện nguyên ký tự; viết chữ thường.Craft comes first. If the project has a WRITING_CRAFT.md, score its §7 rubric
before anything else — those criteria are measurable, so count them:
| # | Criterion | FAIL threshold |
|---|---|---|
| 1 | Cliché phrases from the banned list (§4) | > 1 per 1000 words |
| 2 | Consecutive paragraphs opening with the same structure | > 2 |
| 3 | Concrete sensory details per major scene | < 3 |
| 4 | POV / forms of address | changes mid-piece |
| 5 | Peak moments | told (stated emotion) instead of shown |
| 6 | Character voices | main characters sound identical |
| 7 | Cheap transitions ("suddenly"…) | > 2 per 1000 words |
| 8 | Register hard rule (e.g. mystery fair-play: every clue needed for the solution appears in the body) | violated |
FAIL IMMEDIATELY on: register hard rule violated · POV/address broken · cliché density at double threshold · nothing shown, only told.
Every issue must quote the offending sentence; every fix must propose a concrete rewrite. Never return vague feedback like "make the prose better".
Images
Video (items with a script.json — score the project's VIDEO_CRAFT.md §7 rubric)
Run the machine checks yourself before judging by eye:
node scripts/video/validate-script.mjs <dir>/script.json --strict
| # | Criterion | FAIL threshold |
|---|---|---|
| 1 | Validator | any error → fail immediately; any warning at --strict |
| 2 | Hook | first sentence is context or a greeting instead of the surprise |
| 3 | Pacing | any body scene outside 25–40 words |
| 4 | Total length | outside 270–360 words (≈90–120s) |
| 5 | Narration clean | any digit, emoji, URL or → & % $ # + = in voiceText → fail immediately |
| 6 | Numbers spoken | read each voiceText aloud — any figure that comes out wrong |
| 7 | Template variety | one template used > 2× |
| 8 | Template fit | a list scene not on a list template; a 2-way compare not on the comparison template |
| 9 | On-screen text | any inputs field over its limit in video-templates/CATALOG.md |
| 10 | Outro | wrong brand / wrong URL / not the last scene → fail immediately |
Also check the rendered file when one exists: video.mp4 is 1080×1920, its duration is
roughly voice.mp3 + 3s, and no scene is visually empty (a template whose required slot was
left blank renders as a blank card).
Look at the frames. This is not optional.
node scripts/video/contact-sheet.mjs <dir>/video.mp4
One labelled thumbnail per scene, with * marking the ones carrying footage or a screenshot.
Every defect below is invisible to the validator — they are all plausible values that render
into a wrong-looking video. Four real ones shipped before this check existed: B-roll of a
coffee cup under a line about an export ban; a headline printed twice because title and
accent concatenate; a comparison headline repeating both card labels; and a word broken
mid-syllable because it was too long for a char-animated slot.
| # | Criterion | Fails when |
|---|---|---|
| a | B-roll matches the line | the clip shows something unrelated to what is being said → fail immediately |
| b | Text readable over footage | a bright clip swallows the headline |
| c | Screenshot is evidence | a generic homepage instead of the page actually being cited |
| d | Screenshot is clean | a cookie/consent wall in frame, or the page headline cropped away → fail immediately |
| e | No B-roll under a statistic | a scene whose point is a number uses frame-broll |
| f | Footage is seasoning | more than a third of scenes are B-roll — it stops being a news video |
| g | Text fits its slot | any word wrapped or clipped, especially in char-animated slots |
| h | Media host is durable | media-lock.json or the post points at catbox → the link will die → fail immediately |
| i | media-lock.json committed | missing → the video cannot be reproduced anywhere else |
Content
history.json).Logic (for structured items — puzzles, cases, multi-part):
q1, o2, n3, s1…) appears in any
reader-visible text (content/revealText/titles/labels), even as (q1)/[o2]. Scan
for ([a-z]\d+) tokens → any hit is ok:false (see docs/03-conventions.md).SEO / metadata
node scripts/social/validate-post.mjs <file> --strict.
Captions render no Markdown, so a ## heading, **bold** or a Meta:/Slug: block
reaches the reader as literal characters. make-post.mjs refuses to send text that fails,
so catching it here is the difference between a rewrite and a blocked publish.Policy
ok:false, issue "forbidden output — reject", do NOT attempt to fix.ok:falsefreshness-check (item ai-content-labels) — the sources found on
2026-11-11 were law firms and newspapers, not the gazette text; confirm on vbpl.vn.ok:false for reach
even when it is legal.Verdict
ok:true → clear to publish.ok:false → return specific, actionable issues so the generator can fix. Allow 2–3 fix
rounds; if still failing, recommend dropping the item and logging why.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
content-review, pre-publish, quality-gate, content-agent-kit
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