issue-fix

issue-fix is a command for Claude Code from matteocervelli/llms. It costs 14 tokens per session (538 once invoked), scanned A, original, MIT.

A command that fixes software bugs reported in GitHub issues. It investigates the root cause, applies a fix, and checks security, performance, and tests.

In plain words
What is it for?
Use it to inspect a GitHub issue, create a fix branch, implement the change, add reproduction and edge-case tests, and run code-quality checks.
Why use it?
It turns an issue report into a structured bug-fixing workflow and checks for regressions before the change is finished.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect a GitHub issue, create a fix branch, implement the change, add reproduction and edge-case tests, and run code-quality checks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/matteocervelli/llms/issue-fix
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/matteocervelli/llms

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/matteocervelli/llms/issue-fix"><img src="https://agentmods.dev/badge/commands/matteocervelli/llms/issue-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 538 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.00014 $0.00538
Opus 5.5 $0.00006 $0.00215
Sonnet 5.5 $0.00003 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 1mo ago against content hash c115cd9a2487, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

issue-fix 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 1mo 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.

.archive/claude-v1/commands/issue-fix.md · 86 lines

What it actually says

Fix Bug from Issue: $ARGUMENTS

💡 Tip: For safer planning, activate Plan Mode (press Shift+Tab twice) before running this command to review the fix strategy before implementation.

Analysis Phase

!gh issue view $ARGUMENTS
!git checkout -b fix/issue-$ARGUMENTS

Use sequential-thinking-mcp to:

  1. Understand the bug and identify root cause
  2. Assess security implications (auth, input validation, data exposure)
  3. Plan minimal fix with performance considerations
  4. Identify testing strategy

Implementation Phase

Implement fix following:

  • Security: Validate inputs, secure error handling, no data leaks
  • Performance: Measure impact, optimize queries if needed
  • Defensive: Null checks, proper error boundaries

Testing Phase

# Quality checks
!npm run lint && npm run typecheck || flake8 . && mypy .
!npm run test || pytest

Create tests for:

  • Bug reproduction (verify fix works)
  • Security edge cases (malicious inputs)
  • Performance regression (response times)
  • Integration scenarios

Validation Checkpoint

Test the fix in development and confirm:

  1. Original bug is resolved
  2. No regressions in existing functionality
  3. Performance impact acceptable
  4. Security measures working

Deploy Phase

!git add . && git commit -m "fix: resolve issue $ARGUMENTS

- Root cause: [brief description]
- Security: [input validation/auth preserved/no data exposure]
- Performance: [within SLA/optimized/no regression]
- Testing: [unit/integration/security tests added]

Fixes #$ARGUMENTS"

!git push origin fix/issue-$ARGUMENTS
!gh pr create --title "fix: issue $ARGUMENTS" --body "Security-validated bug fix with performance testing. Fixes #$ARGUMENTS"

Documentation

Update:

  • docs/implementation/ with fix details
  • docs/developers/TROUBLESHOOTING.md if needed
  • docs/architecture/ docs if structural changes
  • docs/guides/ docs if user guide changes

Final Steps

  • Update @CHANGELOG.md with bug fix addition and increase versioning accordingly
  • Update user documentation and publish if needed
  • Monitor bug fix adoption and performance post-deployment
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. 1mo ago First seen · 86 lines · 14 tokens per session scan A c115cd9a2487

Subscribe to this mod's changes

issue-fix is a command published in the GitHub repository matteocervelli/llms (25 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 538 once invoked, about $0.0001 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-09-01.

Related

Other commands, from other repositories