fix-issue

fix-issue is a skill for Claude Code from tomzx/agents. It costs 34 tokens per session (1,932 once invoked), scanned A, original, MIT.

A guided workflow for taking a GitHub bug report from investigation through a tested fix and pull request. It checks for duplicates, reproduces the problem, records before-and-after evidence, and asks for approval before opening the PR.

In plain words
What is it for?
Use it to investigate an issue, write a regression test, implement and validate the fix, and create a pull request with before-and-after recordings.
Why use it?
It keeps the steps of a bug fix connected and gives reviewers comparable proof that the problem is resolved. This reduces repeated manual work and helps prevent unverified fixes from reaching review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to investigate an issue, write a regression test, implement and validate the fix, and create a pull request with before-and-after recordings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/fix-issue
View source ↗ tomzx/agents
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 tomzx/agents --skill fix-issue
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

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/tomzx/agents/fix-issue.svg)](https://agentmods.dev/skills/tomzx/agents/fix-issue)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/fix-issue"><img src="https://agentmods.dev/badge/skills/tomzx/agents/fix-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 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.00034 $0.01932
Opus 5 $0.00017 $0.00966
Sonnet 5 $0.00007 $0.00386
Haiku 4.5 $0.00003 $0.00193

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

skills/fix-issue/SKILL.md · 199 lines

How it starts

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

Fix Issue

Orchestrates a bug fix from issue to PR by delegating to specialized skills:

  1. check-duplicates -- search for duplicate issues and existing fix PRs
  2. reproduce-issue -- fetch the issue, create a worktree, reproduce the bug, record a "before" video of the defect, post results
  3. create-implementation -- write a regression test, implement the fix, verify tests pass
  4. validate-implementation -- replay the before-command on the fixed code to capture a comparable "after" recording, then present the before/after pair for user sign-off before any PR is opened
  5. create-pr -- push the branch and open a pull request, embedding the pre-captured before/after pair in a side-by-side section

The before recording (and the manifest naming the demonstration command/URL) flows from reproduce-issue to validate-implementation via /tmp/<owner>/<repo>/<issue-id>/. validate-implementation replays the same command/URL on the fixed code so the two recordings are directly comparable, then writes captured-proof.json, which create-pr consumes. Recording happens before PR creation, at human-review time, so the user can confirm the fix before it is posted.

If duplicates are found or reproduction fails, the workflow stops at the relevant step.

Prerequisites

  • Apply the shared SDLC conventions in skills/sdlc/references/shared.md.
  • If no argument is provided, target the issue from $ISSUE_NUMBER (and $REPO).
  • gh CLI authenticated with write access to the target repository
  • A GitHub issue number describing a bug
  • Git worktree support (git worktree available)
  • Read any files present under .sdlc/context/ and apply any artifact style rules found there

Workflow

/check-duplicates
        |
        v
Duplicates found?
   /          \
 No             Yes
  |              |
  v              v
/reproduce-      Stop
issue            (comment posted)
        |
        v
Reproduced?
   /          \
 Yes            No
  |              |
  v              v
Record before   Stop
(video + manifest (comment posted)
 to /tmp/<owner>/<repo>/<issue-id>/)
        |
        v
/create-implementation
        |
        v
/validate-implementation
(replays before-command on fixed code,
 captures after, presents pair, gets sign-off)
        |
        v
/create-pr
(embeds pre-captured before/after pair)
        |
        v
Done (PR ready for review)

Read the full file on GitHub · 199 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. 5d ago First seen · 199 lines · 34 tokens per session scan A dfa57ada868c

Subscribe to this mod's changes

fix-issue is a skill published in the GitHub repository tomzx/agents (6 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 1,932 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories

agent-merge-conflict-arbiter

Neutral arbiter for merge conflicts between two agents.

NousResearch/hermes-agent · 19 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

bisect

Bisect regressions or broken builds in the Chromium repository using deterministic binary search, checking out midpoint commits, syncing dependencies with gclient sync, compiling the target with autoninja, and querying the user for test results until the culprit commit is isolated.

chromium/chromium · 52 tokens

mantis-critic

Assesses the production viability of findings, filtering out debug-only features and assertion traps. Use when findings have been validated and you need to confirm they are triggerable in production release builds (with assertions disabled). Don't use for writing reproduction scripts or patches.

google/mantis · 55 tokens

hotpath_bump

Bump the hotpath version number across the workspace and related files. Updates crate versions in Cargo.toml files (exact patch version) and version references in the backend middleware, hotpathinit skill, and README (major.minor only). Use when the user wants to bump, bump the version, or release a new hotpath…

pawurb/hotpath-rs · 73 tokens

comet-github-issue-fix

A workflow for fixing a confirmed Comet-related GitHub issue or review blocker within an isolated scope. It covers matching the work to the relevant workflow, testing the change, checking runtime results, and preparing a careful handoff.

rpamis/comet · 71 tokens