# skill-extractor

skill-extractor is a Claude Code plugin that extracts a solved problem from a session and saves it as a reusable skill. Invoke it manually; it does not use hooks.

- plugin · `type=plugin` · Claude Code · ★ 540 repo stars
- Author: Trail of Bits
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trailofbits/skills-curated/tree/HEAD/plugins/skill-extractor
- Updated: 2026-07-14
- Security check: automated, 2026-11-16 (text and 1 script file) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/plugins/skill-extractor

## What it does

After you solve a non-obvious problem, `/skill-extractor` analyzes the conversation, checks the knowledge for reusability, and saves it to `~/.claude/skills/` or `.claude/skills/`. Before writing, the plugin shows a quality checklist: the solution must be verified, non-trivial, have specific triggers, and explain why it works. You can optionally run a best practices search via web or Context7 to enrich the skill.

The command accepts a `--project` flag to save at project level instead of user level, and an optional hint to focus extraction on a specific part of the session. The plugin validates skill structure against repository standards before saving.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add trailofbits/skills-curated
```
In the agent chat (not a shell):
```text
/plugin install skill-extractor@skills-curated
```

## When to use it
- save a discovered solution for future tasks
- extract knowledge from an agent conversation
- document a non-trivial fix
- capture a skill with reasoning, not just steps

## Example prompts
- Save this solution as a skill
- Run `/skill-extractor --project` to save at project level
- Call `/skill-extractor the cyclic data DoS fix` to extract the cyclic DoS knowledge

## Similar
- [data-context-extractor](https://affpapa.org/en/nevibecode/skills/data-context-extractor.md) — skill · 3300 installs
- [context7](https://affpapa.org/en/nevibecode/skills/context7.md) — skill · 11400 installs
- [context7-cli](https://affpapa.org/en/nevibecode/skills/context7-cli.md) — skill · 8900 installs
- [context7-mcp](https://affpapa.org/en/nevibecode/skills/context7-mcp.md) — skill · 7200 installs
- [setup-context7-mcp](https://affpapa.org/en/nevibecode/skills/setup-context7-mcp.md) — skill · 1200 installs
- [context7-auto-research](https://affpapa.org/en/nevibecode/skills/context7-auto-research.md) — skill · 709 installs

From the same set: [trailofbits/skills-curated](https://affpapa.org/en/nevibecode/by/trailofbits/skills-curated.md) — 51 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
