fix-errors

fix-errors is a skill for Claude Code, Codex from PyModel/pythinker-cli. It costs 23 tokens per session (211 once invoked), scanned A, original, Apache-2.0.

A root-cause-first workflow for fixing a concrete coding error reported by logs, failed commands, exceptions, or diagnostics. It investigates the smallest relevant code path before changing anything.

In plain words
What is it for?
Use it to fix a failing command, runtime exception, stack trace, type error, or lint failure, then rerun the focused check.
Why use it?
It avoids random fixes and prevents unrelated cleanup from expanding the task. It also distinguishes code problems from environmental issues that cannot be reproduced.

Skill for Claude CodeCodex

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

Good fit Use it to fix a failing command, runtime exception, stack trace, type error, or lint failure, then rerun the focused check.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pymodel/pythinker-cli/fix-errors"><img src="https://agentmods.dev/badge/skills/pymodel/pythinker-cli/fix-errors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 211 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 pass 7 Sept 2026
SkillSpector: 1 finding, up to low

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 →

  • low Excessive Agency · line 22
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
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.00023 $0.00211
Opus 5.5 $0.00009 $0.00084
Sonnet 5.5 $0.00005 $0.00042
Haiku 4.5 $0.00002 $0.00021

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

Security

Grade A, and why

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

src/pythinker_code/skills/fix-errors/SKILL.md · 34 lines

What it actually says

Fix Errors

Use when the user provides an error message, stack trace, failing command, type diagnostic, lint failure, or runtime exception.

Workflow

  1. Capture the exact error text, command, affected file, and line if available.
  2. Reproduce or inspect the smallest relevant code path.
  3. State the root cause before editing.
  4. Make the smallest change that fixes the root cause.
  5. Rerun the focused failing command or a targeted equivalent.

Rules

  • Do not make random fixes hoping one works.
  • Do not suppress diagnostics unless the code is intentionally invalid and the test requires it.
  • Do not broaden scope into unrelated cleanup.
  • If the error is environmental or cannot be reproduced, report what was verified and what is blocked.

Output

SUMMARY
ROOT CAUSE
CHANGES
VERIFICATION
REMAINING ISSUES
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 · 34 lines · 23 tokens per session scan A 9c6494b35cdb

Subscribe to this mod's changes

fix-errors is a skill published in the GitHub repository PyModel/pythinker-cli (21 stars, last pushed 3d ago), licensed Apache-2.0. It adds 23 tokens to every session and 211 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-30.

Related

Other skills, from other repositories

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

autofix

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

QwenLM/qwen-code · 30 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

audit

Fast quality gate — detects stack, runs static analysis, checks cross-layer consistency, fixes issues. Run between every pipeline phase, before every commit push, after every feature batch. Lighter than /analyze but catches the same critical issues.

skillmds/skillmd · 50 tokens

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens

logic-lens

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

skillmds/skillmd · 37 tokens