Repository navigation
v0.2.0
Axiomarium 0.2: Instruction intelligence. See what Claude Code and Codex actually load for a file, what they silently drop, and why.
Try it
- In any repo, run
axm doctorto list each instruction file with the harnesses that load it. - Run
axm explain src/app/main.csto see what each harness loads for that file, in context order, and what it drops. - Add
--diffto see only the files one harness loads.
What's new
axm explain <path>: the instruction files Claude Code and Codex load for a file, and the ones they drop, each with the rule that decides it. Rows say whether a file loads at launch or when the file is read, whichpathsmatched, which line imported it, and whether Codex's byte budget cut it.- Options:
--harnesspicks one harness,--cwdsets the launch directory (the repo root by default),--diffshows only the files one harness loads, and--jsonprints the result withschemaVersion1. - Checked against the real thing: the models are confirmed against Claude Code 2.1.284 and Codex 0.156.1.
- Nine findings:
dead-import,import-too-deep,agents-md-hidden,rule-frontmatter-invalid,rule-matches-nothing,codex-byte-cap,codex-empty-overrideanddead-linkare warnings, andduplicate-blockis info. Each says what's wrong, why it matters and what to do, and has a page infindings/<id>/finding.md.explainstill exits 0, and its JSON lists them underfindings. axm hook session-doctor: a Claude Code SessionStart hook. Whenaxm doctorfinds a problem, it shows you a one-line summary and gives the model every problem with its fix. It says nothing when all is well, and never blocks.axiomarium.yaml: configuresaxmfor a repo, checked againstschemas/axiomarium.schema.json.doctor.ignorelists instruction files that are broken on purpose, such as test fixtures.
Heads-up
axm doctornow works in any repo: it checks the instruction files from the repo root, the nearest folder above with a.git, and still checks the vault when--rootor the repo root holds one. Findings never fail it, but a problem inaxiomarium.yamlis an error.axm validatestill checks only the vault.