fix

fix is a skill for Claude Code from davesheffer/hunch. It costs 17 tokens per session (174 once invoked), scanned A, original, Apache-2.0.

A Hunch-grounded workflow for fixing software bugs using past root causes, known constraints, and affected code relationships.

In plain words
What is it for?
Use it to investigate similar bugs, check affected symbols and constraints, apply and test a fix, and record important new decisions.
Why use it?
It helps keep a fix consistent with earlier decisions and prevents changes from breaking dependent parts of the system.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the hunch plugin — 5 skills, 1 MCP server shipped together

Good fit Use it to investigate similar bugs, check affected symbols and constraints, apply and test a fix, and record important new decisions.

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

Made for: Claude Code.

Or install hunch, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/davesheffer/hunch/fix/github.svg)](https://agentmods.dev/skills/davesheffer/hunch/fix)
Your own site
<a href="https://agentmods.dev/skills/davesheffer/hunch/fix"><img src="https://agentmods.dev/badge/skills/davesheffer/hunch/fix/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davesheffer/hunch/fix"><img src="https://agentmods.dev/badge/skills/davesheffer/hunch/fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 174 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.00017 $0.00174
Opus 5.5 $0.00007 $0.00070
Sonnet 5.5 $0.00003 $0.00035
Haiku 4.5 $0.00002 $0.00017

Measured 1mo ago against content hash 6d87a3d6e1fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix 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.

plugin/skills/fix/SKILL.md · 12 lines

What it actually says

We are fixing: $ARGUMENTS

Follow the Hunch-grounded workflow — do NOT skip the memory lookups:

  1. hunch_bug_lineage("$ARGUMENTS") — has this class of bug happened before? what was the root cause and the fix?
  2. Identify the suspect symbol/file, then hunch_get_dependents(<symbol>) to learn the blast radius.
  3. hunch_check_constraints(<scope>) — list invariants you must preserve.
  4. Propose a fix that honors past root causes AND constraints. Apply it and run the tests.
  5. If the fix encodes a non-trivial choice, hunch_record_decision(...) so the next session is grounded in it.
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 · 12 lines · 17 tokens per session scan A 6d87a3d6e1fe

Subscribe to this mod's changes

fix is a skill published in the GitHub repository davesheffer/hunch (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 17 tokens to every session and 174 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

bug-report-reproduce

Reproduce a user, customer, or support-reported problem with synthetic data, prove the cause with a temporary test, record a narrated click-through walkthrough of the symptom, and report what was and was not proven. Use when the user links a bug report, support thread, or ticket and asks to reproduce it, find the…

yarlson/yarstack · 102 tokens

changes-explain

Explain a pull request, commit range, branch, or local diff from a system-design perspective. Use for practical understanding of changed behavior, boundaries, flow, ownership, operations, risks, and verification rather than defect review.

yarlson/yarstack · 48 tokens

debug-issue

Systematically debug issues using graph-powered code navigation.

tirth8205/code-review-graph · 13 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

issue-root-resolution

Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues. Audit and resolve issue clusters by verified root cause.

Gentleman-Programming/gentle-ai · 45 tokens

rdd-defect-workflow

Trigger: RDD, receipt-driven development, review authority, receipt/lineage, correction/recovery, delivery gate/kill switch, bounded review defects. Guide work.

Gentleman-Programming/gentle-ai · 41 tokens