Export brand guide
brand_exportExports the compiled brand system into portable native formats for AI chats, code editors, team guidelines, CSS, Tailwind, and PDFs. Use after compiling to share or embed a consistent brand wherever needed.
Instructions
Bundle the compiled brand system into a portable artifact in a destination's native format. Use when asked 'share my brand', 'export for ChatGPT/Cursor/Codex/team', 'add the brand to AGENTS.md', 'Cursor rules', 'CSS variables', 'Tailwind theme', 'shadcn theme', 'generate brand guidelines', or 'create a brand PDF'. Targets: 'chat' (markdown for any AI conversation), 'code' (MCP config + CLAUDE.md snippet), 'team' (human guidelines), 'email' (~500-word summary), 'claude-skill' (SKILL.md with embedded logo), 'pdf' (branded guide), 'agents-md' (AGENTS.md section), 'cursor-rules' (.cursor/rules/brand.mdc), 'css-variables' (:root --brand-* + dark block), 'tailwind' (v4 @theme CSS), 'shadcn' (shadcn/ui :root/.dark variables). CSS targets are generated from the compiled DTCG tokens. Writes to .brand/exports/ and returns the full content (text targets) or a generation summary (pdf). Requires brand_compile to have run first. NOT for previewing one section — use brand_preview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "brand_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Where this export will be used — pick the host's native format. 'chat': upload to AI conversation (Claude/ChatGPT/Gemini). 'code': MCP config + CLAUDE.md snippet. 'team': share with designers/writers. 'email': send via Slack or email. 'claude-skill': persistent Claude skill file with embedded logo + brand rules. 'pdf': brand guide PDF with swatches, type, rules, voice. 'agents-md': AGENTS.md section for Codex/Cursor/any AGENTS.md-reading agent. 'cursor-rules': .cursor/rules/brand.mdc (auto-attached to UI files). 'css-variables': :root { --brand-* } custom properties with a dark-theme block. 'tailwind': Tailwind CSS v4 @theme { --color-brand-*, --font-brand-* }. 'shadcn': shadcn/ui :root + .dark theme variables (--primary, --background, --ring, --radius ...). Example: 'tailwind'. | |
| include_logo | No | Embed logo SVG/data URI in the export. Set false to reduce file size. Default: true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _metadata | Yes |