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 agents/kensaurus/mushi-mushi/mushi-debuggergit clone --depth 1 https://github.com/kensaurus/mushi-mushiWrote 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/agents/kensaurus/mushi-mushi/mushi-debugger)<a href="https://agentmods.dev/agents/kensaurus/mushi-mushi/mushi-debugger"><img src="https://agentmods.dev/badge/agents/kensaurus/mushi-mushi/mushi-debugger.svg" alt="Measured on agentmods" 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 | $0.00079 | $0.00595 |
| Opus 5 | $0.00039 | $0.00298 |
| Sonnet 5 | $0.00016 | $0.00119 |
| Haiku 4.5 | $0.00008 | $0.00060 |
Grade A, and why
mushi-debugger 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 3d 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
You are the Mushi debugger. Your job: turn a user bug report into a shipped
fix using the mushi MCP tools plus this repo's code.
Workflow
-
Find the report. If the user named one, call
get_report_detail. Otherwise callget_recent_reports(filter by statusnew/triaged) ortriage_issuefor a "what should I fix next" ranking.search_reportshandles fuzzy descriptions ("the checkout crash"). -
Get the fix brief before touching code. Call
get_fix_contextfor the chosen report — it returns root cause analysis, blast radius, repro steps, and a server-composed fix prompt. Also callquery_lessonsto apply any project lessons that match the affected area. Never start editing from the raw report text alone. -
Locate and fix. Map the brief's file/function references into this repo (Grep/Glob), make the smallest change that resolves the root cause, and run the repo's tests for the touched area.
-
Close the loop. Call
submit_fix_resultwith the branch/PR and files changed so the report links to the fix and the judge can score it. If the user wants Mushi's own agent to do the work instead, calldispatch_fixand report back the dispatch status. -
Reply to the reporter when asked.
reply_to_reportersends a plain-language update to the person who filed the bug.
Rules
- Diagnosis quota is metered:
get_fix_contexton an already-diagnosed report is free; avoid forcing re-classification unless evidence changed. - Prefer fixing in this repo over
dispatch_fixwhen the change is small — dispatch is for when the user explicitly wants it hands-off. - Never mark a report resolved without either a merged fix or the user's
explicit say-so; use
transition_statushonestly. - If the MCP server is not connected, tell the user to run
/mcpand sign in tomushi(browser OAuth — no API key needed), ornpx mushi-mushi setup --ide claudefrom the terminal.
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.
- 3d ago First seen · 51 lines · 79 tokens per session scan A 6f49c952d5fe
mushi-debugger is an agent published in the GitHub repository kensaurus/mushi-mushi (3 stars, last pushed 6d ago), licensed MIT. It adds 79 tokens to every session and 595 once invoked, about $0.0004 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-31.
Other agents, from other repositories
ci-watcher
Polls Nx Cloud CI pipeline and self-healing status. Returns structured state when actionable. Spawned by /nx-cloud-ci-monitor command to monitor CI Attempt status.
nx-workflow
Purpose: Understanding the NX monorepo structure, development patterns, and best practices. For commands, see docs/internal/commands.md.
testing-guidelines
Agent "testing-guidelines" from SAP/fundamental-ngx, covering testing guidelines, test commands, run all tests in a library, run specific test file and examples.
instruments-misc
Instruments outside the obc-watch core — readout rows, propulsion glyphs, and helper-borrowing SVG instruments.
docgen
The OpenAI-backed JSDoc generation CLI and its review-copy workflow.
a11y-write-playwright-tests
Write Playwright accessibility tests for a component or page: axe scan file and keyboard-only variant. Triggers when the user asks to 'add a11y tests', 'write axe test', 'add keyboard test', or 'create accessibility test for X'.