aidd-adr

aidd-adr is a command for Claude Code from magic5644/Graph-It-Live. It costs 43 tokens per session (333 once invoked), scanned A, original, MIT.

A one-time architecture decision workflow for comparing technical options and recording the chosen approach in an Architecture Decision Record. An ADR is a document that preserves the decision, its reasons, and its consequences.

In plain words
What is it for?
Use it when one cross-cutting design choice needs options, a recommendation, human approval, and a permanent record.
Why use it?
It prevents important technical choices from being made informally or forgotten, while giving another reviewer a chance to find flaws.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Read, Write, Agent, Bash(graph-it *), Bash(node scripts/aidd-state.mjs *).

Good fit Use it when one cross-cutting design choice needs options, a recommendation, human approval, and a permanent record.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/magic5644/Graph-It-Live
agentmods
npx agentmods add commands/magic5644/graph-it-live/aidd-adr

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aidd-adr

README.md
[![agentmods](https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-adr/github.svg)](https://agentmods.dev/commands/magic5644/graph-it-live/aidd-adr)
Your own site
<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-adr"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-adr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aidd-adr

Your own site · 80×15
<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-adr"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00333
Opus 5.5 $0.00017 $0.00133
Sonnet 5.5 $0.00009 $0.00067
Haiku 4.5 $0.00004 $0.00033

Measured 2d ago against content hash 7d388f38efac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aidd-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.

.claude/commands/aidd-adr.md · 26 lines

What it actually says

/aidd-adr — Architecture Decision Record

Decision: $ARGUMENTS

State: tier adr in scripts/aidd-state.mjs — resume with status <id>, record every step, round on BLOCK; exit 3 = stop and ask the human (.claude/rules/agent-workflow.md § State and Resume).

Sequence

  1. Collect context and the options already considered.
  2. antoine-system-architect: options A/B/C, impact on each layer, fit with graphit.architecture.json and .claude/rules/, motivated recommendation.
  3. marine-architecture-devil: reasoning flaws, uncovered edge cases, bundle impact. Two rounds maximum.
  4. Antoine writes docs/architecture/ADR-XXX-<title>.md: context, options, decision, consequences (positive and negative), date and author.
  5. The human approves → the ADR goes through a docs/ branch and PR.
Changes

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.

  1. 2d ago First seen · 26 lines · 43 tokens per session scan A 7d388f38efac

Subscribe to this mod's changes

aidd-adr is a command published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 333 once invoked, about $0.0002 per session on Opus 5.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-11-28.

Related

aidd-adr compared with commands from other repositories

aidd-adr next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aidd-adrmagic5644/Graph-It-LiveCommand63yesterdayMITA43Claude Code
transferVit129/agy-plugin-ccCommand62d agoApache-2.0A25Claude Code
agyVit129/agy-plugin-ccCommand62d agoApache-2.0A13Claude Code
modelMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA59Claude Code
recordMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA38Claude Code
videoMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA96Claude Code
askMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA25Claude Code