Repository navigation
v0.1.0
The first tagged release of agents-context-router helps coding agents turn long AGENTS.md and CLAUDE.md files into a small shared kernel and task-specific wiki topics.
What you can do
- Load a whole document or one exact heading with the dependency-free Python router, keeping unrelated reference material out of each task.
- Run
checkto catch oversized topics, missing or ambiguous headings, unlisted topics, orphaned wiki/history pages, and broken relative Markdown file links. - Use one shared router across repositories with
AI_CONTEXT_ROOTandAI_CONTEXT_CONFIG, allow deliberate routing exceptions withunroutedglobs, and opt into discovery checks for pages outside the wiki withindexedpatterns. - Identify the source release of a copied router with
python3 scripts/ai-context.py --version. The package, native manifests, public skill and bundled router now share one version.
Install
For Pi, pin this release with:
pi install git:github.com/runkids/agents-context-router@v0.1.0See the installation guide for Claude Code, Codex, Antigravity, Skillshare, Hermes, Kimi Code, Muse and other skill-compatible agents.
Then ask your agent: “Our AGENTS.md is too big. Split it into a small kernel and task-specific wiki topics.”
The generated router requires Python 3.8 or later. Updating the installed skill does not replace router scripts already copied into your projects; compare local customizations before updating those copies.
Verification and thanks
All 45 tests passed in CI on Linux, macOS and Windows, with Python 3.8 also checked on Linux. Pi skill discovery and Antigravity manifest validation were verified locally.
Thanks to @salmonumbrella for the shared-router setup, indexed-page checks and relative-link validation in #1, #2 and #3.