romiluz13/auto-pi/memory-compounding

Claude Code and agent skill by romiluz13/auto-pi

Trust tier 3
  • community
Source check pending

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-compounding

SKILL.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:

OutcomeWhenAction
KeepAccurate + usefulLeave as-is
UpdateCorrect but incompleteAdd the missing detail
ConsolidateSame lesson appears multiple timesMerge into one entry, remove duplicates
ReplaceOutdated or superseded by current codeReplace with the current truth
DeleteNo 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:

# [Problem Title]
Category: debugging | architecture | testing | workflow | conventions
Tags: [comma-separated]
Date: YYYY-MM-DD
## Problem
[symptoms, not just the error message]
## What Didn't Work
[failed hypotheses and why]
## Solution
[what worked — with code example]
## Why
[the underlying principle]
## Prevention
[how to prevent this class of problem]

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/romiluz13/auto-pi/memory-compounding/badge)](https://verified-skill.com/skills/romiluz13/auto-pi/memory-compounding)

Something wrong with this skill or its page? Tell us.