self-improvelisted
Install: claude install-skill tobihagemann/turbo
# Self-Improve
Review the current conversation to extract durable lessons and route each one to the right knowledge layer.
## Step 1: Detect Context
Available destinations:
- **Project CLAUDE.md / AGENTS.md** — `.claude/CLAUDE.md` (may be a symlink to `../AGENTS.md` — resolve it)
- **Auto memory** — The project-specific memory directory at `~/.claude/projects/<project-hash>/memory/`. Read `MEMORY.md` there if it exists.
- **Skills** — Project skills at `skills/` or `.claude/skills/` (resolve symlinks)
Read the project CLAUDE.md/AGENTS.md and MEMORY.md. List all skill directories but do not read them yet — Step 2 needs to run first so you know what to look for.
### Turbo Skill Detection
Read `~/.turbo/config.json` for `repoMode`. If `repoMode` is `"fork"` or `"source"`, turbo skill improvements can be contributed upstream.
If `~/.turbo/repo/` exists, identify which installed skills are turbo skills:
- List directories in `~/.turbo/repo/skills/`
- Any skill in `~/.claude/skills/` that has a matching directory in `~/.turbo/repo/skills/` is a turbo skill
- Skills only in `~/.claude/skills/` (no match in the repo) are user/project skills
**Exception:** If the current project IS the turbo repo (i.e., the working directory contains this skill collection), route turbo skill changes directly to `skills/` in the project directory. Skip the installed-copy indirection and the contribution flow.
## Step 2: Identify Session Skills and Scan for Lessons
### Identify Session Skill