/content-agent-kit:daily-runfrom content-agent-kit
Executes a daily content run for content-agent-kit: reads PLAYBOOK.md, determines today's phase, writes articles, creates videos, runs review gate, publishes, schedules, and reports.
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.
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 |
|---|---|---|
| 0. Kiểm cập nhật | freshness-check: chính sách nền tảng, luật quảng cáo, thông số đăng đã cũ thì tra bản mới (bỏ qua nếu còn mới) | Duyệt nếu có thay đổi về luật |
1. Đọc PLAYBOOK.md | Đọc lại toàn bộ, xác định hôm nay làm phần việc nào | — |
| 2. Lấy ý tưởng | Nếu có crawl: node scripts/queue-client.mjs pull | — |
| 3. Viết | Mỗi bài một người viết (subagent), theo WRITING_CRAFT.md; bỏ bài trùng | — |
| 4. Video (nếu có) | Dựng video ngay bằng create-video (3–5 phút/video) | — |
| 5. Kiểm duyệt | Mọi bài qua review-gate; sai thì sửa tối đa 2–3 vòng, không được thì bỏ và ghi lại | — |
| 6. Đăng và lên lịch | node scripts/publish.mjs <file>.json, lịch mạng xã hội qua build-queue.mjs | Duyệt lần cuối nếu PLAYBOOK yêu cầu |
| 6b. Số liệu (hằng tuần) | performance-review: nhập số liệu kênh, cập nhật brain/insights.md để lần làm sau học từ kết quả thật | Xuất file CSV từ TikTok/Meta/YouTube Studio |
| 7. Báo cáo | brain/<id>/report.md: đã làm / đã duyệt / đã đăng / đã bỏ; dọn file tạm | Đọc báo cáo |
Hay vướng:
PLAYBOOK.md → chạy bootstrap-content-agent trước.409 khi đăng → bài đã đăng rồi, không phải lỗi; agent ghi nhận và đi tiếp..env rồi chạy lại.freshness-check skill (node scripts/maintenance/freshness.mjs --stale). Stale platform rules or ad law are researched and renewed before anything is written or posted; nothing stale → one line, move on.PLAYBOOK.md in the project (the source of truth). Re-read it fully — do not
rely on memory.node scripts/queue-client.mjs pull → work
from queue_raw.json.WRITING_CRAFT.md first
(§1 universal principles + its register §2/§3 + the banned-cliché list §4) and self-check
against §6 before submitting. Each produces content + images + metadata per the §4 schema.
Check history.json — skip duplicates.
4b. Video items (if the PLAYBOOK calls for any) — invoke create-video (writer reads
VIDEO_CRAFT.md + video-templates/CATALOG.md, writes script.json, validates with
--strict, renders). Render now, not at the posting slot: a render takes 3–5 minutes,
so doing it here keeps the scheduled post instant. Keep the resulting videoPath.review-gate skill / an independent
review subagent on every item. Pass → continue. Fail → fix (2–3 rounds) → drop + log.
Reject any forbidden output on sight.node scripts/publish.mjs <file>.json; chapters →
node scripts/append.mjs <file>.json. Treat 409 as already-done. Record ids in
ledger.json / titles in history.json.node scripts/scheduler/build-queue.mjs items.json →
register/run per docs/06. Never post restricted types (see PLAYBOOK).
Video items go in as type:"video" carrying videoPath + post / comment / title /
hashtags / platforms — see templates/state/queue.example.json.brain/<id>/report.md (§7b): made / reviewed / published / dropped.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.Other plugins' skills for the same job