# self-improvement

Keeps your corrections, failed commands and feature asks in markdown files so the agent can turn repeated lessons into project rules.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2000 installs · ★ 323
- Author: pskoett
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pskoett/pskoett-ai-skills/tree/HEAD/skills/self-improvement/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/self-improvement

## What it does

The skill sets up a `.learnings/` folder at the project root and sorts entries into three files: `LEARNINGS.md` for corrections, knowledge gaps and best practices, `ERRORS.md` for commands and external tools that failed, `FEATURE_REQUESTS.md` for capabilities the project lacks. Every entry gets an ID like `LRN-20250115-001`, plus priority, status and a metadata block. Once an issue is closed, the status flips to `resolved` and a Resolution section records the commit and notes.

File templates live in `assets/` and get copied into `.learnings/`, or you write the headers yourself. Each entry also carries context-maintenance fields at capture time: how fast the note decays, where the claim came from, how to recheck it. Open questions stay marked, they just do not get dropped.

This is the passive layer. Fixing a live failure mid-task belongs to the companion skill `self-healing`, which files verified `HEAL-` entries to `.learnings/HEALS.md`. self-improvement collects the repeats and promotes a stable rule into `CLAUDE.md`, `AGENTS.md` or `.github/copilot-instructions.md`. Both share `.learnings/`, each writes its own files. No folder in the root means nowhere to write, so create it first.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pskoett/pskoett-ai-skills --skill self-improvement -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/self-improvement/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/self-improvement/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pskoett/pskoett-ai-skills --skill self-improvement -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/self-improvement/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pskoett/pskoett-ai-skills --skill self-improvement -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/self-improvement/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pskoett/pskoett-ai-skills self-improvement
```

2. **Manually: put the files in place**
- File: `.github/skills/self-improvement/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pskoett/pskoett-ai-skills --skill self-improvement -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pskoett/pskoett-ai-skills --path skills/self-improvement
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/self-improvement/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pskoett/pskoett-ai-skills --skill self-improvement -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pskoett/pskoett-ai-skills/tree/HEAD/skills/self-improvement/SKILL.md

## When to use it
- record a user correction so the agent skips that mistake next session
- capture a failed command with its output and environment details
- file a feature request with a rough complexity estimate
- flag outdated agent knowledge and track its status until fixed
- promote a recurring pattern from `.learnings/` into project rules

## Example prompts
- Log my fix about date formatting to `LEARNINGS.md` under `correction`
- Add the failed `npm run build` to `.learnings/ERRORS.md` — missing env var
- Review `.learnings/` before we refactor the billing module

## Similar
- [self-learning](https://affpapa.org/en/nevibecode/skills/kulaxyz-self-learning.md) — skill · 850 installs
- [session-logger](https://affpapa.org/en/nevibecode/skills/session-logger.md) — skill · 743 installs
- [self-improving-agent](https://affpapa.org/en/nevibecode/skills/self-improving-agent.md) — skill · 1078 installs
- [instinct-system](https://affpapa.org/en/nevibecode/skills/instinct-system.md) — skill · 2800 installs
- [claude-memory-curator](https://affpapa.org/en/nevibecode/skills/claude-memory-curator.md) — skill · 2600 installs
- [parallel-memory](https://affpapa.org/en/nevibecode/skills/parallel-memory.md) — skill · 2300 installs

From the same set: [pskoett/pskoett-ai-skills](https://affpapa.org/en/nevibecode/by/pskoett/pskoett-ai-skills.md) — 4 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
