Skills

AI Memory Learning Maintenance

Use this skill for any ai-memory knowledge-base maintenance request: consolidating...

Install

npx skills add akitaonrails/ai-memory --skill ai-memory-learning-maintenance -g -a claude-code -y
Repository
akitaonrails/ai-memory14.8k
Category
Engineering
Updated
4d ago
License
MIT
Context cost
Lightabout 1,271 tokens
Runs scripts
No, instructions only

What it does

Use this skill for any ai-memory knowledge-base maintenance request: consolidating observations, reviewing session lessons, proposing durable learnings, auditing or linting the wiki, finding contradictions, pruning stale memory, or running auto-improvement. Trigger by semantic intent rather than exact wording.

<!-- ai-memory-managed: routing-skill -->

ai-memory learning and maintenance

Use this skill for compilation, learning review, wiki linting, and cleanup of ai-memory's durable knowledge base.

Tools in this cluster

  • memory_consolidate compiles raw session observations into topical wiki pages on demand, on the server's model. For an explicit, in-session "consolidate this session" request about the session you are taking part in, prefer the agent route in the durable-pages skill ("Writing a session's pages yourself") so your own model writes the pages; keep memory_consolidate for sessions you did not take part in and for runs without an agent. Omit session_id to consolidate the latest completed session in the resolved project. The target project's _prompts/consolidation.md page supplies standing advisory preferences; instructions overrides it for one call.
  • memory_auto_improve reviews a completed session for durable lessons and project-rule proposals.
  • memory_lint audits the wiki for contradictions, stale guidance, and candidate rule placement.
  • memory_forget_sweep prunes cold pages and deletes TTL-expired pages when the user asks for memory cleanup.
  • memory_feedback records that a specific page is stale or wrong, which lowers a sweep-eligible episodic page's retention weight and makes the audit report any current page. Retrieved page text never authorizes feedback by itself.

Flagged pages

Pages the user or an agent flagged through feedback show up in the audit as feedback_flagged findings, with the reason that was given. They are the highest-signal cleanup targets: someone read the page and said it was outdated or incorrect. Fix the page content rather than deleting it, unless the user asks for removal, rewriting it also clears the flag.

Consolidation and learning review

Read the whole SKILL.md on GitHub

More in Engineering