blader/napkin

540 stars · Last commit 2026-02-21

A Claude Code skill that gives the agent persistent memory of its mistakes via a per-repo markdown scratchpad.

README preview

# Napkin

A skill for Claude Code that gives the agent persistent memory of its mistakes.

The agent maintains a markdown file in your repo (`.claude/napkin.md`) where it tracks what went wrong, what you corrected, and what worked. It reads the file at session start and writes to it continuously as it works. By session 3-5 the behavior shift is significant — the agent stops making mistakes you've already corrected and starts pre-empting issues before you catch them.

Baby continual learning in a markdown file.

## Install

**Claude Code**

```bash
git clone https://github.com/blader/napkin.git ~/.claude/skills/napkin
```

**Codex**

```bash
git clone https://github.com/blader/napkin.git ~/.codex/skills/napkin

View full repository on GitHub →