romiluz13/auto-pi/memory-compounding
Claude Code and agent skill by romiluz13/auto-pi
- community
Checking that the SKILL.md file is still in the repository.
Review and sharpen persistent memory so it compounds instead of accumulating. Use when pruning pi-hermes-memory entries, doing monthly memory hygiene, or when the same lesson has been recorded multiple times.
Install
npx vskill@latest install romiluz13/auto-pi/memory-compoundingSKILL.md
The same SKILL.md was published earlier as romiluz13/auto-pi/memory-compounding.
Memory Compounding
Memory is an index, not a transcript. Without review it accumulates stale entries that mislead future work. This skill is the discipline for keeping memory sharp, not just large.
When to use
- Monthly memory hygiene (AGENTS.md: "review both, prune stale entries").
- You notice the same gotcha recorded 3+ times.
- A memory entry contradicts the current code (trust the code).
- After a non-trivial debug/build cycle that produced a reusable learning.
The 5-outcome review rubric
For each entry in ~/.pi/agent/pi-hermes-memory/MEMORY.md, USER.md, failures.md, and the SQLite memories table (via memory_search), apply exactly one outcome:
| Outcome | When | Action | |
|---|---|---|---|
| Keep | Accurate + useful | Leave as-is | |
| Update | Correct but incomplete | Add the missing detail | |
| Consolidate | Same lesson appears multiple times | Merge into one entry, remove duplicates | |
| Replace | Outdated or superseded by current code | Replace with the current truth | |
| Delete | No longer applies (framework changed, code removed) | Remove |
The promotion rule
When the same gotcha appears 3+ times in failures.md or across memory entries, promote it: write a dedicated reference file or a new skill section. A lesson that keeps recurring is a pattern, not a one-off — it earns a permanent home.
Solution docs (durable cross-project learnings)
After any non-trivial debug/build cycle, evaluate whether to write a solution doc to docs/solutions/:
- Write if: the problem took 3+ hypotheses to solve, OR the bug pattern appears in 3+ files, OR the solution contradicts a common assumption.
- Skip if: the fix was mechanical (typo, import error, one-line change).
Solution doc format:
Ensure AGENTS.md or CLAUDE.md points to docs/solutions/ so agents can find it. This closes the loop: every solved problem makes the next one easier.
Don't
- Don't persist: whole diffs, verbose logs, celebratory narration, "looked correct" without evidence, duplicate notes, raw secrets/PII.
- Don't delete a memory just because it's old — delete it because it's wrong now.
- Don't skip the review when memory contradicts the code — trust the code, fix the memory.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/memory-compounding/SKILL.md
Popularity
- Repository stars
- 10
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/romiluz13/auto-pi/memory-compounding)