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 skills/wsauret/flywheel/debugnpx skills add wsauret/flywheel --skill debuggit clone --depth 1 https://github.com/wsauret/flywheelWhat 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.00063 | $0.01439 |
| Opus 5 | $0.00032 | $0.00720 |
| Sonnet 5 | $0.00013 | $0.00288 |
| Haiku 4.5 | $0.00006 | $0.00144 |
Grade A, and why
debug scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Use AskUserQuestion: "What command reproduces or shows the problem? (e.g., `pytest tests/test_foo.py`, `npm test`, `curl ...`). Say 'none' for manual verification." How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug
Iterative debug loop: gather problem, investigate, fix loop (max 10 iterations) with verification after each fix.
Phase 0: Goal Definition
Parse $ARGUMENTS for a problem description.
If $ARGUMENTS is empty:
- Use AskUserQuestion: "Describe the problem you're seeing. Include error messages, unexpected behavior, or what's broken."
Check for active work session:
- Read
.flywheel/session.md— if it exists, warn the user:- "A work session is currently active. Debugging may conflict with in-progress work."
- Use AskUserQuestion: "Continue debugging anyway? (yes/no)"
- If no, stop.
Get verification command:
- Use AskUserQuestion: "What command reproduces or shows the problem? (e.g.,
pytest tests/test_foo.py,npm test,curl ...). Say 'none' for manual verification."
If command provided:
- Run the command to capture baseline output
- Truncate output to last 2000 characters
- Store as
BASELINE_OUTPUT
If "none":
- Set
MANUAL_MODE = true - Skip baseline capture
Phase 1: Investigation
Investigate inline (no subagent dispatch in V1).
Gather Context
- Read error output /
BASELINE_OUTPUTcarefully — identify file names, line numbers, error types - Search codebase for relevant files:
# Use Grep to find error strings, function names, class names from the output # Use Glob to locate test files, config files, related modules - Check recent git changes:
git log --oneline -10 git diff git diff --cached
Form Hypotheses
Produce 2-3 ranked hypotheses based on the evidence. Format each as:
Hypothesis N: <one-line summary>
Evidence: <what points to this>
Likelihood: High / Medium / Low
Confirm Direction
Present hypotheses to user using AskUserQuestion:
- "Here are my hypotheses. Which should I pursue first? (number, or describe a different direction)"
Phase 2: Fix Loop
ITERATION = 0
STRIKES = {} # track failures per hypothesis
CURRENT_HYPOTHESIS = <user-selected hypothesis>
For each iteration (1 to 10):
1. Implement ONE targeted fix
- Minimum change needed
- If fix requires >5 lines, explain why before implementing
2. Verify:
- Automated mode: run verification command, truncate to last 2000 chars
- Manual mode: AskUserQuestion "Did this fix the problem? (describe what you see)"
3. Evaluate:
- If FIXED → go to Phase 3
- If NOT FIXED → analyze new output, adjust approach
4. Track strikes:
- STRIKES[CURRENT_HYPOTHESIS] += 1
- If STRIKES[CURRENT_HYPOTHESIS] >= 3 → move to next hypothesis
5. If all hypotheses exhausted:
- AskUserQuestion "All hypotheses exhausted. Describe what you're seeing or suggest a new direction."
- Form new hypotheses from user input
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 · 187 lines · 63 tokens per session scan A ddd25d9fc4e2
debug is a skill published in the GitHub repository wsauret/flywheel (14 stars, last pushed 5d ago), licensed MIT. It adds 63 tokens to every session and 1,439 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
best-of-n
Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.
contributor-onboarding
Help a new contributor get productive on this checkout - inspect sync state against main, build, run the repository's exact verification gate, and produce a local what's-new digest. Never fetches, pulls, or modifies a dirty tree on its own. Explicit-only.
fleet-manager
Use when managing, triaging, restarting, escalating, or summarizing Codewhale Agent Fleet runs and workers.
handoff
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint.
codew-release-qa-sweep
Use before claiming CodeWhale release work is done: run the full gate sweep and list the manual QA targets.
gh-close-issues
Close resolved CodeWhale issues only after verifying the landed commit/behavior, with a positive crediting comment; never from title alone.