fix-issue

fix-issue is a skill for Claude Code from yonatangross/orchestkit. It costs 82 tokens per session (6,354 once invoked), scanned A, original, MIT.

A workflow for fixing a reported issue in a software project. It investigates the likely cause, checks related code and past patterns, adds tests, and connects the fix to the issue through a pull request.

In plain words
What is it for?
Use it to resolve GitHub, GitLab, Bitbucket, or enterprise-hosted issues, investigate root causes, create tested fixes, and open linked pull requests.
Why use it?
It reduces the manual work of tracing a bug from a report through diagnosis, code changes, regression checks, and issue tracking. It also looks for ways to prevent similar problems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Load pattern details: `Read("../chain-patterns/references/mcp-detection.md")`.

Part of the ork plugin — 111 skills, 38 commands, 36 agents, 32 hooks shipped together

Good fit Use it to resolve GitHub, GitLab, Bitbucket, or enterprise-hosted issues, investigate root causes, create tested fixes, and open linked pull requests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit
agentmods
npx agentmods add skills/yonatangross/orchestkit/fix-issue

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 111 skills, 38 commands, 36 agents, 32 hooks.

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/yonatangross/orchestkit/fix-issue/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/fix-issue)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/fix-issue"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/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/yonatangross/orchestkit/fix-issue"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/fix-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,354 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.00082 $0.06354
Opus 5.5 $0.00033 $0.02542
Sonnet 5.5 $0.00016 $0.01271
Haiku 4.5 $0.00008 $0.00635

Measured 8d ago against content hash db480ae60e12, 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 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/prior_fix_lookup.py, scripts/signature_lib.py, scripts/similar-issue-finder.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ork/skills/fix-issue/SKILL.md · 484 lines

How it starts

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

Fix Issue

Host-neutral workflow. Invoke by skill name (fix-issue). Claude Code slash routing, YAML hook loaders, and .claude/chain live in references/claude-code.md.

Systematic issue resolution with hypothesis-based root cause analysis, similar issue detection, and prevention recommendations.

Quick Start

fix-issue 123
fix-issue 456

Opus 5.5: Root cause analysis uses native adaptive thinking. Dynamic token budgets scale with context window for thorough investigation.

CC ≥ 2.1.119 multi-host note (M122): Issue fetching works against GitHub, GitLab, Bitbucket, and GitHub Enterprise. The argument is either a numeric ID (use the configured default remote's host) or a full URL (parsed via parsePrUrl/parseIssueUrl from src/hooks/src/lib/pr-host-parser.ts). Branch on the detected host family for the right CLI: gh issue view (GitHub/GHE), glab issue view (GitLab), bb issue view (Bitbucket). Reference: src/skills/chain-patterns/references/pr-from-platform.md.

Argument Resolution

Check the target first, before any other step. This skill forks and cannot see the conversation. Load Read("../../shared/rules/target-resolution.md"): if the target, flags stripped, is a bare pronoun or deictic (this, them, that one) or empty, return exactly TARGET_UNRESOLVED: <word> and stop. The caller resolves it and re-invokes.

ISSUE_NUMBER = "$ARGUMENTS" with the flags stripped  # the target the check above reads, e.g. "123"
# $ARGUMENTS contains the full argument string and may open with flags
# like --model=opus; indexing [0] would fetch the flag, not the issue.
# If the stripped target is not an issue number or URL, return
# TARGET_UNRESOLVED: <word> and stop.

STEP -1: MCP Probe + Resume Check

Run BEFORE any other step. Detect available MCP servers and check for resumable state.

Load the issue the target names first. A fork skill never runs frontmatter hooks (#4683), so fetch ISSUE_NUMBER (the flags-stripped target, never $ARGUMENTS[0]) yourself and keep the result in mind. Do not call skill/issue-context-loader for this: it takes its number from the branch name, not from the argument, so on a branch like fix/ork10-... it loads a different issue. Use the CLI the M122 host note selects (gh, glab, or bb):

Read the full file on GitHub · 484 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. 8d ago Changed · +3 lines db480ae60e12
  2. 17d ago Changed · +2 lines 1f046991111c
  3. 20d ago Changed 5f6c8baf2f27
  4. 21d ago Changed · -1 lines 36fe50d60fe6
  5. 24d ago Changed · +2 lines c325e15f72a8
  6. 26d ago Changed · +2 lines da8525243e9e
  7. 27d ago Changed 39961da8df60
  8. 29d ago Changed f64b24a5a8a9
  9. 1mo ago Changed · -7 lines 4ef910ffb2ea
  10. 1mo ago First seen · 483 lines · 82 tokens per session scan A 9fe40856bafe

Subscribe to this mod's changes

fix-issue is a skill published in the GitHub repository yonatangross/orchestkit (297 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 6,354 once invoked, about $0.0003 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-09-03.