# Distill skill

> Distill skill is an open-source agent skill for developer tools. Distills reusable techniques from the current session into a saved learning skill. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/UniM0cha/self-improving-skills/tree/main/plugins/claude-cowork-self-improving-skills/skills/distill-skill
- **Repository:** https://github.com/unim0cha/self-improving-skills
- **GitHub stars:** 53
- **License:** MIT
- **Skill name:** distill-skill
- **Collection:** https://github.com/UniM0cha/self-improving-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill is a manual trigger for a self-improvement loop. After a task, it hands the session over to a skill-distiller subagent, which reviews what was done and either patches an existing skill or creates a new one only when the technique is general enough to reuse. One-off or environment-specific knowledge produces no file, and the subagent reports the reason in a single line.

The subagent is pointed at the session transcript stored under the Claude projects folder so it can check the actual work rather than a summary. The user can pass extra instructions, such as focusing on a particular technique or updating a named skill. A model override can be set through an environment variable, with Haiku deliberately excluded.

When a skill file is produced, the workflow sends the SKILL.md to the user and walks them through saving it in claude.ai, since the local skills folder does not persist between sessions. The skill is written in Korean and is aimed at Claude Cowork-style environments.

## When your agent uses it

> 방금 작업에서 재사용 가능한 기법을 학습 스킬(~/.claude/skills)로 증류하고, 결과 SKILL.md 를 사용자에게 보내 claude.ai '스킬 저장'까지 안내한다 (수동 트리거). "이번 작업 스킬로 남겨줘", "방금 기법 증류해줘" 등에 사용.

## What it can access

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

- [Instructions only, no scripts](https://github.com/UniM0cha/self-improving-skills/tree/HEAD/plugins/claude-cowork-self-improving-skills/skills/distill-skill)
- [License: MIT](https://github.com/UniM0cha/self-improving-skills/tree/HEAD/plugins/claude-cowork-self-improving-skills/skills/distill-skill)

## Features

- **Manual distillation trigger:** Runs the reuse review on demand instead of waiting for an automatic stop-hook nudge.
- **Subagent delegation:** Hands the review to a named distiller subagent with the session context and transcript path.
- **Patch or create decision:** Updates an existing skill when one fits, and creates a new one only for reusable class-level techniques.
- **Skip one-off work:** Declines to create a skill for simple implementation, refactoring or single fixes, and explains why.
- **Save guidance for claude.ai:** Sends the generated SKILL.md to the user and explains how to register it so it persists across sessions.

## Good for

- Keep a debugging technique I just worked out as a reusable skill
- Turn the API quirk we discovered this session into a saved skill
- Update an existing skill with a better pattern from today's task
- Review the finished session and decide whether anything is worth saving

## Install

### Claude Code

This skill ships in the `claude-cowork-self-improving-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add UniM0cha/self-improving-skills
/plugin install claude-cowork-self-improving-skills@self-improving-skills
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UniM0cha/self-improving-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/distill-skill &&
cp -R "$tmp/plugins/claude-cowork-self-improving-skills/skills/distill-skill" ~/.claude/skills/distill-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/distill-skill` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UniM0cha/self-improving-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/distill-skill &&
cp -R "$tmp/plugins/claude-cowork-self-improving-skills/skills/distill-skill" ~/.agents/skills/distill-skill &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/distill-skill` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UniM0cha/self-improving-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/distill-skill &&
cp -R "$tmp/plugins/claude-cowork-self-improving-skills/skills/distill-skill" ~/.cursor/skills/distill-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/distill-skill` 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/UniM0cha/self-improving-skills.git --path plugins/claude-cowork-self-improving-skills/skills/distill-skill
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UniM0cha/self-improving-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/distill-skill &&
cp -R "$tmp/plugins/claude-cowork-self-improving-skills/skills/distill-skill" ~/.copilot/skills/distill-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/distill-skill` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/UniM0cha/self-improving-skills.git
```

Then copy `self-improving-skills/plugins/claude-cowork-self-improving-skills/skills/distill-skill` into your agent's skills folder as `distill-skill`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Distill skill trigger?

It is a manual trigger. It runs when the user asks to keep the work as a skill or to distill the technique just used.

### Will Distill skill always create a new skill?

No. If the work was one-off or environment-specific, the subagent creates nothing and reports the reason in one line.

### How do I keep the generated skill after the session?

Use the save button on the file card in claude.ai to register it, because the local skills folder is cleared when the session ends.

### Can I choose which model runs the distillation?

Yes, through the SIS_DISTILLER_MODEL environment variable, for example sonnet. The value haiku is ignored.

### How do I install Distill skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/distill-skill to use it in all your projects, or to .claude/skills/distill-skill in one project. Or install the claude-cowork-self-improving-skills plugin, which includes it: /plugin marketplace add UniM0cha/self-improving-skills, then /plugin install claude-cowork-self-improving-skills@self-improving-skills.

### Does Distill skill 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 Distill skill?

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 Distill skill?

The closest alternatives to Distill skill are Skill creator, Skill creator, Scan sessions and learn, Skill creator 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.
- [Skill creator](https://ai-powered.com/skills/skill-creator-jdforsythe): Skill creator is an open-source agent skill for developer tools.
- [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-melandlabs): Skill creator 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.
- [Improve skills](https://ai-powered.com/skills/improve-skills): Improve skills is an open-source agent skill for developer tools.
- [Skill writer](https://ai-powered.com/skills/skill-writer): Skill writer 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.

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