fix-issue

fix-issue is a command for Claude Code from koaning/wigglystuff. It costs 0 tokens per session (168 once invoked), scanned A, original, MIT.

A step-by-step command for investigating and fixing a GitHub issue. It uses the issue's discussion and related pull requests, then plans reproduction tests, code changes, testing, and a pull request description.

In plain words
What is it for?
Use it to inspect an issue with GitHub's command-line tool, locate the relevant code, plan or add tests, implement a fix, and prepare commit documentation.
Why use it?
It gives issue work a clear process and helps address the underlying cause rather than only the visible symptom.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Good fit Use it to inspect an issue with GitHub's command-line tool, locate the relevant code, plan or add tests, implement a fix, and prepare commit documentation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/koaning/wigglystuff/fix-issue
Install

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.

Clone the repo
git clone --depth 1 https://github.com/koaning/wigglystuff

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 fix-issue

README.md
[![agentmods](https://agentmods.dev/badge/commands/koaning/wigglystuff/fix-issue/github.svg)](https://agentmods.dev/commands/koaning/wigglystuff/fix-issue)
Your own site
<a href="https://agentmods.dev/commands/koaning/wigglystuff/fix-issue"><img src="https://agentmods.dev/badge/commands/koaning/wigglystuff/fix-issue/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 fix-issue

Your own site · 80×15
<a href="https://agentmods.dev/commands/koaning/wigglystuff/fix-issue"><img src="https://agentmods.dev/badge/commands/koaning/wigglystuff/fix-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 168 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.00000 $0.00168
Opus 5.5 $0.00000 $0.00067
Sonnet 5.5 $0.00000 $0.00034
Haiku 4.5 $0.00000 $0.00017

Measured yesterday against content hash 9db4ad682699, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-issue 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 yesterday.

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/fix-issue.md · 12 lines

What it actually says

Find and fix issue #$ARGUMENTS. Follow these steps:

Ultrathink and use the gh cli to pull in as much relevant context as necessary.

  1. Understand the issue described in the ticket (comments, associated PRs, etc)
  2. Locate the relevant code in our codebase
  3. Come up with a plan to create a test to reproduce the error (Test Driven Development) if it is possible and stop to check in with me
  4. Implement a solution that addresses the root cause
  5. Come up with a plan for testing if one was not already created and stop to check in with me
  6. Add appropriate tests (if confirmed by me)
  7. Prepare a concise PR description in commit.md (follow style of .claude/commands/write-commit.md)
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. yesterday First seen · 12 lines · 0 tokens per session scan A 9db4ad682699

Subscribe to this mod's changes

fix-issue is a command published in the GitHub repository koaning/wigglystuff (450 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 168 tokens. 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-10-14.