
Napkin
- 4 installs
- 578 repo stars
- Updated February 21, 2026
- blader/napkin
Napkin is a Claude Code skill that maintains a continuously curated per-repo runbook at .claude/napkin.md for reuse across sessions.
About
Napkin maintains a per-repo runbook at .claude/napkin.md as a continuously curated knowledge base rather than a session log. The agent reads and re-prioritizes it at the start of every session and updates it whenever it learns something reusable. It caps each category at ten items and requires every entry to include a dated rule and an explicit 'Do instead' action.
- Maintains a per-repo runbook at .claude/napkin.md, curated every session
- Keeps only recurring high-value guidance, capped at top 10 items per category
- Always active with no trigger required; each item carries a 'Do instead' action
Napkin by the numbers
- 4 all-time installs (skills.sh)
- Ranked #2,331 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
napkin capabilities & compatibility
- Capabilities
- memory · documentation · runbook curation
- Use cases
- documentation · memory
What napkin says it does
You maintain a per-repo markdown runbook, not a chronological log.
This skill is always active. Every session. No trigger required.
Maximum 10 items per category; if over 10, remove lowest-priority entries.
npx skills add https://github.com/blader/napkin --skill napkinAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 4 |
|---|---|
| repo stars | ★ 578 |
| Last updated | February 21, 2026 |
| Repository | blader/napkin ↗ |
What it does
Keep a curated per-repo runbook of recurring gotchas and directives so future sessions run faster and more reliably.
Who is it for?
Persisting recurring, high-value repo and toolchain guidance across agent sessions.
Skip if: One-off timeline notes, verbose postmortems, or mistake logs without a 'Do instead' action.
When should I use this skill?
Every session automatically, with no trigger required, to read and curate the repo runbook before work.
What you get
The repo has a priority-sorted, capped runbook of high-value guidance that the agent applies at the start of every session.
- A curated, priority-sorted .claude/napkin.md runbook
By the numbers
- max 10 items per category
- version 6.0.0
- lives at .claude/napkin.md
Files
Napkin
You maintain a per-repo markdown runbook, not a chronological log. The napkin must be continuously curated for fast reuse in future sessions.
This skill is always active. Every session. No trigger required.
Session Start: Read And Curate
First thing, every session — read .claude/napkin.md before doing anything else. Internalize what's there and apply it silently. Don't announce that you read it. Just apply what you know.
Every time you read it, curate it immediately:
- Re-prioritize items by importance (highest first).
- Merge duplicates and remove stale/low-signal notes.
- Keep only recurring, high-frequency guidance.
- Ensure each item contains an explicit "Do instead" action.
- Enforce category caps (top 10 per category).
If no napkin exists yet, create one at .claude/napkin.md:
# Napkin Runbook
## Curation Rules
- Re-prioritize on every read.
- Keep recurring, high-value notes only.
- Max 10 items per category.
- Each item includes date + "Do instead".
## Execution & Validation (Highest Priority)
1. **[YYYY-MM-DD] Short rule**
Do instead: concrete repeatable action.
## Shell & Command Reliability
1. **[YYYY-MM-DD] Short rule**
Do instead: concrete repeatable action.
## Domain Behavior Guardrails
1. **[YYYY-MM-DD] Short rule**
Do instead: concrete repeatable action.
## User Directives
1. **[YYYY-MM-DD] Directive**
Do instead: exactly follow this preference.Adapt categories to the repo, but keep category structure and priority ordering. Do not use raw journal-style entries.
Continuous Runbook Updates
Update during work whenever you learn something reusable.
What qualifies for inclusion:
- Frequent gotchas or surprising behavior in this repo/toolchain.
- User directives that affect repeated behavior.
- Non-obvious tactics that repeatedly work.
What does not qualify:
- One-off timeline notes.
- Verbose postmortems without reusable action.
- Pure mistake logs without "Do instead" guidance.
Entry format requirements:
- Include date added (
[YYYY-MM-DD]). - Include short rule title.
- Include explicit
Do instead:line. - Keep wording concise and action-oriented.
Category And Priority Policy
- Organize notes by category.
- Keep each category sorted by importance descending.
- Re-evaluate category choice and priority whenever editing.
- Maximum 10 items per category; if over 10, remove lowest-priority entries.
- Prefer fewer high-signal items over broad coverage.
Practical Rule
Think of napkin as a live knowledge base for future execution speed and reliability, not a history file.
Example Entry
1. **[2026-02-21] `rg` fails on giant expanded path lists**
Do instead: run `rg` on directory roots or iterate files via `while IFS= read -r`.MIT License
Copyright (c) 2026 blader
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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
git clone https://github.com/blader/napkin.git ~/.claude/skills/napkinCodex
git clone https://github.com/blader/napkin.git ~/.codex/skills/napkinThat's it. The skill activates every session, unconditionally.
How it works
1. Session start: Agent reads .claude/napkin.md in the current repo. If it doesn't exist, it creates one. 2. During work: Agent logs mistakes (its own and yours), corrections, patterns, preferences — as they happen, not just at session end. 3. Over sessions: The napkin compounds. Session 1 is normal. Session 3 the agent is catching things before you do. Session 5 it's a different tool.
What gets logged
- Agent's own mistakes — wrong assumptions, bad approaches, failed commands
- Your corrections — anything you told it to do differently
- Tool/environment surprises — things about the repo that weren't obvious
- Your preferences — how you like things done
- What worked — successful approaches worth repeating
The napkin
Lives at .claude/napkin.md in each repo. One per repo. The agent designs the initial structure and adapts it to the project's domain.
You can .gitignore it or commit it — your call. Committing it means other contributors' agents benefit from the same learned patterns. Ignoring it keeps it personal.
License
MIT
Related skills
FAQ
Is napkin a session log?
No, it is a continuously curated runbook, not a chronological log; only recurring high-value guidance is kept.
How large can the napkin get?
Each category is capped at the top 10 items; lower-priority entries are removed when a category exceeds ten.