fixing-code

fixing-code is a skill for Claude Code, Codex from alexei-led/cc-thingz. It costs 67 tokens per session (599 once invoked), scanned A, original, MIT.

A workflow for diagnosing and fixing a reproducible software defect or failed check. It traces the cause, makes a focused code change, adds or updates a regression test, and verifies the result.

In plain words
What is it for?
Use it for bugs and failing lint, test, or build checks when you can reproduce the problem and inspect the relevant code.
Why use it?
It prevents fixes based only on guesses and keeps unrelated failures from expanding the task. The feedback loop provides evidence that the defect was actually addressed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for bugs and failing lint, test, or build checks when you can reproduce the problem and inspect the relevant code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexei-led/cc-thingz/fixing-code
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 alexei-led/cc-thingz --skill fixing-code
Clone the repo
git clone --depth 1 https://github.com/alexei-led/cc-thingz

Made for: Claude Code, Codex.

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 fixing-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexei-led/cc-thingz/fixing-code/github.svg)](https://agentmods.dev/skills/alexei-led/cc-thingz/fixing-code)
Your own site
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/fixing-code"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/fixing-code/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 fixing-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/fixing-code"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/fixing-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 13
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00067 $0.00599
Opus 5.5 $0.00027 $0.00240
Sonnet 5.5 $0.00013 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 21d ago against content hash 31fd5eddb826, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fixing-code 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 21d 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.

src/skills/fixing-code/SKILL.md · 51 lines

How it starts

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

Fix and Diagnose Code

Fix the requested defect or failing gate, one verified root cause at a time. Use the matching writing-<lang> skill for toolchain commands. The optional coding-posture plugin owns general debugging and fix procedure; this skill owns the defect evidence and regression contract. Do not load both just to repeat process steps.

Without write access, return proposed changes (file, change, reason) instead of applying them.

Hard rules

  • Reproduce the failure when feasible. If it cannot be reproduced, patch only an evidenced contract violation; add regression coverage and report the reproduction gap. Otherwise ask for the missing artifact rather than patching a guess. Ask before adding temporary instrumentation.
  • No destructive git (hard reset, clean, force push, checkout over local changes) and no --no-verify.
  • Never disable assertions, skip fast tests, lower lint severity, or ignore files to make a check pass or run faster. Clear caches only when a stale cache is the diagnosed cause.
  • Fix the requested failure first; ask before expanding to unrelated failures.

Outcome

  • Repro: the fastest reliable failing signal, best a failing test at the behavior seam; otherwise a script, replayed payload, or small harness around the real path. If unavailable, report the gap and use evidenced contract violations instead.
  • Root cause: traced from the failing boundary to the first bad state or contract mismatch, with evidence (file:line, symptom, tool).
  • Regression test at the seam where the user saw the bug. If only a shallow seam exists, say so rather than adding a fake-confidence helper test.
  • Remove temporary probes or promote them to regression tests.
  • Browser-only symptoms go to browser-automation unless a cheaper CLI or unit signal exists.
  • If a code-graph tool (GitNexus, codegraph) is installed and fresh, use it to find callers or impact before changing widely used code.

Done when the original repro passes, or its absence is reported with the contract evidence and a passing regression test. Report a missing test seam; without a repro, stop rather than patch when regression coverage is unavailable. Relevant build/test/lint checks must pass, or each check that did not run must be named with its reason.

Read the full file on GitHub · 51 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. 21d ago Changed · +2 lines 31fd5eddb826
  2. 1mo ago Changed · +2 lines 1d84a5211755
  3. 2mo ago Changed · -1 lines · -11 tokens per session 5867cc5a52a1
  4. 2mo ago Changed · -127 lines cf8782f49c21
  5. 3mo ago First seen · 175 lines · 78 tokens per session scan A e9a112c7049b

Subscribe to this mod's changes

fixing-code is a skill published in the GitHub repository alexei-led/cc-thingz (37 stars, last pushed 6d ago), licensed MIT. It adds 67 tokens to every session and 599 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-08-30.

Related

fixing-code compared with skills from other repositories

fixing-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fixing-codealexei-led/cc-thingzSkill376d agoMITA67Claude Code, Codex
code-review-graphtirth8205/code-review-graphSkill33k19d agoMITA84Codex
debug-issuetirth8205/code-review-graphSkill33k19d agoMITA13Claude Code, Codex
systemic-issue-triageGentleman-Programming/gentle-aiSkill9.8kyesterdayMITA57Claude Code, Codex
issue-root-resolutionGentleman-Programming/gentle-aiSkill9.8kyesterdayMITA45Claude Code, Codex
rdd-defect-workflowGentleman-Programming/gentle-aiSkill9.8kyesterdayMITA38Claude Code, Codex
autofixQwenLM/qwen-codeSkill31ktodayApache-2.0C30Claude Code