How this skill is triggered — by the user, by Claude, or both
Slash command
/intermem:tidyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structural housekeeping for auto-memory files. Extracts oversized sections from MEMORY.md into linked topic files and detects stale point-in-time counts.
Structural housekeeping for auto-memory files. Extracts oversized sections from MEMORY.md into linked topic files and detects stale point-in-time counts.
Find the intermem plugin install path and run the tidy subcommand:
INTERMEM_DIR="$(find ~/.claude/plugins/cache -path '*/intermem/*/pyproject.toml' -not -path '*/tests/*' -printf '%h\n' 2>/dev/null | sort -V | tail -1)"
cd "$INTERMEM_DIR" && uv run python -m intermem tidy --project-dir /path/to/project --json
Replace /path/to/project with the actual project directory.
--apply to execute the extractions# Dry-run
cd "$INTERMEM_DIR" && uv run python -m intermem tidy --project-dir /path/to/project
# Apply after review
cd "$INTERMEM_DIR" && uv run python -m intermem tidy --project-dir /path/to/project --apply
--budget N — Maximum MEMORY.md line count (default: 120). Sections are extracted until under budget.--section-threshold N — Minimum section size to consider for extraction (default: 15 lines). Smaller sections stay inline.--apply — Execute changes. Without this flag, only shows a preview.--json — Output results as JSON for programmatic consumption.Section extraction:
## headings--section-threshold lines<slug>.md topic files in the same directory## Topic Files section## Quick Reference or ## Topic Files (protected)Stale count detection:
48 plugins, 94 tests, 15 skillsinterverse/), checks actual count"48 Interverse plugins" → actual: 52 (drift: +4)[?]/intermem:synthesize — a tidy source produces better promotionsnpx claudepluginhub mistakeknot/interagency-marketplace --plugin intermemOrganizes, extracts, prunes, and verifies Claude Code persistent memory files to keep MEMORY.md under the 200-line truncation limit and topic files up to date with project state.
Consolidates, prunes, and reorganizes Claude Code auto memory files. Fixes format drift, deduplicates facts, enforces MEMORY.md index structure. Use when memory feels stale or cluttered.
Manages persistent project memory using MEMORY.md index, .oma/memory topic files, and .oma/rules packages. Audits memory, activates matching rules, reports outdated entries for long sessions with context drift.