Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/mbeacom/adrkit/contextgit clone --depth 1 https://github.com/mbeacom/adrkitWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00018 | $0.00464 |
| Opus 5 | $0.00009 | $0.00232 |
| Sonnet 5 | $0.00004 | $0.00093 |
| Haiku 4.5 | $0.00002 | $0.00046 |
Grade A, and why
context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
adrkit — governing decisions
Loads the accumulated decision record into context so the plan you are about to write is informed by it, rather than rediscovering it at review time.
User Input
$ARGUMENTS
Steps
- Treat any arguments as repo-relative paths the work will touch. Passing the paths you actually intend to change gives a far sharper answer than passing none.
- Run
{SCRIPT}with those paths as arguments.- With paths, it emits a
CheckOutcomeJSON document: the decisions governing each path, plus findings for any ADR among them. - With no paths, it emits the ARB queue as JSON: every proposed decision awaiting review, with its SLA state. That is the set of questions already open — planning against them as if they were settled is the mistake this command exists to prevent.
- With paths, it emits a
- Read the result and carry it forward:
governedBy/governing— decisions already binding here. Follow them, or say plainly in the plan that you are departing from one and why.activeProposals— not yet binding, but in flight. Note any the plan touches; do not silently assume they will land.history— superseded and rejected records. This is where "we tried that" lives, and it is the reason not to re-propose it.
- If the command exits non-zero, read the message on stderr. It names the
missing thing (no CLI on PATH, no corpus at
ADRKIT_DIR) rather than returning an empty result that reads like "nothing governs this."
Notes
- Read-only. This command never writes to
docs/adr/**or anything else. - The corpus directory defaults to
docs/adrand is overridable withADRKIT_DIR. - An exit code of 1 means the corpus itself has error-severity findings — the report is still complete and still worth reading.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 46 lines · 18 tokens per session scan A bd0d30d370ed
context is a command published in the GitHub repository mbeacom/adrkit (11 stars, last pushed 2d ago), licensed Apache-2.0. It adds 18 tokens to every session and 464 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
release-adr-kit
You are running the adr-kit release for version $ARGUMENTS (if empty, ask which version to release).
adr-export
Export ADRs to HTML, JSON, or PDF format.
adr-search
Search ADRs by content, status, tags, or date.
adr-setup
Interactive setup for ADR configuration in this project.
adr-supersede
Create a new ADR that supersedes an existing one.
adr-update
Update an existing ADR (status, content, or metadata).