SuperAPI AI Directory

memory-manage

General & other

View repository

Updated 10-15 21:41

About this skill

memory-manage

Unified management of the ai-context/ memory layer. Three modes: init, update, maintain.

Triggers: /memory-init, /memory-update, /memory-maintain, initialize memory, update memory, maintain memory, memory housekeeping, clean ai-context



Claude execution wiring

These notes bind the tool-neutral logic above to the Claude Code harness. They are the EXECUTION layer that does not port to other tools.

  • Project instruction file — in the Claude harness the neutral "project instruction file" (maintain mode, gap detection) is CLAUDE.md at the project root.
  • Feature file format — the neutral "feature-domain-expert reference skill" resolves to ~/.claude/skills/feature-domain-expert/SKILL.md.
  • Decay review (mem_review) — maintain mode only, manual, no hook: call mem_review(action: "list") to fetch observations past their review_after; for each still-valid row call mem_review(action: "mark_reviewed", observation_id: <id>) to reset decay; stale rows get mem_update or are left to decay.
  • Pinning (mem_pin) — maintain mode pins ONLY canonical topic-key heads of types architecture/decision (policy: _shared/engram-convention.md, "Pinning Policy"). Pins are DEVICE-LOCAL, not synced — never claim a cross-device guarantee. mem_unpin superseded heads.