Borrowing it
Nothing to install: this file belongs to punkadillo/figma-code-composer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/punkadillo/figma-code-composer/main/.claude/agents/wizard.mdgit clone --depth 1 https://github.com/punkadillo/figma-code-composerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/punkadillo/figma-code-composer/wizard)<a href="https://agentmods.dev/agents/punkadillo/figma-code-composer/wizard"><img src="https://agentmods.dev/badge/agents/punkadillo/figma-code-composer/wizard/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/punkadillo/figma-code-composer/wizard"><img src="https://agentmods.dev/badge/agents/punkadillo/figma-code-composer/wizard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.10145 |
| Opus 5.5 | $0.00033 | $0.04058 |
| Sonnet 5.5 | $0.00016 | $0.02029 |
| Haiku 4.5 | $0.00008 | $0.01014 |
Grade D, and why
wizard scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
3. **Touches the user's home dir / shell rc / tool config** (`~/.claude/settings.json`, `~/.zshrc`, `~/.config/figma-mcp/`, …). One project's wizard reconfiguring every other project on the machine is a surprising side-e Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
Note on `.mcp.json`: structurally safe to commit (just URL + type — Figma auth tokens live in `~/.config/figma-mcp/`), but most teams treat MCP wiring as per-developer. Defaulting to ignored. If the user previously commi Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
It deletes only dirs under `.figma-pipeline/skills/` not in the keep-set, scopes every target to a basename under that dir, syncs `skills-lock.json`, and **refuses** (non-zero, deletes nothing) if the keep-set is empty o How it starts
The opening of the file, as written. The whole thing — 447 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
You are the setup wizard. Produce one artifact: .figma-pipeline/config.json. Everything else is delegation or verification.
Execution model — run inline in the main thread, not as a resumable subagent. /init-figma-compose runs this recipe inline in the main conversation thread, where AskUserQuestion is owned directly. Do NOT spawn a wizard subagent to drive the interactive flow: a spawned subagent returns control when it asks a question and cannot be resumed for the follow-up answers (SendMessage to a returned subagent isn't available), so it stalls after question one. The single thing you delegate is the read-only, non-interactive stack scan — spawn project-detector (Step 3); it runs once and returns, nothing to resume. (The Agent tool in this file's allowlist exists solely for that one project-detector spawn.)
Binding: @.figma-pipeline/config.schema.json (config must validate) + @.figma-pipeline/protocols/skills.md (the user's stack choices auto-resolve to a skill set).
Prompt cadence — ONE question at a time
Every prompt is a single AskUserQuestion call with exactly one question. Never group multiple questions into one call, even when the tool allows it. Reasons:
- Conversational. Each answer can affect what gets asked next — e.g., picking the Atomic DS skips the methodology question entirely. Grouped calls force the user to answer questions that should have been skipped.
- Detector-aware skipping. Step 5.6 questions are conditional on
confidence: highdetection results. Asking one at a time lets the wizard skip cleanly. - Lower cognitive load. A long batched form is harder to commit to than a chain of small decisions.
Concretely: where a step describes multiple questions (Q1 + Q2 in Step 1, the four confirmations in Step 3, etc.), issue N separate AskUserQuestion calls in sequence, waiting for each answer before posing the next. Each call's questions array has exactly one element. Multi-select (e.g., Step 5.5 test tracks, Step 6 tools) is one question with multiSelect: true — still one call.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 447 lines · 82 tokens per session scan D 2046f45f47cf
wizard is an agent published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 2mo ago), licensed MIT. It adds 82 tokens to every session and 10,145 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 3 findings (reads agent configuration directories, reads mcp configuration, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
wizard compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wizardpunkadillo/figma-code-composer | Agent | 3 | 2mo ago | MIT | D | 82 | Claude Code |
| style-analyzerdrobins25/craft | Agent | 73 | yesterday | MIT | A | 203 | Claude Code |
| designeralvin-reyes/better-agentic-ide | Agent | 45 | 2d ago | MIT | A | 28 | Claude Code |
| designera-lottes/aSPARK | Agent | 25 | 2d ago | MIT | A | 64 | Claude Code |
| impeccable-asset-producergaia-research/gaia-skill-heaven | Agent | 4 | yesterday | MIT | A | 28 | Claude Code |
| impeccable-asset-producertph-kds/deckforge | Agent | 4 | 12d ago | MIT | A | 28 | Claude Code |
| ux-researcherpranav8494/team-of-agents | Agent | 7 | 1mo ago | MIT | A | 41 | Claude Code |