Modularize Memory — Development skill for Claude Code
Split an oversized CLAUDE.md into modular files: root stays lean, path-scoped rules go to .claude/rules/, component-specific rules go to subdirectory CLAUDE.md files.
How to install Modularize Memory
Installs to ~/.claude/skills/adivor-ai-adivor-claude-setup-modularize-memory/SKILL.md
mkdir -p ~/.claude/skills/adivor-ai-adivor-claude-setup-modularize-memory && curl -fsSL https://raw.githubusercontent.com/Adivor-ai/adivor-claude-setup/HEAD/commands/modularize-memory.md -o ~/.claude/skills/adivor-ai-adivor-claude-setup-modularize-memory/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Modularize Memory does
description: "Split an oversized CLAUDE.md into modular files: root stays lean, path-scoped rules go to .claude/rules/, component-specific rules go to subdirectory CLAUDE.md files." allowed-tools: ["Read", "Write", "Edit", "Bash", "ListDir"]
Modularize the project's CLAUDE.md system. Follow these steps:
**Audit current state**: Run `bash .claude/scripts/claude-md-audit.sh` and read all existing CLAUDE.md and .claude/rules/ files.
**Classify every rule** into one of three buckets
Alternatives in Development
- Lean Canvas — Generate Lean Canvas with problem, solution, UVP, and metrics 7.8k ★
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
- Bypass 403 — Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF f 4.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Init Rules
Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions whi
Rails Template
Opinionated, agent-native Rails template — the production Rails starter ZAR uses internally, packaged with a C
Compact Prepare
Flush what this session learned into the files that outlive it - AGENTS.md, CLAUDE.md, project-conventions, pa
Save Learnings To Docs
Save session learnings to the CHEAPEST tier that carries each one (hook → .claude/rules/ path-scoped → .claude
Bulldozer
Self-arming hourly heartbeat that clears EASY backlog tickets by DRAINING the eligible queue back-to-back each
Buzz
Profile Lean declarations, find the slow ones, trace-diagnose the root cause, and fix them until each elaborat
Related Agents
Modularization Analyst
Read-only seam analysis and split design for oversized or mixed-concern files anywhere in the repo. Use BEFORE
Kepler
Evidence-first implementation agent (Hunter's method). Executes a scoped change with an evidence chain, source
Lean Worker
Lean, cache-cheap worker for SIMPLE, bounded tasks — a single file create/edit, a small scripted step, a scope