
Skill extractor
Turns hard-won, verified session discoveries into a reusable SKILL.md for Claude Code
Skill extractor is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 6
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Skill extractor
This skill guides the agent to review a working session, pick out non-obvious knowledge such as framework quirks, undocumented config requirements or verified workarounds, and save each one as a new SKILL.md under the project's .claude/skills folder so it loads automatically in later sessions.
Before writing anything, the agent checks existing skills for duplicates, confirms the fix actually works, and walks through a short rationale check that asks what problem the pattern solves and what mistake people commonly make. Candidates that lack a clear rationale or fail the quality checklist are dropped. Corrections from the user are routed to a separate lessons folder rather than skills.
It includes an interactive mode that presents candidates for approval and a headless mode, triggered by an argument, that extracts automatically and prints a report. The skill uses a draft template bundled in its resources folder and needs no scripts; it works inside a project that keeps its skills in .claude/skills.
When your agent uses it
Extract non-obvious knowledge discovered during a session into a reusable SKILL.md. Use right after learning something hard-won — a framework quirk, a verified fix. To generate skills proactively from stack analysis use /skill-generator instead.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 5 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kitOr copy only this skill to ~/.claude/skills/skill-extractor:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/skill-extractor &&
cp -R "$tmp/.claude/skills/skill-extractor" ~/.claude/skills/skill-extractor &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/skill-extractor inside it instead.
Copy the skill folder to ~/.agents/skills/skill-extractor to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/skill-extractor &&
cp -R "$tmp/.claude/skills/skill-extractor" ~/.agents/skills/skill-extractor &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/skill-extractor inside it instead.
Copy the skill folder to ~/.cursor/skills/skill-extractor to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/skill-extractor &&
cp -R "$tmp/.claude/skills/skill-extractor" ~/.cursor/skills/skill-extractor &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/skill-extractor inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/skill-extractorOr copy the folder to ~/.gemini/skills/skill-extractor yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/skill-extractor:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skill-extractor &&
cp -R "$tmp/.claude/skills/skill-extractor" ~/.copilot/skills/skill-extractor &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/skill-extractor inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.gitThen copy claude-code-kit/.claude/skills/skill-extractor into your agent's skills folder as skill-extractor. Agents that support SKILL.md read one folder per skill.
What it does
- Session knowledge capture
- Identifies non-obvious discoveries from the current session worth keeping for future work.
- Duplicate checking
- Reviews existing skills so the same knowledge is not saved twice.
- Rationale questioning
- Asks what problem a pattern solves and the common mistake it prevents before saving.
- Quality gate checklist
- Applies a fixed set of checks on clarity, verification and router-style descriptions.
- Interactive and headless modes
- Supports user approval of candidates or automatic extraction with a terminal report.
- Lessons versus skills triage
- Separates user corrections into a lessons folder from knowledge to apply.
Good for
- Save a verified workaround for a framework bug as a reusable skill
- Capture an undocumented configuration combination a project requires
- Record a project-specific pattern that deviates from convention
- Review the current session and propose skills to keep
Skill extractor FAQ
When does Skill extractor trigger?
It is meant to be used right after learning something hard-won, such as a framework quirk or a verified fix. Skills for proactive generation from stack analysis are handled by a separate skill-generator.
Where are the extracted skills saved?
Each one is written to .claude/skills/<skill-name>/SKILL.md, using a template from the skill-extractor resources folder.
Does Skill extractor ask the user before saving?
In interactive mode it presents candidates and waits for approval, and asks the user the rationale questions. In headless mode it skips the questions, infers the rationale and marks the output for review.
What happens to corrections from the user?
Corrections are not saved as skills. The skill directs them to tasks/lessons files instead.
How do I install Skill extractor in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/skill-extractor to use it in all your projects, or to .claude/skills/skill-extractor in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.
Does Skill extractor run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Skill extractor?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Skill extractor?
The closest alternatives to Skill extractor are Skill creator, Scan sessions and learn, Skill creator, Skill update and Skill creator.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tansuasici/claude-code-kit

Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA
- Open source
- 6 GitHub stars
- Developer tools

Audits a codebase's structure for SOLID violations, coupling and module boundary issues
- Open source
- 6 GitHub stars
- Developer tools

Lists the skills, agents, hooks and modules installed in a kit-enabled project
- Open source
- 6 GitHub stars
- Developer tools

Audits code for smells, error-handling gaps and maintainability issues with fixes
- Open source
- 6 GitHub stars
- Developer tools

Guides the agent to write and extend a project's golden-principles.yaml rule file
- Open source
- 6 GitHub stars
- Developer tools

Finds unused functions, dead imports, orphan files and unreachable branches in a codebase
- Open source
- 6 GitHub stars
- Developer tools





