A minimal CLI tool that routes AI coding tasks to the right agent
and scopes the prompt to only the relevant files.
No LLM calls. No automation. No magic.
Creates .context-router/ with memory files, agent templates, and CLAUDE.md wired up.
Prints a scoped prompt. Paste it into your AI tool.
Validates the diff. Retries with constraints if it fails.
.context-router/ ├── CORE.md ← global invariants ├── CORE_LITE.md ← quick task version ├── project_map.json ← agent ownership map └── memory/ ├── MEMORY.md ← status + recent fixes ├── MEMORY_MAP.md ← file ownership ├── MEMORY_CHANGELOG.md ← full history ├── MEMORY_INTELLIGENCE.md ← domain knowledge └── MEMORY_REFERENCE.md ← lessons learned
One init command generates the right config for your tool.