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.
git clone --depth 1 https://github.com/magic5644/Graph-It-Livenpx agentmods add commands/magic5644/graph-it-live/aidd-bugfixWrote 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.
[](https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bugfix)<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bugfix"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-bugfix/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.
<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bugfix"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-bugfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.01000 |
| Opus 5.5 | $0.00027 | $0.00400 |
| Sonnet 5.5 | $0.00013 | $0.00200 |
| Haiku 4.5 | $0.00007 | $0.00100 |
Grade A, and why
aidd-bugfix 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.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/aidd-bugfix — Bug loop
Bug: $ARGUMENTS
State: tier bugfix 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).
No design phase: the scope is already defined. Follow .claude/rules/agent-workflow.md, including loop bounds: every BLOCK below is one correction round; three rounds on this bug → stop and ask the human. A 1–2 file fix is made by the main conversation directly; the review steps still apply.
Sequence
- Diagnose (main conversation)
- Not confirmed yet → run
/aidd-bug-huntfirst, unless the bug already came from it: then ask the human. - Reproduce: exact steps, error message,
file:line. - Find every caller of the faulty function (
graph-it path-in,graph-it trace); fix the root cause once in shared code. - Identify the layer (analyzer / extension / CLI / MCP / webview). Systemic →
/aidd-feature(one tier change).
- Not confirmed yet → run
- Branch
fix/<issue>-<slug>from up-to-datemain. Record it:done <id> branch --artifact branch=<name>(the merge hook checks it). - Fix + test by the developer of the layer: lucas (
src/analyzer/), emma (src/webview/), marco (src/mcp/), kevin (src/extension/,src/cli/).- The test reproducing the bug ships with the fix.
- Critical rules still apply (no vscode in analyzer/MCP,
normalizePath, etc.). - Windows cases when the fix touches paths/Sets/Maps.
- Black-box failure cases when the bug is user-facing.
bash scripts/aidd-gate-check.shandgraph-it check-architecture. BLOCK → step 3 without an agent (one correction round).- hugo-qa-engineer: the reproducing test exists and passes; touched file ≥ 80%. BLOCK → step 3 (one correction round).
- In parallel:
- sophie-code-reviewer: diff only; vscode imports,
normalizePath, callbacks, edge cases, user contract. theo-code-review-devil if doubtful. - nathan-security-analyst: diff only; untrusted input (MCP payload, CLI args, webview messages): Zod, limits, paths (CWE-22, null bytes, workspace escape); no project data or absolute paths in logs or errors. adrien-security-devil if a BLOCK is disputed.
- BLOCK → step 3 with a fresh agent (one correction round).
- sophie-code-reviewer: diff only; vscode imports,
npm run build, lint, typecheck, local Sonar 0 issues;git push -u origin <branch> && gh pr create --milestone <current milestone>in one call; wait for CI green and SonarCloud 0 new issues (at most two fix pushes, then stop and report).- Light GATE-6: the human confirms the bug is fixed; then
gh pr merge --rebase --delete-branch.
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 · 51 lines · 67 tokens per session scan A 6caca11012aa
aidd-bugfix is a command published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,000 once invoked, about $0.0003 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.
aidd-bugfix compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aidd-bugfixmagic5644/Graph-It-Live | Command | 63 | yesterday | MIT | A | 67 | Claude Code |
| build-fixgalyarderlabs/galyarder-framework | Command | 30 | 10d ago | MIT | A | 20 | Claude Code |
| transferVit129/agy-plugin-cc | Command | 6 | 2d ago | Apache-2.0 | A | 25 | Claude Code |
| agyVit129/agy-plugin-cc | Command | 6 | 2d ago | Apache-2.0 | A | 13 | Claude Code |
| implement-fixakaszubski/autonomous-dev | Command | 35 | 10d ago | none | A | 11 | Claude Code |
| fix-bugkunalsuri/ai-fication-kit | Command | 3 | 1mo ago | Apache-2.0 | A | 27 | GitHub Copilot |
| agy-debugAIgen-Solutions-s-r-l/agy-claude-plugin | Command | 1 | 5mo ago | MIT | A | 25 | Claude Code |