From mnemonic
Audits mnemonic memory system for frontmatter validity, broken wiki-links, orphans, and decay; validates relationships, repairs links, updates strength, relocates files with git mv and reference updates. Use after renames or low health.
npx claudepluginhub zircote/mnemonicThis skill is limited to using the following tools:
<!-- BEGIN MNEMONIC PROTOCOL -->
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Search first: /mnemonic:search {relevant_keywords}
Capture after: /mnemonic:capture {namespace} "{title}"
Run /mnemonic:list --namespaces to see available namespaces from loaded ontologies.
Provides custodial services for the mnemonic memory system: auditing, validation, link repair, decay management, relocation, and summarization.
The custodian operates through focused Python modules:
| Module | Responsibility |
|---|---|
memory_file.py | Parse/validate/update MIF frontmatter |
link_checker.py | Build UUID/slug index, validate links, find orphans |
decay.py | Calculate exponential/linear/step decay, update strength |
relocator.py | Move files + update all cross-references |
validators.py | MIF schema validation, ontology relationship checks |
report.py | Structured findings with markdown/JSON output |
custodian.py | CLI orchestrator dispatching to modules |
Runs all checks in a single pass. This is the recommended entry point.
/mnemonic:custodian audit [--fix] [--dry-run]
Checks performed:
Moves memories when project or org names change:
/mnemonic:custodian relocate <old-path> <new-path> [--dry-run]
git mv for history preservation/mnemonic:custodian validate-links [--fix]
With --fix: broken [[wiki-links]] are replaced with plain text.
/mnemonic:custodian decay [--dry-run]
Updates temporal.decay.currentStrength (or strength) in-place.
Formula: strength * 0.5^(days_since_access / half_life_days)
/mnemonic:custodian summarize
Identifies compression candidates (>100 lines, >30d old or strength < 0.3).
Delegate actual compression to mnemonic:compression-worker agent.
/mnemonic:custodian ensure-bidirectional [--fix]
Scans all memory relationships and checks that each has a corresponding inverse
back-reference in the target. For example, if A supersedes B, B should have
SupersededBy (or superseded_by) pointing back to A.
Without --fix: reports missing back-references as warnings.
With --fix: auto-creates the missing inverse relationships.
Read-only validation. Reports errors without modifying files.
lib/paths.py--dry-run support on all mutation operations--commit flag for committing changes