# Extract

> Pull reusable patterns from the codebase into a design system. Identifies shared tokens, repeated components, and common patterns.

- Skill: `dragoon0x/extract` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dragoon0x/extract`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dragoon0x/extract/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Design & Media
- Author: dragoon0x (https://skillmd.com/u/dragoon0x)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dragoon0x/extract

---


# /extract — Design System Extraction

Analyze the codebase for reusable patterns:
1. Extract shared color values into tokens
2. Identify repeated spacing values for the scale
3. Find common typography patterns
4. Detect repeated component structures
5. Suggest a token file and component library structure

This is the reverse of /tokens — instead of generating a system, it discovers one from existing code.

