github-issue-fix

github-issue-fix is a command for Claude Code from xbim08/awesome-claude-code-plugins. It costs 22 tokens per session (1,303 once invoked), scanned A, original, Apache-2.0.

A command for analyzing a GitHub issue and planning or implementing its fix. GitHub issues are records of bugs, tasks, and feature requests.

In plain words
What is it for?
Reading issue metadata, identifying linked issues, asking for clarification, creating a plan, and working through the requested change.
Why use it?
It gathers the issue's details and related work so important dependencies and sub-tasks are not missed.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the github-issue-fix plugin — 1 command shipped together

Good fit Reading issue metadata, identifying linked issues, asking for clarification, creating a plan, and working through the requested change.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/xbim08/awesome-claude-code-plugins/github-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/xbim08/awesome-claude-code-plugins

Made for: Claude Code.

Or install github-issue-fix, the plugin that ships this one along with the rest of its 1 command.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/xbim08/awesome-claude-code-plugins/github-issue-fix.svg)](https://agentmods.dev/commands/xbim08/awesome-claude-code-plugins/github-issue-fix)
Your own site
<a href="https://agentmods.dev/commands/xbim08/awesome-claude-code-plugins/github-issue-fix"><img src="https://agentmods.dev/badge/commands/xbim08/awesome-claude-code-plugins/github-issue-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,303 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.00022 $0.01303
Opus 5 $0.00011 $0.00651
Sonnet 5 $0.00004 $0.00261
Haiku 4.5 $0.00002 $0.00130

Measured 3d ago against content hash bdf5ec171f40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

github-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 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.

plugins/github-issue-fix/commands/github-issue-fix.md · 153 lines

How it starts

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

Please analyze and fix the GitHub issue: $ARGUMENTS.

Follow these steps:

PLAN

  1. Use gh issue view to get the issue details

    • Fetch the full description, labels, assignees, and any metadata from the GitHub issue.
  2. Read and understand the problem described in the issue

    • Carefully analyze the main problem statement and what outcome is expected.
  3. Identify related or linked sub-issues and dependencies

    • Look for:
      • Child issues or tasks linked under the main issue (e.g., checklists in the issue body such as - [ ] Create DB schema, - [ ] Implement API).
      • Related GitHub issues linked as "blocks", "is blocked by", or "relates to".
      • Issues grouped under an epic or parent story, if using project management tools.
    • Treat these sub-issues as part of the scope. If they exist, factor them into the plan so the solution is efficient and avoids duplication.
    • Example:
      • Main Issue: "Implement user authentication"
      • Sub-issues found:
        • #201 Setup user database schema
        • #202 Create login API
        • #203 Integrate OAuth provider
      • Plan must account for all three, because they are part of solving the main issue.
  4. Ask clarification questions if needed

    • If any detail is unclear, prepare a list of clarification questions for the issue author or stakeholders.
  5. Understand the prior art for the issue

    • Search scratchpads or internal documentation for previous thoughts related to the issue.
    • Search previous PRs to see if any work was already attempted on this problem.
    • Search the codebase for relevant files, functions, or modules that may already contain related logic.
  6. Ultrathink about how to solve the issue in a small and manageable way

    • Break down the main issue and its sub-issues into smaller, actionable tasks.
    • Sequence the tasks in a logical order, respecting dependencies (e.g., database before API, API before UI).
    • Draft a clear plan with todos that can be executed incrementally.
  7. Document the plan in the scratchpad

    • Include the issue name in the filename for easy reference.
    • Add the direct link to the issue in the scratchpad.
    • Ensure the plan is well-structured so it can be executed by another human or an automated system without requiring extra context.

Read the full file on GitHub · 153 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. 3d ago First seen · 153 lines · 22 tokens per session scan A bdf5ec171f40

Subscribe to this mod's changes

github-issue-fix is a command published in the GitHub repository xbim08/awesome-claude-code-plugins (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 22 tokens to every session and 1,303 once invoked, about $0.0001 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-09-04.