fix-issue

fix-issue is a skill for Claude Code from viknesh20-20/claude-code-tool-kit. It costs 40 tokens per session (517 once invoked), scanned A, original, MIT.

A workflow for taking a GitHub issue from description to tested code. A GitHub issue is a tracked bug, feature request, or improvement in a project.

In plain words
What is it for?
Use it to investigate an issue, create a dedicated branch, find the relevant code, implement the fix, update tests, and optionally create a pull request.
Why use it?
Issue work can stall when requirements, affected code, acceptance criteria, and verification steps are unclear. It gathers that context, makes a focused change, and checks for regressions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it to investigate an issue, create a dedicated branch, find the relevant code, implement the fix, update tests, and optionally create a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/viknesh20-20/claude-code-tool-kit/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.

Any agent
npx skills add viknesh20-20/claude-code-tool-kit --skill fix-issue
Clone the repo
git clone --depth 1 https://github.com/viknesh20-20/claude-code-tool-kit

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/skills/viknesh20-20/claude-code-tool-kit/fix-issue/github.svg)](https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/fix-issue)
Your own site
<a href="https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/fix-issue"><img src="https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/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/skills/viknesh20-20/claude-code-tool-kit/fix-issue"><img src="https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/fix-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 517 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.00040 $0.00517
Opus 5.5 $0.00016 $0.00207
Sonnet 5.5 $0.00008 $0.00103
Haiku 4.5 $0.00004 $0.00052

Measured 1mo ago against content hash 6afbb7bb2136, 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 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.

.claude/skills/fix-issue/SKILL.md · 59 lines

What it actually says

Fix GitHub Issue

Fetch Issue Details

!gh issue view $1 2>/dev/null || echo "Usage: /fix-issue <issue-number> — requires gh CLI authenticated"


Workflow

Step 1: Understand the Issue

  1. Read the issue title, description, labels, and comments
  2. Identify: Is this a bug fix, feature request, or enhancement?
  3. Determine acceptance criteria — what does "done" look like?
  4. Note any linked issues, PRs, or referenced files

Step 2: Find Relevant Code

  1. Search the codebase for files/functions mentioned in the issue
  2. Trace the code path related to the reported behavior
  3. If it's a bug: try to reproduce the conditions mentally by reading the code
  4. Identify the minimal set of files that need to change

Step 3: Create a Branch

git checkout -b fix/issue-<number>-<short-description>

Step 4: Implement the Fix

  1. Make the smallest change that addresses the issue
  2. Follow existing code patterns and conventions
  3. Add or update tests to cover the fix
  4. Ensure no regressions in adjacent functionality

Step 5: Verify

  1. Run existing tests for the affected area
  2. Run the new tests
  3. Review your own diff: git diff
  4. Check for unintended changes

Step 6: Commit and PR

  1. Stage changes: git add <files>
  2. Commit with reference: git commit -m "fix: <description> (#<issue-number>)"
  3. Push: git push -u origin <branch>
  4. Create PR: gh pr create --title "Fix #<number>: <title>" --body "Closes #<number>"

Rules

  • Always reference the issue number in commits and PR
  • Don't scope-creep — fix only what the issue describes
  • If the issue is unclear, list your assumptions before implementing
  • If the fix requires architectural changes, flag it and discuss before proceeding
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 · 59 lines · 40 tokens per session scan A 6afbb7bb2136

Subscribe to this mod's changes

fix-issue is a skill published in the GitHub repository viknesh20-20/claude-code-tool-kit (7 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 517 once invoked, about $0.0002 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-08-31.