Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/generous-corp/pulp/import-designgit clone --depth 1 https://github.com/Generous-Corp/pulpWrote 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/commands/generous-corp/pulp/import-design)<a href="https://agentmods.dev/commands/generous-corp/pulp/import-design"><img src="https://agentmods.dev/badge/commands/generous-corp/pulp/import-design.svg" alt="Measured on agentmods" 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.00000 | $0.03039 |
| Opus 5 | $0.00000 | $0.01520 |
| Sonnet 5 | $0.00000 | $0.00608 |
| Haiku 4.5 | $0.00000 | $0.00304 |
Grade A, and why
import-design scanned grade A with 0 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Import a design from an external tool (Figma, Stitch, v0, Pencil, Claude Design, DESIGN.md, or React JSX) into this Pulp project.
Detect which design source the user wants by checking:
- If a Figma MCP server is available (com.figma.mcp), offer to read the current file/selection
- If Stitch MCP is available (mcp__stitch__*), offer to list projects and get screens
- If Pencil MCP is available (mcp__pencil__*), offer to read the current editor state
- If the user mentions Claude Design or hands over a manually-exported HTML/zip from Anthropic Labs' Claude Design tool, treat as
--from claude(no MCP — manual export only, see pulp #468) - If the user provides DESIGN.md, treat it as
--from designmd - If the user provides a precompiled JSX runtime bundle, treat it as
--from jsx - If the user provides a file path or URL, use that directly
- If none of the above, ask the user for a source and file
Workflow
Step 1: Identify source and input
Ask the user or detect from context:
- Source: figma, stitch, v0, pencil, claude, designmd, or jsx
- Input: file path, URL, or MCP live data (manual file only for claude; precompiled bundle only for jsx)
Step 2: Read the design data
Figma (MCP available):
- Use
com.figma.mcpto read the current file or selection - Extract frames, auto-layout, fills, strokes, effects, text, components
Stitch (MCP available):
- Use
mcp__stitch__list_screensto show available screens - Use
mcp__stitch__get_screento read the selected screen - Extract component tree, inline styles, design system tokens
Pencil (MCP available):
- Use
mcp__pencil__get_editor_stateto check current file - Use
mcp__pencil__batch_getto read the node tree - Use
mcp__pencil__get_variablesfor design tokens - Use
mcp__pencil__get_style_guidefor style references
v0 (URL or TSX file):
- If URL provided, fetch the v0 generation
- If TSX file, read directly
- Extract JSX tree, Tailwind classes, shadcn/ui components
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.
- today First seen · 239 lines · 0 tokens per session scan A a0cd2de2542e
import-design is a command published in the GitHub repository Generous-Corp/pulp (16 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,039 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.