mushi-mushi: Skill for Cursor

.cursor/skills/mushi-debug/SKILL.md

mushi-debug is a skill for Cursor from kensaurus/mushi-mushi. It costs 92 tokens per session (1,273 once invoked), scanned A, original, MIT.

A troubleshooting guide for Mushi Mushi, covering its SDK, API, command-line tools, story mapping, tests, API keys, and automated improvement process.

In plain words
What is it for?
Use it to diagnose missing SDK reports, API errors, failed story maps, tests that do not run, exhausted language-model keys, worker errors, and problems with the PDCA improvement loop.
Why use it?
It helps identify whether a failure comes from missing events, invalid credentials, exhausted keys, an unreachable website, or a broken service.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is kensaurus/mushi-mushi's own configuration. It tells Cursor how to work on mushi-mushi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mushi-mushi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kensaurus/mushi-mushi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kensaurus/mushi-mushi/master/.cursor/skills/mushi-debug/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kensaurus/mushi-mushi

Made for: Cursor.

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 mushi-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/mushi-mushi/mushi-debug.svg)](https://agentmods.dev/skills/kensaurus/mushi-mushi/mushi-debug)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/mushi-mushi/mushi-debug"><img src="https://agentmods.dev/badge/skills/kensaurus/mushi-mushi/mushi-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00092 $0.01273
Opus 5 $0.00046 $0.00636
Sonnet 5 $0.00018 $0.00255
Haiku 4.5 $0.00009 $0.00127

Measured 6d ago against content hash 1d35cec949d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mushi-debug 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 6d 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.

.cursor/skills/mushi-debug/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mushi Debug Guide

SDK Not Reporting Events

Symptoms: Inventory → Discovery shows 0 events.

  1. Check the SDK is initialized before any navigation:
    Mushi.init({ projectId: '...', apiKey: '...', capture: { discoverInventory: { enabled: true } } })
    
  2. Verify the API key starts with mushi_ and belongs to the correct project.
  3. Check browser console for [Mushi] errors.
  4. Run mushi doctor — confirms reachability.

API Key Exhausted / Rate Limited

Symptoms: "ALL_KEYS_EXHAUSTED" error, quota banner in Settings.

# Check key health
mushi keys list

# Add a backup key
mushi keys add --provider anthropic --key sk-ant-... --label "Backup"

In the console: Settings → API Key Pool → keys in quota_exhausted state show cooldown timer (resets in 1 hour automatically).

Story Mapping Failed

Symptoms: mushi stories map returns error or crawl run shows failed.

  1. Confirm Firecrawl key is configured:
    mushi keys list
    # Should show firecrawl [active]
    
  2. Verify the URL is publicly reachable (not localhost).
  3. Check the console: Inventory → Discovery → Recent crawls for the error message.
  4. Try with fewer pages: mushi stories map --url <url> --max-pages 5 --wait

QA Story Failing Hourly

Symptoms: Slack message every hour — :warning: QA story <name> errored — or Firecrawl 401.

Most common root causes and fixes:

Error Cause Fix
Firecrawl 401 Unauthorized: Token missing No Firecrawl BYOK key in project mushi integrations test firecrawl → if fails, add key: mushi keys add --provider firecrawl --key fc-...
no_target_url: set a Target URL on this story Story has no target_url and prompt doesn't contain a URL Edit story in QA Coverage → Edit → Target URL
Link in Slack opens wrong page Old story created before Jun 2026 deep-link fix Links now go to /qa-coverage?story=<id>&run=<run-id> — verify admin console URL is correct

Read the full file on GitHub · 143 lines

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. 6d ago First seen · 143 lines · 92 tokens per session scan A 1d35cec949d4

Subscribe to this mod's changes

mushi-debug is a skill published in the GitHub repository kensaurus/mushi-mushi (3 stars, last pushed 9d ago), licensed MIT. It adds 92 tokens to every session and 1,273 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

phoenix-observability

Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.

davila7/claude-code-templates · 47 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

synthetic-sciences/openscience · 45 tokens

tracely

Instrument AI agents with Tracely and turn their production traces into CI gates. Use when the user mentions Tracely, tracely-ai, tracelysdk, the tracely CLI, or asks to trace/observe an AI agent, add LLM evaluators or LLM-as-a-judge columns, debug why a trace or conversation isn't showing up, wire agent regression…

Jwuthri/Tracely-ai · 120 tokens

bug-hunter

Precision-first adversarial bug hunting for runtime, logic, data, concurrency, and security defects. Uses deterministic risk triage, evidence-bounded retrieval, Hunter/Skeptic/Referee review, optional hybrid verification, and explicit immutable Fixer scope. Scan-only and single-pass by default; complete-coverage…

codexstar69/bug-hunter · 105 tokens

hunter

Deep behavioral code analysis agent for Bug Hunter. Performs multi-phase scanning to find logic errors, security vulnerabilities, race conditions, and runtime bugs. Uses doc-lookup (Context Hub + Context7) for framework verification. Reports structured JSON findings.

codexstar69/bug-hunter · 50 tokens