Brand GIF Studio
Turns a brief like "make an animated graphic of how we onboard a new customer, for our website" into a looping 800x1000 GIF in the user's brand, with an MP4, a poster PNG and a self-contained HTML file. The proven message every GIF carries: tools are commodities; the business's own steps and decisions are what make it different. Make the business's steps the brightest, most legible thing on the canvas and show their tools as logo tiles around them.
Run every command from the user's project folder and call the scripts by their full path in this skill's folder (shown below as scripts/...), so output lands in the project, not in the skill. <workDir> is the output folder for one brand; the default is ./gif-studio-output/<brand-slug>/.
How to work with the user
- First message: one line on what you are doing, then start.
- Confidence gate. Act on anything you are at least 95% sure is right. Below 95%: if it blocks the work, ask; if it does not, leave it open as a decision and keep building the rest. Never fill a gap with a guess.
- Questions: 1 to 3 at the start, one at a time, each with a recommended answer the user can accept with "yes". Explore files, connected tools and public sources first; never ask what you can look up. On the First run, its 3 to 5 questions replace these.
- Decisions: numbered, with lettered options, recommended first and marked with its confidence: "1. . 1A (recommended, 75%) ... 1B ... 1C". User replies "1A, 2B".
- Show confidence as a percentage next to any finding, number or recommendation below 95% (for example "Accent #2f7de1 from the site CSS (70%)").
- Approvals: ask before any action outside the user's own files (see Approvals below).
- Final reply: the result (with real file paths or links), what was checked, open decisions in the 1A format, one next step. No recap of the steps.
First run
Run this when <workDir>/brand-gif-studio-profile.md is missing for the brand the user names (or the only brand under ./gif-studio-output/; several brands and none named: ask which). Never rerun it once the profile exists; offer "update my setup" instead, which re-asks only the question the user names, saves the answer to both files and reruns python3 scripts/make_kit.py <workDir>/kit. If a complete kit/brand.json (it has a proof_points key) exists but the profile does not, write the profile from brand.json, read it back and skip the questions. In Claude.ai, where files do not last between chats, an uploaded brand-gif-studio-profile.md counts as the profile: rebuild kit/brand.json from it and skip the questions.
Explore first. If you know the company's website, run python3 scripts/brand_from_site.py <url> <workDir>/kit and draft from what it finds (add --force when a draft brand.json is already there, or the detector writes brand.detected.json instead). Then ask, one question per message, each with a recommended answer the user can accept with "yes". Ask at least 3 and at most 5, in this order. Skip a question only when the user already answered it or the site answered it with high confidence; when the site answered most of the brand, still show the detected logo and colors in question 2 or 3 so the user confirms them. Treat as not high confidence: _detected.confidence or _detected.logo_confidence below high, and any _detected.fonts_from value of default or a close match.
- Company name and website, if you don't have them. Recommend the domain of their email or company name if you know one; else recommend "no site, I'll upload a brand kit" (
urlstays empty). - Logo. Ask them to upload a PNG or SVG. Recommend the detected logo when it is crisp (not a favicon); else recommend "no logo yet, show the name as text".
- Brand colors, fonts and theme. Ask them to upload a brand guide or paste hex codes. Recommend the detected accent and fonts, naming any font that is only a close match; with nothing detected, recommend Fraunces, Inter and JetBrains Mono and ask for the accent hex. Include dark or light theme only if the site does not make it obvious (recommend dark for feed GIFs).
- Approved results to show, each with its label ("Client results", "2025 average"). Ask them to upload a case study or paste them. Recommend "none for now"; an empty list means no results on any GIF.
- Call to action for the footer, for example "Book a call" and a link. Recommend their booking or contact page if the site has one; else recommend "none, show my website".
User-supplied values beat detected ones. When you start from assets/brand.example.json, clear every field the user or the site did not supply (its name, url, colors, fonts, tagline, logo and cta fields are all samples). Then:
-
Save
<workDir>/kit/brand.json: results go inproof_points(a list of{text, label}), the call to action incta({text, url}, both empty for none), logo files in<workDir>/kit/brand/. Field details:references/brand-intake.md. -
Run
python3 scripts/make_kit.py <workDir>/kitand tell the user about any "WARNING under 4.5". -
Save
<workDir>/brand-gif-studio-profile.mdin this shape:# Brand GIF Studio profile - Company: <name> - Website: <url or none> - Logo: <file name, or text only> - Colors: accent <hex>, highlight <hex or derived>; theme <dark or light> - Fonts: <display> / <body> / <mono> - Results: <"text" (label); ... or none> - Call to action: <text and link, or none> - Kit: <workDir>/kit -
Check that both files exist, read the profile back in one line ("Using , accent , theme, headlines, CTA "), then do the task the user asked for.
-
In Claude.ai, give the user
brand-gif-studio-profile.md(and their logo file) to download and ask them to upload both with later requests.
Done when the profile and brand.json both exist with name, theme, colors.accent, all three fonts, url (or empty because there is no site), proof_points (an empty list is allowed) and cta set from the user, an accepted recommendation or a high-confidence detection, and the user has seen the read-back.
Workflow
-
Check the setup once per machine. Run
bash scripts/doctor.sh. It prints the exact fix for anything missing (Node, ffmpeg, Python, Playwright, Chromium). Ask the user before installing anything on their computer. If a tool cannot be installed (for example in a locked-down sandbox), say exactly what is missing and stop before rendering. -
Brand profile. Look for
<workDir>/brand-gif-studio-profile.md. Found: read it back in one line and go to step 3. Missing: do the First run above, then continue with the user's task. A kit is reusable: for the next GIF in the same brand, reuse<workDir>/kit. -
Gather true content. Read
references/content-rules.md. Work out the steps, who or what makes each decision, and which tools the business really uses. Use only what the user told you or their own site states. If a key fact is missing, ask one short question. Never invent metrics or customer names. -
Pick a format. Read
references/formats.mdand choose one of five (skills grid, journey route, isometric stack, product flow, record router). If the brief is vague, choose the format that makes the business's own steps most visible and say which one in one line, with its confidence if below 95%. Only ask if two readings would produce very different GIFs. -
Start from the template. Run
python3 scripts/start.py <format> <workDir> <name>. It copies the template with the brand lockup, tagline, url and call to action filled in. Then edit<workDir>/<name>.html:- Rewrite all sample copy (headline, standfirst, steps, cards, mock UI, chip counts) for the user's prompt.
- Mark the business's own steps with
data-mark="brand"; tools with their logo key. Add a missing tool withpython3 scripts/add_logo.py <workDir>/kit <key> <domain>. - Use only kit colors and fonts (
var(--...),BrandDisplay/BrandBody/BrandMono); never hardcode a hex value. - Delete the
SAMPLE-COPYcomment once no sample copy remains.
-
Render. Run
node scripts/render.cjs <workDir>/<name>.html <workDir>/frames-<name>(6 s, 15 fps, 2x). The JSON it prints must showerrors: [],fontsNotLoaded: []andoffCanvas: []. -
Look at the frames yourself (at least 4 as images, including f0000 and f0089). Fix collisions, orphan words, dead space, two items looking active at once, and a blurry or invisible logo. Read
references/design-rules.mdfor the full checklist and the motion rules the renderer depends on. Iterate until it is clean. -
Package. Run
python3 scripts/package.py <workDir>/<name>.html <workDir>/frames-<name> <workDir>/final <name> --poster 30. It writes the GIF, MP4, poster and an inlined HTML, and refuses to finish if a dash, an unfilled placeholder, the SAMPLE-COPY marker, a brand banned word or an un-inlined local file remains. -
Show the GIF (attach the file, or serve
<workDir>/finalover http://127.0.0.1 if the preview pane blocks local files), then reply per the contract: files and sizes, what you checked, anything approximated (for example a look-alike font) as an open decision, a one-sentence alt text if it is going on a website, and one next step.
Approvals
The skill reads public pages (the company's site, Google Fonts and Google's favicon service) and writes files in the project folder. It spends no credits and calls no paid service. Ask the user, and wait for a yes, before each of these:
- Posting the GIF to LinkedIn or any social account.
- Uploading it to a website, CMS or file share, or sharing a link to it.
- Emailing or messaging it to anyone.
- Deploying or hosting the HTML anywhere other than a local http://127.0.0.1 preview.
- Installing software on the user's computer (the fixes doctor.sh prints).
- Any paid service, credits or API key, if the user asks to add one.
Say "saved" or "rendered" only after checking the file exists, and "posted", "sent" or "live" only after the user confirms it or you have checked it.
Defaults
- One GIF per request unless asked for a set. For a set, keep one visual system and one kit across all of them.
- 800x1000 suits feeds and website sections. For a different size, pass width and height to render.cjs and
--w/--hto package.py, and rework the layout; templates are designed for 800x1000. - If the GIF is over 5 MB, render at 12 fps and package with
--fps 12, or reduce the animated area.
When something goes wrong
| Symptom | Fix |
|---|---|
| Site fetch fails or returns nothing useful | Ask First run questions 2 to 5 (logo, colors and fonts, results, call to action); fill brand.json only from the answers. |
| Logo looks blurry | The site only has a small favicon. Ask for a PNG or SVG logo and point logo at it, then re-run make_kit. |
| Dark wordmark invisible on dark theme | Set logo_invert: true or use the light theme. |
| Headline font looks wrong | Detected font was a paid font mapped to a look-alike. Ask for the closest Google font or accept the look-alike. |
fontsNotLoaded not empty | Offline or a misspelt Google Fonts name. Fix the name in brand.json and re-run make_kit. |
| Console error "No logo for X" | Run add_logo.py for X. |
| doctor.sh reports Chromium or ffmpeg missing and nothing can be installed | Tell the user which tool is missing; do not render. Claude Code on their own computer is the most reliable place to run this skill. |
| Preview pane shows an unstyled page | Normal for raw templates; judge the rendered frames or the packaged HTML. |
Why the rules exist
Each rule in the references came from a rejected draft: invented metrics, raw tool names instead of logos, three panels fighting for attention, many cards glowing at once because a keyframe lacked an end value, hardcoded colors that leaked one brand into another, and a preview pane that showed the unstyled template so the work looked broken.
Shared free by MBC (mbc-partners.com).