fix-issue

fix-issue is a skill for Claude Code from smartwhale8/claude-playbook. It costs 14 tokens per session (219 once invoked), scanned A, original, MIT.

A workflow for taking a GitHub issue from investigation through a code fix, tests, verification, commit, and pull request. GitHub issues are written requests or reports about changes needed in a project.

In plain words
What is it for?
Reading an issue, finding its root cause, changing the relevant files, adding a regression test, running checks, committing the fix, and opening a pull request.
Why use it?
It reduces the chance of patching only a visible symptom or forgetting tests, type checks, linting, or the final code review step.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Reading an issue, finding its root cause, changing the relevant files, adding a regression test, running checks, committing the fix, and opening a pull request.

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

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/smartwhale8/claude-playbook/fix-issue/github.svg)](https://agentmods.dev/skills/smartwhale8/claude-playbook/fix-issue)
Your own site
<a href="https://agentmods.dev/skills/smartwhale8/claude-playbook/fix-issue"><img src="https://agentmods.dev/badge/skills/smartwhale8/claude-playbook/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/smartwhale8/claude-playbook/fix-issue"><img src="https://agentmods.dev/badge/skills/smartwhale8/claude-playbook/fix-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 219 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.00219
Opus 5 $0.00007 $0.00110
Sonnet 5 $0.00003 $0.00044
Haiku 4.5 $0.00001 $0.00022

Measured 9d ago against content hash 901bf053ce6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 24 lines

What it actually says

Analyze and fix the GitHub issue: $ARGUMENTS

Follow this workflow:

  1. Understand: Run gh issue view $ARGUMENTS to get issue details
  2. Investigate: Search the codebase for relevant files and understand the root cause
  3. Plan: Describe your approach before making changes
  4. Implement: Make the necessary code changes
  5. Test: Write a test that would have caught this issue, then run the test suite
  6. Verify: Ensure lint and type checks pass
  7. Commit: Create a descriptive commit message referencing the issue
  8. PR: Push and create a PR with gh pr create

Important:

  • Address the ROOT CAUSE, not just the symptom
  • If the fix requires changes across multiple files, explain why
  • If the issue is unclear, ask for clarification before implementing
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. 9d ago First seen · 24 lines · 14 tokens per session scan A 901bf053ce6e

Subscribe to this mod's changes

fix-issue is a skill published in the GitHub repository smartwhale8/claude-playbook (37 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 219 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-30.

Related

Other skills, from other repositories

ring:committing-changes

Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional commits, and trailer management. Detects the repo's PR-validation scope policy before proposing any message. Use when the user asks to commit or has changes ready to record. Skip when the working tree is clean or the user wants…

LerianStudio/ring · 74 tokens

ring:searching-code

Forensic code search and analysis with optional Chain of Draft (CoD) ultra-concise mode. Five-phase methodology (clarification, planning, execution, analysis, synthesis) with severity assessment. Use for targeted investigation of specific patterns, bugs, or vulnerabilities. Skip for broad architecture mapping (use…

LerianStudio/ring · 74 tokens

ring:opening-pull-requests

Open a GitHub Pull Request with automatic base branch detection, scope allowlist enforcement, PR template filling, and post-create base verification. Replaces ring:generating-pr-descriptions. Use after pushing a branch when ready to open a PR. Skip if the branch is not yet pushed or there are uncommitted changes …

LerianStudio/ring · 83 tokens

ring:shipping-changes

End-to-end git orchestrator: branch → commit → push → PR, with a full plan presented before any execution. Detects base branch and scope allowlist once and propagates to all phases. Use when ready to ship a complete unit of work. Skip if only one phase is needed: commit-only → ring:committing-changes, PR-only →…

LerianStudio/ring · 86 tokens

ring:generating-pr-descriptions

Generating pull request descriptions from git branch changes with automatic title generation, change-type detection, and smart analysis. Uses branch-only scope to avoid full history analysis. Use when preparing a PR for review. Skip when the PR is a single trivial commit or description already exists.

LerianStudio/ring · 61 tokens

ring:generating-release-guides

Generating an internal Operations-facing update/migration guide from the git diff between two refs, documenting per-change client impact, deploy ordering, monitoring, and rollback notes in English, pt-br, or both. Use when preparing a version release or recording what changed for the Ops team. Runs read-only by…

LerianStudio/ring · 85 tokens