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/fatihkan/badi/adrgit clone --depth 1 https://github.com/fatihkan/badiWhat 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.00000 | $0.00389 |
| Opus 5 | $0.00000 | $0.00195 |
| Sonnet 5 | $0.00000 | $0.00078 |
| Haiku 4.5 | $0.00000 | $0.00039 |
Grade A, and why
adr 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
Architecture Decision Record (ADR) command. Documents architectural decisions in a structured format.
Required Tools
- Read (existing ADRs)
- Write (new ADR file)
- Grep (related decision search)
- Agent (architecture-advisor agent)
Procedure (5 Steps)
Step 1: Gather the Decision Context
From the user:
- What situation requires a decision?
- What constraints exist? (time, budget, technical)
- Who is affected?
Step 2: Evaluate the Alternatives
Delegate to the architecture-advisor agent:
- Analyze the current architecture
- Identify at least 3 alternatives
- List pros/cons for each alternative
- Run a trade-off analysis
Step 3: Document the Decision
Write in ADR format:
# ADR-[number]: [Title]
Date: [date]
Status: ACCEPTED
## Context
[The situation requiring the decision, constraints, stakeholder needs]
## Decision
[The chosen approach and its rationale]
## Considered Alternatives
### Alternative A: [name]
- Pros: ...
- Cons: ...
- Why not chosen: ...
### Alternative B: [name]
...
## Consequences
### Positive
- ...
### Negative
- ...
### Neutral
- ...
## Related Decisions
- ADR-XX: [related decision]
Step 4: Save
- Save into
docs/adr/(create if missing) - Assign the ADR number sequentially
- Update INDEX.md (if present)
Step 5: Update Related Documents
- Add a reference to CLAUDE.md or knowledge-base.md (where fitting)
- Add cross-references to related ADRs
Output Format
=== BADI ADR ===
Number: ADR-[number]
Title: [decision title]
Status: ACCEPTED
File: docs/adr/[number]-[title].md
================
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 · 76 lines · 0 tokens per session scan A 227d3b07f6b4
adr is a command published in the GitHub repository fatihkan/badi (7 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 389 tokens. 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-31.
Other commands, from other repositories
audit-agents-skills
Audit quality of agents, skills, and commands in a Claude Code project.
sonarqube
Analyze SonarCloud quality issues for a specific PR.
land-and-deploy
Merge PR, wait for CI, verify deploy, run canary — the complete landing pipeline.
methodology-advisor
Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack.
scaffold
Interactive coach that asks 4-5 questions to determine whether you need an agent, command, skill, hook, or rule — then generates a ready-to-use template. Usage: /scaffold (no arguments — starts the coaching session).
investigate
Systematic root-cause debugging — find the cause before writing any fix.