skill-extract
Skill by nyldn
Extract reverse-engineers design systems, tokens, and components from code, and plans to do so from URLs. It is meant for developers who need to document undocumented codebases. The current version is a 1.0.0 skeleton with several parts still in progress.
Install skill-extract
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nyldn/claude-octopus /tmp/claude-octopus && mkdir -p ~/.claude/skills && cp -r /tmp/claude-octopus/skills/skill-extract ~/.claude/skills/skill-extractRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nyldn/claude-octopus /tmp/claude-octopus && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-octopus/skills/skill-extract ~/.gemini/antigravity-cli/skills/skill-extractAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The skill is described as a way to reverse-engineer design systems and product architecture from existing code. For design work, it aims to extract colour, typography, spacing, and shadow tokens, analyse component props and variants in React, Vue, and Svelte, and detect layout patterns. For product work, it describes service boundary detection, API endpoint cataloguing, ORM schema extraction, and C4 architecture diagrams. Outputs are organised into folders with files such as tokens.json, components.csv, PRD.md, and quality-report.md.
The source says the skill uses a token priority order, from code-defined tokens to inferred values, and a colour clustering method. It also describes an optional multi-AI mode with Claude, Codex, and Antigravity roles and a consensus threshold. The guide is written for Claude Code and adapted for Codex CLI. The status section lists command structure, CLI parsing, output setup, metadata generation, and multi-AI detection as implemented. Token extraction, component analysis, architecture detection, and quality gates are in progress. Storybook generation, C4 diagram generation, URL extraction, and CSS inference are planned.
Written from the project's SKILL.md and checked against it.
What it can do
- Token extractionExtracts colours, typography, spacing, and shadows from code or CSS. Listed as in progress.
- Component analysisAnalyses props, variants, and usage patterns in React, Vue, and Svelte. Listed as in progress.
- Pattern detectionIdentifies layout patterns, design rules, and accessibility guidelines.
- Storybook generationDescribes auto-generated stories with variants and controls. Listed as planned.
- Service detectionDescribes finding microservice, module, and domain boundaries in a codebase.
- API mappingDescribes cataloguing REST, GraphQL, tRPC, and gRPC endpoints.
- Data modellingDescribes extracting ORM schemas from Prisma, TypeORM, and Sequelize.
- C4 diagramsDescribes generating architecture diagrams in Mermaid. Listed as planned.
What you need
- Claude Code or Codex CLI, as the guide targets these hosts
- Access to the codebase or files to extract from
Try asking
- Extract design tokens and components from ./my-app
- Run a design-only extraction of ./my-app with Storybook output
- Map the API endpoints and data model of ./my-app
Good to know
- Version 1.0.0 is a skeleton; token extraction, component analysis, and quality gates are in progress
- URL extraction mode is listed as planned, not implemented
- Storybook scaffold and C4 diagram generation are listed as planned
- Multi-AI mode depends on the consensus threshold and provider availability
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/skill-extract/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml162 B
Alternatives to skill-extract
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
skill-extract: common questions
Can it extract a design system from a live website?
URL extraction is listed as a planned feature, not an implemented one. The source describes extraction mainly from code and CSS.
Which frameworks does component analysis support?
The source lists React (functional, class, and hooks), Vue (SFC, Composition API, and Options API), and Svelte.
Where are the results saved?
Results are written to an octopus-extract folder, organised by project name and timestamp, with design, product, and evidence subfolders.
How do I install skill-extract?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is skill-extract free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is skill-extract safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to skill-extract?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
