skill-extract

skill-extract is a skill for Claude Code, Codex from nyldn/claude-octopus. It costs 19 tokens per session (1,968 once invoked), scanned A, a copy of skill-extract, MIT.

A reverse-engineering skill that documents design systems and product structures from live products or screenshots. It can identify visual tokens, components, interface patterns, services, and APIs.

In plain words
What is it for?
Use it to extract colors, typography, spacing, components, accessibility guidance, service boundaries, and API details from existing products.
Why use it?
It helps turn an undocumented product into reference material that developers can use when building or maintaining it.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the octo plugin — 69 skills, 106 commands, 10 agents, 18 hooks shipped together

Good fit Use it to extract colors, typography, spacing, components, accessibility guidance, service boundaries, and API details from existing products.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nyldn/claude-octopus/skill-extract
About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,054 stars · on GitHub · reddit.com

Install

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.

Any agent
npx skills add nyldn/claude-octopus --skill skill-extract
Clone the repo
git clone --depth 1 https://github.com/nyldn/claude-octopus

Made for: Claude Code, Codex.

Or install octo, the plugin that ships this one along with the rest of its 69 skills, 106 commands, 10 agents, 18 hooks.

Wrote 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.

agentmods badge for skill-extract

README.md
[![agentmods](https://agentmods.dev/badge/skills/nyldn/claude-octopus/skill-extract.svg)](https://agentmods.dev/skills/nyldn/claude-octopus/skill-extract)
Your own site
<a href="https://agentmods.dev/skills/nyldn/claude-octopus/skill-extract"><img src="https://agentmods.dev/badge/skills/nyldn/claude-octopus/skill-extract.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01968
Opus 5 $0.00010 $0.00984
Sonnet 5 $0.00004 $0.00394
Haiku 4.5 $0.00002 $0.00197

Measured 2d ago against content hash ddcf0ce3a1de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

skill-extract 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.

Origin

This is a copy

92% identical to skill-extract — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/skill-extract/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Host: Codex CLI — This skill was designed for Claude Code and adapted for Codex. Cross-reference commands use installed skill names in Codex rather than /octo:* slash commands. Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. For host tool equivalents, see skills/blocks/codex-host-adapter.md.

Extract Skill - Implementation Guide

Overview

The extract skill provides comprehensive reverse-engineering capabilities for design systems and product architectures. It transforms undocumented codebases into structured, implementation-ready documentation.

Capabilities

Design System Extraction

  • Token Extraction: Colors, typography, spacing, shadows from code or CSS
  • Component Analysis: Props, variants, usage patterns across React/Vue/Svelte
  • Pattern Detection: Layout patterns, design rules, accessibility guidelines
  • Storybook Generation: Auto-generated stories with variants and controls

Product Architecture Extraction

  • Service Detection: Microservice boundaries, modules, domain boundaries
  • API Mapping: REST, GraphQL, tRPC, gRPC endpoint cataloging
  • Data Modeling: ORM schema extraction (Prisma, TypeORM, Sequelize)
  • Feature Inventory: Route-based and domain-based feature detection
  • C4 Diagrams: Automated architecture visualization (Mermaid)

Technical Implementation

Token Extraction Pipeline

Priority Order (High to Low Confidence):

  1. Code-Defined (95%): theme.ts, tokens.json, Tailwind config
  2. CSS Variables (90%): :root declarations
  3. Computed Styles (60%): DOM analysis
  4. Inferred (40-60%): Color clustering, scale detection

Color Clustering Algorithm:

  • Uses CIEDE2000 for perceptually-accurate color distance
  • K-means++ initialization for stable clustering
  • Default k=8 clusters for primary palettes
  • ΔE < 2 threshold for duplicate detection

Component Analysis

Read the full file on GitHub · 238 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 2d ago First seen · 238 lines · 19 tokens per session scan A ddcf0ce3a1de

Subscribe to this mod's changes

skill-extract is a skill published in the GitHub repository nyldn/claude-octopus (4,054 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,968 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to skill-extract, differing in 9 lines, and is treated as a copy.

Related

Other skills, from other repositories

ui-ux-pro-max

UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing…

the-hugin/RSIm · 221 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

aceternity-ui

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

secondsky/claude-skills · 48 tokens