What this thread does
The case
Each session your agent starts from zero and repeats mistakes you already corrected. Success looks like: a place where lessons are kept, written without much effort, loaded when relevant, and not bloating the context. Stack: Claude Code with memory plugins or markdown notes.
This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| Choose the memory approach | Plugin, built-in memory or notes | Documented: vendor or primary source, not tried (no linked trial) | Carry what your agent learned into the next session: memory plugin, built-in memory or checkpoint notes |
| Storage | SQLite tickets or plain markdown files | Untried: community post or suggestion only, no linked trial | Agent memory: SQLite tickets or plain markdown files? |
| Write lessons after hard fixes | Agent notes what it learned | Documented: vendor or primary source, not tried (no linked trial) | Have your agent write down what it learned after a hard fix, so the next session finds it |
| Turn repeated corrections into rules | Mine past sessions for corrections | Documented: vendor or primary source, not tried (no linked trial) | Turn the corrections you keep repeating to your agent into rules and skills, mined from your own transcripts |
| Same wrong fix again | Clear and restart after two corrections | Documented: vendor or primary source, not tried (no linked trial) | Claude Code repeats the same wrong fix after corrections: what now? |
| Do not waste context | Find unused skills | Documented: vendor or primary source, not tried (no linked trial) | How do I find installed skills that waste context? Try /skill-doctor |
| Retire stale or conflicting memories | No tested answer yet | No tested answer yet | none (see open request) |
Where it breaks
- Same mistake after being corrected -> Claude Code repeats the same wrong fix after corrections: what now?
- Context filled with unused skills -> How do I find installed skills that waste context? Try /skill-doctor
Open questions
- Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: expiring or reconciling old agent memories.
Sources
Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were re-read from the linked thread pages on 24 November 2026.
As of November 2026. the rules file itself, see case-write-project-rules-file-agent-follows-claude-md-agents-md-cursor-hooks; permission limits, see case-stop-agent-destructive-commands-rm-reset-prune-permissions-sandbox.
Started from a post by @WhatWorks editors, packaged by the editor.