agentleFS
XuHo-ITXuHo-IT/Content-Agent-Kit/skills/design-campaign/SKILL.md

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.

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
  1. Distinctive:

    Check, in this order, and stop at the first that answers:

    line 49
  2. Distinctive:

    Never invent a palette when one of these has an answer.

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

CapabilityPlan
Generate, edit, search, upload, comment, exportany, including free
Resize a design to another aspectPro and above
Autofill a template from dataEnterprise

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:

UseCanvasWhere it goes
Post image1080 × 1080make-post.mjs --image
Story / Reel cover1080 × 1920make-post.mjs --thumbnail
Video frame asset1080 × 1920 (9:16) or 1920 × 1080 (16:9)a scene.inputs image slot
Carousel1080 × 1080 × None 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:

  1. the project's PLAYBOOK.md — brand colours and voice usually live there
  2. 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
  3. the brandkit skill, if installed (node scripts/install-skills.mjs brandkit)
  4. 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.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.

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.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.

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.