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 skills add cubha/claude-workflow-plugins --skill init-designgit clone --depth 1 https://github.com/cubha/claude-workflow-pluginsWrote 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/skills/cubha/claude-workflow-plugins/init-design)<a href="https://agentmods.dev/skills/cubha/claude-workflow-plugins/init-design"><img src="https://agentmods.dev/badge/skills/cubha/claude-workflow-plugins/init-design/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/skills/cubha/claude-workflow-plugins/init-design"><img src="https://agentmods.dev/badge/skills/cubha/claude-workflow-plugins/init-design.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.00137 | $0.03716 |
| Opus 5.5 | $0.00055 | $0.01486 |
| Sonnet 5.5 | $0.00027 | $0.00743 |
| Haiku 4.5 | $0.00014 | $0.00372 |
Grade A, and why
init-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 3mo 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 — 349 lines — stays where its author put it; the contents beside it link to each section on GitHub.
INIT-DESIGN — 디자인 시스템 역추출 파이프라인
$ARGUMENTS 에 대해 아래 파이프라인을 실행한다.
SCAN → EXTRACT → NORMALIZE → GENERATE → [DEEP: CLEANUP] → REPORT
존재 이유: 이미 개발된 프로젝트에서 기존 코드를 Ground Truth로 확정하고 docs/design/ 기준 파일을 역추출로 생성하는 전용 스킬이다. 디자인 토큰이 코드 곳곳에 흩어져 있어 문서화된 단일 기준이 없는 프로젝트에서, 이후 UI 작업의 최우선 참조 기준을 수립한다.
리디자인과의 경계
이 스킬은 기존 디자인을 문서화할 뿐, 교체하지 않는다.
| 디자인 교체(리디자인) | /init-design |
|
|---|---|---|
| 목적 | 디자인 교체 | 현재 디자인 문서화 |
| 코드 변경 | 스타일 전면 교체 | 기본 없음 (--deep 시 한정적) |
| 기준 | 타겟 새 디자인 | 기존 코드 그대로 |
| 출력 | 새 DESIGN-TOKENS.md | 역추출 DESIGN-TOKENS.md |
Phase 0: PARSE — 인자 파싱
| 인자 | 기본값 | 설명 |
|---|---|---|
| 대상 경로 | src/ |
스캔할 소스 루트 |
--deep |
OFF | 하드코딩 교체 + 유틸 클래스 추출 + 컴포넌트 정리 |
--dry-run |
OFF | GENERATE 직전까지만 — 토큰 미리보기 출력, 파일 생성 없음 |
--skip-ux-brief |
OFF | UX-BRIEF.md 생성 생략 |
Phase 1: SCAN — 현재 디자인 자산 스캔
1-1. 사전 확인
docs/design/ 존재 여부를 Glob으로 확인한다:
| 상황 | 동작 |
|---|---|
docs/design/DESIGN-TOKENS.md 없음 |
정상 진행 |
docs/design/DESIGN-TOKENS.md 존재 |
사용자에게 경고: "이미 파일이 존재합니다. 덮어쓰면 기존 파일은 archive로 이동됩니다. 계속할까요?" → 승인 시 계속, 거절 시 종료 |
1-2. 디자인 자산 병렬 수집
아래를 병렬로 Read·Glob한다:
| 수집 대상 | 경로 패턴 | 추출 내용 |
|---|---|---|
| CSS 전역 파일 | **/globals.css, **/index.css, **/*.module.css |
CSS 커스텀 프로퍼티 (:root, [data-theme]) |
| Tailwind 설정 | tailwind.config.* |
theme.extend.* 값 전체 |
| 레이아웃 컴포넌트 | **/layout/**, **/Header.*, **/Footer.*, **/Sidebar.* |
레이아웃 구조·영역 분류 |
| 페이지 파일 | **/page.tsx, **/page.jsx, **/page.vue |
라우트 목록 (화면 맵용) |
| 프로젝트 문서 | 프로젝트 루트 (CLAUDE.md, README.md, package.json) |
기술 스택, 구조 원칙 |
1-3. 인벤토리 요약 출력
📋 스캔 결과
CSS 변수: {N}개 (`:root` / `[data-theme]`)
Tailwind 확장: {M}개
커스텀 유틸 클래스: {K}개 (globals.css)
인라인 스타일 하드코딩: {W}개 (대략)
페이지(라우트): {P}개
Phase 2: EXTRACT — 토큰 추출
스캔 결과에서 아래 6개 카테고리로 토큰을 추출한다.
2-1. 추출 소스 우선순위
| 우선순위 | 소스 | 신뢰도 |
|---|---|---|
| 1 | CSS :root / [data-theme] 커스텀 프로퍼티 |
높음 — 이미 토큰화된 값 |
| 2 | Tailwind theme.extend.* |
높음 — 구조적 확장 |
| 3 | globals.css 커스텀 유틸 클래스 (.btn, .sv-label 등) |
중간 — 프로젝트 전용 클래스 |
| 4 | 컴포넌트 className 반복 패턴 |
중간 — 암묵적 토큰 |
| 5 | style={{...}} 인라인 하드코딩 |
낮음 — 정규화 필요 |
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.
- 3mo ago First seen · 349 lines · 137 tokens per session scan A 9ab1b6cd7e27
init-design is a skill published in the GitHub repository cubha/claude-workflow-plugins (2 stars, last pushed 4mo ago), licensed MIT. It adds 137 tokens to every session and 3,716 once invoked, about $0.0005 per session on Opus 5.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-31.
init-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| init-designcubha/claude-workflow-plugins | Skill | 2 | 4mo ago | MIT | A | 137 | Claude Code |
| top-designwondelai/skills | Skill | 2.8k | today | MIT | A | 113 | Claude Code, Codex |
| design-everyday-thingswondelai/skills | Skill | 2.8k | today | MIT | A | 132 | Claude Code |
| design-sprintwondelai/skills | Skill | 2.8k | today | MIT | A | 137 | Claude Code |
| hooked-uxwondelai/skills | Skill | 2.8k | today | MIT | A | 109 | Claude Code |
| steve-jobs-design-reviewwondelai/skills | Skill | 2.8k | today | MIT | A | 191 | Claude Code, Codex |
| web-typographywondelai/skills | Skill | 2.8k | today | MIT | A | 128 | Claude Code, Codex |