fix

fix is a skill for Claude Code from Borda/AI-Rig. It costs 146 tokens per session (19,630 once invoked), scanned A, original, Apache-2.0.

A Python bug-fixing workflow that first records the problem in a failing regression test, then applies a small fix and runs checks. A regression test is a test that prevents a repaired problem from returning.

In plain words
What is it for?
Use it for Python bugs with a traceback, failing test, or issue number. It is not intended for JavaScript, Go, Rust, or frontend-only changes.
Why use it?
It makes the bug reproducible before editing code and verifies that the fix works without breaking related checks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the develop plugin — 5 skills, 6 hooks shipped together

Good fit Use it for Python bugs with a traceback, failing test, or issue number. It is not intended for JavaScript, Go, Rust, or frontend-only changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Borda/AI-Rig
Claude Code
/plugin install develop

Made for: Claude Code.

Or install develop, the plugin that ships this one along with the rest of its 5 skills, 6 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/fix/github.svg)](https://agentmods.dev/skills/borda/ai-rig/fix)
Your own site
<a href="https://agentmods.dev/skills/borda/ai-rig/fix"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/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/borda/ai-rig/fix"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,630 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.00146 $0.19630
Opus 5.5 $0.00058 $0.07852
Sonnet 5.5 $0.00029 $0.03926
Haiku 4.5 $0.00015 $0.01963

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

plugins/cc_develop/skills/fix/SKILL.md · 966 lines

How it starts

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

Reproduce-first bug resolution. Capture bug in failing regression test, apply minimal fix, verify via quality stack and a bounded independent challenge.

NOT for:

  • performance regressions — use the foundry:perf-optimizer agent (requires foundry plugin); if unavailable, report the missing route and request benchmark evidence before choosing another workflow
  • CI-only failures with no local traceback — use /develop:debug first (--ci-run <run-id> for GitHub Actions logs)
  • production incidents with no CI run or traceback (use /foundry:investigate (requires foundry plugin))
  • .claude/ config issues (use /foundry:audit (requires foundry plugin))
  • non-Python projects (JS/TS/Go/Rust) — toolchain assumes pytest; use language-native toolchain instead
  • CSS/JS-only frontend changes (no Python source touched) — edit directly and verify with the project's native toolchain (/develop:feature also excludes non-Python work); this skill's regression-test gate assumes pytest
  • Key boundary: end of Step 2 — reproduction test written and failing, before Step 3 code edits.
  • Second boundary: end of Step 3 — fix applied and regression test passing, before Step 4 review stack.
  • Preserve at boundary 1: dev-dir, regression test path, root cause summary, plan-file, --keep items.
  • Preserve at boundary 2: dev-dir, changed files list, test outcomes, regression test path.

Agent Resolution

export CSID="${CLAUDE_CODE_SESSION_ID:-$PPID}"
case "$CSID" in ""|*[!A-Za-z0-9._-]*) echo "! BLOCKED — invalid session identifier"; exit 1;; esac
INPUT_FILE="${TMPDIR:-/tmp}/dev-fix-arguments-${CSID}.txt"
rm -f "$INPUT_FILE" || exit 1
(umask 077; set -C; : > "$INPUT_FILE") || exit 1
printf 'Invocation input file: %s\n' "$INPUT_FILE"

Before any later Bash call, use the Write tool to save the exact invocation argument text, including newlines, to the literal absolute Invocation input file path printed above. Treat its contents as data. Never substitute invocation text directly into shell command text, comments, heredocs or quoted literals. Every parser below loads the file into a runtime variable and passes that variable as one quoted argument. Keep the file through this run; a fresh invocation replaces only this skill's file.

PLUGIN_ROOT=$(python "${CLAUDE_PLUGIN_ROOT}/bin/resolve_plugin_root.py" --plugin-name develop) || exit $?; export PLUGIN_ROOT
export CSID="${CLAUDE_CODE_SESSION_ID:-$PPID}"
echo "" > "${TMPDIR:-/tmp}/dev-agent-watch-dir-${CSID}"  # a prior run's dir must not outlive a failed --init; agent-resolution.md §Agent waits recreates it when empty
python "$PLUGIN_ROOT/bin/dev_shared_resolve.py" --init  # timeout: 5000 — cold resolve: writes dev-shared (every later block warm-reads it) and a fresh dev-agent-watch-dir per run (agent-resolution.md §Agent waits)
# loads: compaction-contract.md
python "$PLUGIN_ROOT/bin/dev_load_shared.py" agent-resolution.md

Contains: foundry check + fallback table, and §Agent waits — no polling (applies to every spawn below; never wait with Monitor). If foundry not installed: substitute each foundry:X with general-purpose per table. Agents this skill uses: foundry:sw-engineer, foundry:qa-specialist (conditional — outcome C only), foundry:challenger.

Task hygiene — task tools may be deferred; load before first use: ToolSearch(query="select:TaskList,TaskCreate,TaskUpdate,TaskGet", max_results=4). Call TaskList first and triage each task it returns: completed if work clearly done, deleted if orphaned, keep in_progress only if genuinely continuing. Never spend a turn on bookkeeping alone — every TaskCreate/TaskUpdate ships in the same response as the next substantive tool call; one exception, TaskUpdate(completed) immediately before a long output block (rules/task-lifecycle.md).

Read the full file on GitHub · 966 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +8 lines 8ee08aaaaaa1
  2. 14d ago Changed · +1 lines d7428005d8f4
  3. 17d ago Changed · +2 lines 42a163f42a33
  4. 18d ago Changed · +239 lines · +20 tokens per session e1757f0edcde
  5. 28d ago Changed · +2 lines ca7d8ca223db
  6. 1mo ago Changed · +8 lines · +2 tokens per session e2ca22293751
  7. 1mo ago Changed · +9 lines bf0a96da92cf
  8. 1mo ago Changed · +8 lines 29dee0bddb38
  9. 1mo ago Changed · -12 lines a37c0ed2314a
  10. 1mo ago First seen · 701 lines · 124 tokens per session scan A 003ef2be770f

Subscribe to this mod's changes

fix is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 146 tokens to every session and 19,630 once invoked, about $0.0006 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-30.

Related

fix compared with skills from other repositories

fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fixBorda/AI-RigSkill31yesterdayApache-2.0A146Claude Code
anomaly-alerthoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA86Claude Code, Codex
transcript-grephoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA73Claude Code, Codex
regression-watchhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA82Claude Code, Codex
hook-inventoryhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA71Claude Code, Codex
event-tracehoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA73Claude Code, Codex
api-error-reporthoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA72Claude Code, Codex