Memory hygiene for any AI coding agent. Tidy the auto-memory directory: drop stale, archive historical, distill verbose, organize into a fixed topic set. Backup-first, reversible. For cleanup/memory-management tasks.
Instructions for marcelopaniza/mempenny, covering mempenny — memory hygiene for any ai coding agent, where the memory lives, strategy hierarchy (cheapest action first), forward-looking truth and non-negotiable guards.
Runs MemPenny memory-cleanup commands. Auto-approves the non-destructive bash and file operations they need (reads, backup, validation, atomic writes, subagent spawns); still asks before any rm, and before any bash command outside mempenny's known-safe set. Use this agent only for mempenny commands — the relaxed…
One-shot memory cleanup — triage + apply in a single pass. First run asks where backups should live; subsequent runs reuse that folder automatically. (opencode host adapter).
Content-preserving fallback split for an over-ceiling topic file with no other reduction path — the main file becomes an INDEX and its items become PAGES the index points at. (opencode host adapter).
Per-entry reduction pass for an over-ceiling reference-topic file (charter/pending/worklog/support/traps/rules/decisions/reference). Distinct from memory-distill, which operates on a whole file. (opencode host adapter).
Close finished calendar years out of an over-ceiling log-topic file (worklog/support/decisions) into a locked topic-YYYY.md shard, and update the parent's Shards index. (opencode host adapter).
Dry-run triage of an auto-memory directory. Produces a markdown table of proposed actions (delete / archive / distill / keep). No writes. (opencode host adapter).
Schedule /mempenny-clean to run daily, weekly, or once. Fires the next time you open opencode in this project after the scheduled time, via a desktop notification. (opencode host adapter).
Restore a memory-dir backup created by /mempenny-clean. Lists available backups, asks which one, takes a safety snapshot of the current state, then restores. (opencode host adapter).
Instructions for marcelopaniza/mempenny, covering agents.md, what mempenny does, where the memory lives, the strategy hierarchy and the forward-looking-truth principle.
Content-preserving fallback split for an over-ceiling topic file that has no other applicable reduction path — charter.md/pending.md (curate-exempt by design) or a log-topic whose over-ceiling bulk is entirely the still-open period that shard-roll deliberately never touches. Over ceiling → the main file becomes an…
Per-entry reduction pass for an over-ceiling reference-topic file (charter/pending/worklog/support/traps/rules/decisions/reference). Distinct from memory-distill, which operates on a whole file.
Close finished calendar years out of an over-ceiling log-topic file (worklog/support/decisions) into a locked topic-YYYY.md shard, and update the parent's Shards index.
Schedule /mempenny:clean to run daily, weekly, or once. Fires the next time you open Claude Code in this project after the scheduled time. Uses Claude credits per run.