# Skill extractor

> Skill extractor is an open-source agent skill for developer tools. Turns hard-won, verified session discoveries into a reusable SKILL.md for Claude Code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tansuasici/claude-code-kit/tree/main/.claude/skills/skill-extractor
- **Repository:** https://github.com/tansuasici/claude-code-kit
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** skill-extractor
- **Collection:** https://github.com/tansuasici/claude-code-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/skill-extractor)
- [License: MIT](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/skill-extractor)

## Features

- **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

## Install

### Claude Code

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):

```sh
/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kit
```

Or copy only this skill to `~/.claude/skills/skill-extractor`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/skill-extractor` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/skill-extractor` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/skill-extractor
```

Or copy the folder to `~/.gemini/skills/skill-extractor` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/skill-extractor`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git
```

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

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

## Alternatives

- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Scan sessions and learn](https://ai-powered.com/skills/scan-sessions-and-learn): Scan sessions and learn is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-jdforsythe): Skill creator is an open-source agent skill for developer tools.
- [Skill update](https://ai-powered.com/skills/skill-update): Skill update is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-base44): Skill creator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.
- [Skill generator](https://ai-powered.com/skills/skill-generator): Skill generator is an open-source agent skill for developer tools.
- [Improve skills](https://ai-powered.com/skills/improve-skills): Improve skills is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/skill-extractor
