fix

fix is a skill for Claude Code from ilang-ai/autocode. It costs 0 tokens per session (702 once invoked), scanned A, original, MIT.

A troubleshooting procedure for finding and correcting broken software. It observes the problem, makes the smallest safe change, checks the result, and then explains it plainly.

In plain words
What is it for?
Use it when a program breaks, an error is reported, or debugging is needed. It helps identify the cause, apply a focused fix, verify the original symptom is gone, and tell the user what to do when action is required.
Why use it?
It reduces guesswork, unnecessary rewrites, and confusing error messages. It also checks that the fix did not cause another problem.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the autocode plugin — 10 skills shipped together

Good fit Use it when a program breaks, an error is reported, or debugging is needed. It helps identify the cause, apply a focused fix, verify the original symptom is gone, and tell the user what to do when action is required.

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

Made for: Claude Code.

Or install autocode, the plugin that ships this one along with the rest of its 10 skills.

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/ilang-ai/autocode/fix/github.svg)](https://agentmods.dev/skills/ilang-ai/autocode/fix)
Your own site
<a href="https://agentmods.dev/skills/ilang-ai/autocode/fix"><img src="https://agentmods.dev/badge/skills/ilang-ai/autocode/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/ilang-ai/autocode/fix"><img src="https://agentmods.dev/badge/skills/ilang-ai/autocode/fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 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.00000 $0.00702
Opus 5.5 $0.00000 $0.00281
Sonnet 5.5 $0.00000 $0.00140
Haiku 4.5 $0.00000 $0.00070

Measured 3d ago against content hash 6488c3bf941a, 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 3d 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.

skills/fix/SKILL.md · 51 lines

What it actually says

fix — observe → reason → smallest fix → verify → explain

[PROTOCOL:iLang|v=5.0|layer=declaration]

::PRIOR{dimension:completion|default:assume_incomplete|authority:system|scope:@JOURNEY} ::PRIOR{dimension:execution|default:act_when_safe|authority:system|scope:@JOURNEY}

::GENE{fix|conf:confirmed|scope:global} T:observe_first|read_the_error|check_logs|reproduce_if_possible T:reason_second|check_recent_changes_first|binary_search_for_the_cause T:smallest_change_that_fixes_it|no_refactor_no_restructure T:verify_the_original_symptom_is_gone|verify_nothing_else_broke T:when_the_user_must_act|tell_them_exactly_what_to_copy_and_paste|which_window|what_success_looks_like T:explain_after_not_during|say_it_is_fixed_first|one_sentence_for_beginners|detail_for_advanced T:record_what_why_and_how_fixed_in_memory|check_before_a_similar_feature|avoid_silently A:guess_without_data⇒observe_first A:blame_a_random_component⇒systematic A:refactor_during_a_fix⇒separate_task A:show_a_raw_error_to_a_beginner⇒translate A:blame_the_user⇒never A:say_i_remember_this_mistake⇒just_avoid_it A:repeat_a_known_mistake⇒check_memory_first

::ACTIVATE{fix} ON:error_detected ON:user_reports_problem ON:debugging ON:fix_complete

::STATE{@ERROR, what was observed: message, log, reproduction} ::STATE{@CAUSE, the change or condition that produced it} ::STATE{@FIX, the smallest change that removes it}

[READ:@ERROR|typ=observe]=>[EXTC:@CAUSE|typ=recent_changes_first]=>[CREA:@FIX|lim=minimal]=>[TEST:@SITE|whr=symptom_gone_and_nothing_else_broke]=>[Ω:@USER|fmt=text|lim=1]

::FALLBACK{stage:fix|when:user_must_act_on_their_machine|do:one_step_which_window_what_they_will_see|never:assume_they_know_the_terminal}

::SAY{@AUTOCODE→@USER}{ beginner: "修好了。之前有个小配置写错了,现在正常了。" advanced: "Fixed. The middleware order was wrong — auth must register before route handlers." stuck_template_asked_by_autocode: "你在哪台电脑、在【终端还是浏览器】做了什么、看到了什么?把那段话原样贴给我。" }

Powered by iLang v5.0 | ilang.ai

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. 3d ago Changed 6488c3bf941a
  2. 4d ago First seen · 51 lines · 0 tokens per session scan A c186fa321041

Subscribe to this mod's changes

fix is a skill published in the GitHub repository ilang-ai/autocode (104 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 702 tokens. 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-10-15.

Related

Other skills, from other repositories

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

Kayunangka/claude-skill · 80 tokens

smart-explore

Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.

thedotmack/claude-mem · 41 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

phoenix-observability

Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.

davila7/claude-code-templates · 47 tokens

datadog-cli

Datadog CLI for searching logs, querying metrics, tracing requests, and managing dashboards. Use this when debugging production issues or working with Datadog observability.

davila7/claude-code-templates · 38 tokens

graph-query

Query the code graph database to understand component relationships, dependencies, and change impact. Use when the user asks to "find callers", "check dependencies", "what uses this", "show relationships", "find serializers", or when reading code and needing to understand what depends on a component before…

davila7/claude-code-templates · 62 tokens