fix-issue

fix-issue is a command for Claude Code from vishnu2kmohan/mcp-server-langgraph. It costs 11 tokens per session (612 once invoked), scanned A, original, MIT.

A command workflow for investigating and fixing a GitHub issue, which is a reported bug, request, or documentation change. It reads the issue, examines the code and project history, reproduces the problem where possible, and develops a solution.

In plain words
What is it for?
Use it with an issue number to inspect the report, find related code and discussions, create a reproduction test for bugs, and implement the requested fix or feature.
Why use it?
It gives a repeatable path from an issue report to a tested code change, instead of leaving the developer to coordinate each investigation step manually.

Command for Claude Code

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.

agentmods
npx agentmods add commands/vishnu2kmohan/mcp-server-langgraph/fix-issue
Clone the repo
git clone --depth 1 https://github.com/vishnu2kmohan/mcp-server-langgraph

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/vishnu2kmohan/mcp-server-langgraph/fix-issue.svg)](https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/fix-issue)
Your own site
<a href="https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/fix-issue"><img src="https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/fix-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 612 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 $0.00011 $0.00612
Opus 5 $0.00005 $0.00306
Sonnet 5 $0.00002 $0.00122
Haiku 4.5 $0.00001 $0.00061

Measured 4d ago against content hash 105dd51b8d03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

.claude/commands/fix-issue.md · 118 lines

How it starts

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

Fix Issue Workflow

Automated workflow for debugging and fixing GitHub issues.

Usage: /fix-issue <issue-number> or /fix-issue $ARGUMENTS

Workflow Steps

  1. Retrieve Issue Details

    gh issue view $ARGUMENTS --json title,body,labels,comments
    

    Analyze:

    • Issue title and description
    • Labels (bug, enhancement, documentation, etc.)
    • Existing comments and discussion
    • Related PRs or issues
  2. Reproduce the Issue

    Based on issue type:

    For Bugs:

    • Identify affected component from description
    • Write a minimal reproduction test case
    • Run tests to confirm the bug

    For Features:

    • Review requirements and acceptance criteria
    • Check for existing similar functionality
    • Identify affected modules

    For Documentation:

    • Locate relevant documentation files
    • Review current content vs. requested changes
  3. Investigate Root Cause

    • Search codebase for related code
    • Read relevant files
    • Check recent changes with git log/blame
    • Review ADRs for architectural context
    • Check CLAUDE.md for project conventions
  4. Develop Solution

    • Create fix/feature implementation
    • Follow existing code patterns
    • Maintain type hints and documentation
    • Ensure backward compatibility
  5. Test the Fix

    make test-unit
    
    • Add new tests for the fix
    • Ensure all existing tests still pass
    • Run relevant integration tests if needed
    • Check code coverage
  6. Update Documentation

    • Update CHANGELOG.md with details
    • Update relevant documentation files
    • Add/update docstrings
    • Create/update ADR if architectural
  7. Commit Changes

    git add .
    git commit -m "fix: <description> (#$ARGUMENTS)"
    

    Follow conventional commit format:

    • fix: for bug fixes
    • feat: for new features
    • docs: for documentation
    • test: for tests
    • refactor: for refactoring
  8. Create Pull Request

    gh pr create --fill
    

Read the full file on GitHub · 118 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. 4d ago First seen · 118 lines · 11 tokens per session scan A 105dd51b8d03

Subscribe to this mod's changes

fix-issue is a command published in the GitHub repository vishnu2kmohan/mcp-server-langgraph (4 stars, last pushed 10d ago), licensed MIT. It adds 11 tokens to every session and 612 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-08-31.