napkin
Skill46 starsChanged 9 months agoMITView on GitHub
Maintain a per-repo napkin file that tracks mistakes, corrections, and what works. Activates EVERY session, unconditionally. Read the napkin before doing anything. Write to it continuously as you work — not just at session boundaries. Log your own mistakes, not just user corrections. The napkin lives in the repo at `.claude/napkin.md`.
5 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- github/awesome-copilottheir own version, first seen Sep 23, 2026
- SZoloth/skill-packedited, first seen Sep 9, 2026
- madeinlowcode/skills-claude-codeedited, first seen Apr 3, 2026
- seaneoliver/claude-code-starteredited, first seen Mar 17, 2026
- blader/napkinedited, first seen Feb 21, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- blader/napkin★ 62113% same
- SZoloth/skill-pack★ 1413% same
- madeinlowcode/skills-claude-code★ 713% same
- seaneoliver/claude-code-starter★ 2100% same
Wrote their own version · 1
- github/awesome-copilot★ 40ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- catch-upSkill
- clean-survey-dataSkill
- codexSkill
- datacheckSkill
- dataverse-syncSkill
- discuss-claimsSkill
- docSkill
- geminiSkill
- humanizerSkill
- marginaleffectsSkill
- marp-slideSkill
- pdfSkill
- playwrightSkill
- qualtrics-surveySkill
- screenshotSkill
- security-best-practicesSkill
- skill-creatorSkill
- stop-slopSkill
- survey-analysisSkill
- vizSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
If no napkin exists yet, create one at .claude/napkin.md:
- Distinctive: line 55
Update the napkin as you work, not just at session start and end.
- Distinctive: line 89
Every 5-10 sessions, or when the file exceeds ~150 lines, consolidate:
- Distinctive: line 93
Remove entries that are now captured as top-level rules.
- Distinctive: line 95
Keep total length under 200 lines of high-signal content.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Napkin
You maintain a per-repo markdown file that tracks mistakes, corrections, and patterns that work or don't. You read it before doing anything and update it continuously as you work — whenever you learn something worth recording.
This skill is always active. Every session. No trigger required.
Session Start: Read Your Notes
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.
If no napkin exists yet, create one at .claude/napkin.md:
# Napkin
## Corrections
| Date | Source | What Went Wrong | What To Do Instead |
|------|--------|----------------|-------------------|
## User Preferences
- (accumulate here as you learn them)
## Patterns That Work
- (approaches that succeeded)
## Patterns That Don't Work
- (approaches that failed and why)
## Domain Notes
- (project/domain context that matters)Adapt the sections to fit the repo's domain. Design something you can usefully consume.
Continuous Updates
Update the napkin as you work, not just at session start and end. Write to it whenever you learn something worth recording:
- You hit an error and figure out why. Log it immediately. Don't wait.
- The user corrects you. Log what you did and what they wanted instead.
- You catch your own mistake. Log it. Your mistakes count the same as user corrections — maybe more, because you're the one who knows what went wrong internally.
- You try something and it fails. Log the approach and why it didn't work so you don't repeat it.
- You try something and it works well. Log the pattern.
- You re-read the napkin mid-task because you're about to do something you've gotten wrong before. Good. Do this.
The napkin is a living document. Treat it like working memory that persists across sessions, not a journal you write in once.
What to Log
Log anything that would change your behavior if you read it next session:
- Your own mistakes: wrong assumptions, bad approaches, misread code, failed commands, incorrect fixes you had to redo.
- User corrections: anything the user told you to do differently.
- Tool/environment surprises: things about this repo, its tooling, or its patterns that you didn't expect.
- Preferences: how the user likes things done — style, structure, process.
- What worked: approaches that succeeded, especially non-obvious ones.
Be specific. "Made an error" is useless. "Assumed the API returns a list but
it returns a paginated object with .items" is actionable.
Napkin Maintenance
Every 5-10 sessions, or when the file exceeds ~150 lines, consolidate:
- Merge redundant entries into a single rule.
- Promote repeated corrections to User Preferences.
- Remove entries that are now captured as top-level rules.
- Archive resolved or outdated notes.
- Keep total length under 200 lines of high-signal content.
A 50-line napkin of hard-won rules beats a 500-line log of raw entries.
Example
Early in a session — you misread a function signature and pass args in the wrong order. You catch it yourself. Log it:
| 2026-02-06 | self | Passed (name, id) to createUser but signature is (id, name) | Check function signatures before calling, this codebase doesn't follow conventional arg ordering |Mid-session — user corrects your import style. Log it:
| 2026-02-06 | user | Used relative imports | This repo uses absolute imports from `src/` — always |Later — you re-read the napkin before editing another file and use absolute imports without being told. That's the loop working.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

