Local-first · deterministic · open source

Know which agent instructions actually apply.

RuleRoute maps Codex AGENTS.md chains and Claude Code CLAUDE.md, imports, exclusions, and path rules for a target file—without uploading repository data.

View source & docs Latest release Privacy details

Codex

Trace nested files and same-directory overrides.

codex plugin marketplace add \
  https://codeberg.org/automa-tan/ruleroute.git
codex plugin add ruleroute@ruleroute-tools

Claude Code

Trace launch, lazy, imported, and path-scoped sources.

/plugin marketplace add \
  https://codeberg.org/automa-tan/ruleroute.git
/plugin install ruleroute@ruleroute-tools

Run once without installing

Use the published standalone CLI with Node.js 18 or newer:

npx --yes --registry=https://codeberg.org/api/packages/automa-tan/npm/ \
  ruleroute src/server/router.ts --harness codex