/content-agent-kit:design-campaignfrom content-agent-kit
Creates branded campaign visuals in Canva via the Canva MCP server and exports them as local files for downstream posting and video pipelines.
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.
The kit can already put an image on a post and inside a video frame. What it could not do is make one — stock search finds photographs, screenshots capture a page, and neither produces a branded campaign visual.
This does that in Canva and hands back a file on disk, because everything downstream —
make-post.mjs, video/render.mjs — takes a path or a URL, not a Canva design link.
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. Kiểm tra Canva | Xem server canva đã kết nối chưa | Gõ /mcp và đăng nhập Canva nếu chưa |
| 2. Chốt kích thước | Hỏi ảnh dùng cho đâu: bài đăng 1080×1080, ảnh bìa 1080×1920… | Chọn mục đích dùng ảnh |
| 3. Lấy màu thương hiệu | Đọc PLAYBOOK.md / theme-map.json / brand kit Canva | Gửi logo hoặc mã màu nếu chưa có |
| 4. Thiết kế | Tạo và chỉnh thiết kế trong Canva | Góp ý bản nháp |
| 5. Xuất file | Lưu PNG vào brain/<slug>/design/ | — |
| 6. Gắn vào bài | Đưa đường dẫn file cho make-post.mjs hoặc scene video | Duyệt trước khi đăng |
Hay vướng:
/mcp rồi chạy lại.The canva server in .mcp.json must be connected (/mcp in Claude Code). If it is not,
say so and stop — do not silently fall back to a stock photo and call it a campaign visual.
Know the plan limits before designing around them:
| Capability | Plan |
|---|---|
| Generate, edit, search, upload, comment, export | any, including free |
| Resize a design to another aspect | Pro and above |
| Autofill a template from data | Enterprise |
Autofill is an accelerator, never a required step. If it is unavailable, generate and edit directly — the output is the same, it just takes more turns. Design the workflow for the free plan and use the rest when it is there.
Resizing is a paid feature, so producing the wrong canvas costs a redo. Ask what the asset is for, then create at the final size:
| Use | Canvas | Where it goes |
|---|---|---|
| Post image | 1080 × 1080 | make-post.mjs --image |
| Story / Reel cover | 1080 × 1920 | make-post.mjs --thumbnail |
| Video frame asset | 1080 × 1920 (9:16) or 1920 × 1080 (16:9) | a scene.inputs image slot |
| Carousel | 1080 × 1080 × N | one call per slide |
Match the aspect of the video the asset is going into. A 16:9 image dropped into a 9:16 frame is either letterboxed or cropped through the subject, and neither is decided by you.
Check, in this order, and stop at the first that answers:
PLAYBOOK.md — brand colours and voice usually live therevideo-templates/theme-map.json — if the video side already has a theme, the image must
match it or the two will not sit together in one postbrandkit skill, if installed (node scripts/install-skills.mjs brandkit)Never invent a palette when one of these has an answer. A post whose image and video disagree about the accent colour reads as two different accounts.
Export into brain/<slug>/ beside that item's other artifacts, matching where
create-video and research-and-capture already put things:
brain/<slug>/
├── script.json
├── shots/
└── design/
├── post-1080.png
└── cover-1080x1920.png
PNG for anything with text — JPEG artefacts around type are visible at the sizes social platforms re-encode to. JPEG only for a photographic background with no overlaid text.
# post image
node scripts/social/make-post.mjs --post caption.txt --image brain/<slug>/design/post-1080.png
# video cover
node scripts/social/make-post.mjs --video brain/<slug>/video.mp4 \
--thumbnail brain/<slug>/design/cover-1080x1920.png --post caption.txt
For an asset used inside a video, put the exported path in the scene's image input and
re-run validate-script.mjs before rendering — a missing file fails five minutes into a
render otherwise.
Append to brain/<slug>/report.md: what was designed, the canvas size, where it was
exported, and the Canva design id. The id is what makes the asset editable later; without
it a revision means starting over.
A new look is a repositioning. When the ask is a rebrand or "làm mới thương hiệu", run brand-lessons → vinamilk first: keep the assets customers already recognise, change what has aged, say why, change every touchpoint at once (docs/32-bai-hoc-thuong-hieu.md).
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./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