/intermem:memory-tidyfrom intermem
Tidy memory files — extract oversized sections, detect stale counts
Ships in intermem. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 promotionsWhat SKILL.md sets; muted values are Claude Code's defaults
intermem@interagency-marketplace is listed by mistakeknot/interagency-marketplace — review the source before installing
npx claudepluginhub mistakeknot/interagency-marketplace --plugin intermem2 skills in this plugin
Other plugins' skills for the same job