design-campaign
Skill3 starsChanged 3 months agoMITView on GitHub
Produce campaign visuals in Canva through the Canva MCP server and hand the exported files to this kit's posting and video pipelines, for an agent built with content-agent-kit. Use when the user asks for a post image, a carousel, a thumbnail, a cover, or "make the visuals for this campaign". Exports a real file path, not a Canva link.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ads-reportSkill
- audit-and-fixSkill
- bootstrap-content-agentSkill
- crawl-and-queueSkill
- create-videoSkill
- daily-runSkill
- daily-topic-videoSkill
- geo-optimizeSkill
- motion-craftSkill
- new-templateSkill
- repurposeSkill
- research-and-captureSkill
- review-gateSkill
- topic-radarSkill
- video-and-postSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Check, in this order, and stop at the first that answers:
- Distinctive: line 57
Never invent a palette when one of these has an answer.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Campaign visuals via Canva
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.
Before you start
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.
1. Decide the sizes before opening Canva
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.
2. Use the brand that already exists
Check, in this order, and stop at the first that answers:
- the project's
PLAYBOOK.md— brand colours and voice usually live there video-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 post- the
brandkitskill, if installed (node scripts/install-skills.mjs brandkit) - the Canva brand kit on the account
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.
3. Export to the working directory
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.pngPNG 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.
4. Hand off
# 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.txtFor 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.
5. Report what you made
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.
What not to do
- Do not put a Canva share link where a file path belongs. Downstream scripts upload a file or fetch a URL; a design link is neither, and it fails at the webhook rather than here.
- Do not design at one size and resize later unless the account has Pro. Plan the canvas.
- Do not put the whole caption in the image. Text in an image is not searchable, not translatable and not readable to a screen reader. The caption field exists.
- Do not use someone else's brand assets because they were in the template. That is the same mistake the vendored video templates shipped with — a default that quietly published another project's URL on your video.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

