aidd-bug-hunt

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

A read-only investigation workflow for a suspected software bug. It gathers evidence, follows the code paths involved, proposes a likely root cause, and reports a confidence level without changing code.

In plain words
What is it for?
Use it to reproduce a suspected problem, identify likely files and callers, distinguish an isolated issue from a wider one, and decide whether a fix workflow is justified.
Why use it?
It separates diagnosis from repair, so an unconfirmed symptom is not changed on the basis of a guess.

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, Agent, Bash(node scripts/aidd-state.mjs *).

Good fit Use it to reproduce a suspected problem, identify likely files and callers, distinguish an isolated issue from a wider one, and decide whether a fix workflow is justified.

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-bug-hunt

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-bug-hunt

README.md
[![agentmods](https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-bug-hunt/github.svg)](https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bug-hunt)
Your own site
<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bug-hunt"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-bug-hunt/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-bug-hunt

Your own site · 80×15
<a href="https://agentmods.dev/commands/magic5644/graph-it-live/aidd-bug-hunt"><img src="https://agentmods.dev/badge/commands/magic5644/graph-it-live/aidd-bug-hunt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 387 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.00051 $0.00387
Opus 5.5 $0.00020 $0.00155
Sonnet 5.5 $0.00010 $0.00077
Haiku 4.5 $0.00005 $0.00039

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

Security

Grade A, and why

aidd-bug-hunt 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-bug-hunt.md · 32 lines

What it actually says

/aidd-bug-hunt — Diagnosis (read-only)

Symptom: $ARGUMENTS

State: tier bug-hunt 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 the symptom: behavior, context, frequency, error message, surface (VS Code, CLI, MCP).
  2. diego-bug-investigator:
    • Reproduce if possible (exact command, file:line).
    • Walk to real callers with graph-it (trace, path-in, tool get_impact_analysis, tool query_call_graph) before any broad grep.
    • Root-cause hypothesis with evidence; isolated vs systemic; confidence 0–100%.
  3. Report: hypothesis, evidence, suspect files, confidence.
  4. Confidence ≥ 60% → propose /aidd-bugfix. Below 60% → list further investigations and run one follow-up round; still below 60% → report to the human, no forced conclusion.

Rule

Diagnosis only: no fix in this command.

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 · 32 lines · 51 tokens per session scan A 3496f6464bc2

Subscribe to this mod's changes

aidd-bug-hunt is a command published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 387 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-bug-hunt compared with commands from other repositories

aidd-bug-hunt next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aidd-bug-huntmagic5644/Graph-It-LiveCommand63yesterdayMITA51Claude Code
transferVit129/agy-plugin-ccCommand62d agoApache-2.0A25Claude Code
agyVit129/agy-plugin-ccCommand62d agoApache-2.0A13Claude Code
agy-debugAIgen-Solutions-s-r-l/agy-claude-pluginCommand15mo agoMITA25Claude Code
data-flow-analysissigistry/marketplaceCommand32d agoMITA11Claude Code
doctor-devpunt-labs/z-specCommand5yesterdayMITB5Claude Code
doctorModellix/modellix-pluginCommand118d agoMITA16Claude Code