worth-fix

worth-fix is a skill for Claude Code, Codex from luochang212/skill-zoo. It costs 134 tokens per session (2,228 once invoked), scanned A, original, MIT.

A verification and decision-making guide for checking whether bug reports, claims, proposals, or refactoring ideas are true and worth acting on.

In plain words
What is it for?
Use it to create minimal reproductions, test real code paths, verify each assumption, rate findings as confirmed, partly true, or disproved, and weigh impact against repair cost.
Why use it?
It prevents teams from accepting reports at face value or spending time fixing problems that are exaggerated, unconfirmed, or not worth the cost.

Skill for Claude CodeCodex

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

Good fit Use it to create minimal reproductions, test real code paths, verify each assumption, rate findings as confirmed, partly true, or disproved, and weigh impact against repair cost.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luochang212/skill-zoo/worth-fix"><img src="https://agentmods.dev/badge/skills/luochang212/skill-zoo/worth-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,228 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
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.00134 $0.02228
Opus 5 $0.00067 $0.01114
Sonnet 5 $0.00027 $0.00446
Haiku 4.5 $0.00013 $0.00223

Measured 11d ago against content hash 97cf11e9ea81, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

worth-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 11d 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/worth-fix/SKILL.md · 102 lines

How it starts

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

Worth Fix(值得修吗——先验证,再判断)

核心态度

  • 一切论断都是假说。报告、博客、AI 输出、甚至自己的第一印象,都要过一遍"这是真的吗"。来源可信不等于内容正确。
  • 实证优先于推理。能跑就测,能复现就复现。读代码推断的"应该是这样"不如一次实测的"实际是这样"。只有说"我实测过"才有资格说"坐实"。
  • 区分"属实"与"值得修"。真不代表要动,假也不代表不用查——真实性判断与价值判断是两个独立维度,分开做。
  • 敢证伪,也敢修正严重度。报告夸大(如"栈溢出崩溃"实测只是报错)或缩小,都要如实修正,不将就原文结论。

工作流

环节可裁剪性:最小复现、核实前提、判定值得、留痕是必须环节;威胁建模、讲清原理、沟通格式按风险/规模裁剪——小 change、一眼看穿的修复可跳过重环节,不必走全套仪式。

1. 把论断转成可验证的命题

把"报告说 X 会崩"改写成"当条件 C 满足时,行为 B 是否发生"。一个论断拆成几个可独立验证的命题,逐个验证。

2. 最小测试直击真实代码路径

写最小复现(临时测试/脚本),直接调用真实的生产函数,不要测试模拟器或复制逻辑。用 --nocapture 打印关键中间证据(如"外部文件被复制 = true")。

复现验证缺陷后,把同一场景翻转断言固化为回归测试(红→绿:先证明缺陷存在,修复后证明行为正确)——复现是回归测试的原材料,不是看完现象就扔。临时脚手架可删,场景必须留下。

复现不可行时:先评估是否缺少测试注入点(路径硬编码、函数不可注入)或会污染真实环境(写入用户目录、破坏真实数据)。评估后仍不可行,改用结构验证(代码控制流审查 + 全套测试无回归),并把验证边界记录进交付物(如 proposal 的 Impact:哪些实证、哪些审查、为什么)——"未实测"必须标注,不得以审查冒充实证。

3. 核实推理链上的每个前提

攻击面/缺陷的可达性由多个环节组成(如:归档保留软链 → 解压物化 → 复制跟随)。每一环都单独验证,不因"看起来显然"跳过。特别注意验证依赖库的真实行为(读库源码或构造输入实测),而不是按常识假设。

4. 判定"属实"程度

对每个命题给出结论分级:坐实 / 部分属实(有夸大或缩小)/ 证伪。逐条说明证据。区分"现象为真"与"影响为真"——现象成立但后果被夸大了,要如实修正定级。

5. 判定"值得修"

属实 ≠ 值得修。按四维评估:触发概率、影响面、修复成本、不修的后果。高成本低概率的排队,低成本高影响的立即做;报告里"属实但不值得修"的条目要明确列出,并说明为什么。不要为了显得勤快而修不值得修的。

四维之外,对成本极低、影响不明的项,用后悔不对称补充:将来它若造成影响,那时的后悔("我明明早就知道")是否超过现在顺手处理的成本?超过就做——这是"卫生级"修复(死配置键、未捕获的 rejection)成立的判据,纯期望值在此象限给不出答案。预演终局("将来如何评价这个决定")只用于不可逆或高成本的决定,且产出是"把最可能被质疑的点提前变成显式取舍",不是预测结论。

6. 讲清原理再动手

动手改之前,先用最简单的话讲清楚根因("这个 bug 是因为 A 用 stat 而 B 用 lstat,分支顺序错了"),确保听者能复述。讲不清原理就动手,是没想明白的信号。

7. 威胁建模

涉及安全/边界时,用攻击者视角推演完整链路:攻击者能控制什么 → 受害者做什么动作触发 → 每一步是否成立 → 最终后果。诚实分层后果:区分"确定发生"(无后续动作即成立)与"大概率发生"(还需一个后续步骤),不夸大(不说成自动外传)也不缩小(不说成纯理论)。说明现实摩擦(如需猜测路径、权限失败即回滚),让定级可信。

8. 定级与决策

  • 定性:崩溃 / 数据损坏 / 越权读取 / 文案错误等,再给严重度(高/中/低)。
  • 要不要重构:先判断是"局部缺陷"还是"架构问题"。单函数内的顺序/解析错误 → 局部修复,明确说"不需要重构"并说明为什么(如"与发现阶段已有防护对齐,属补齐既有架构")。只有多个模块共用的地基性问题才谈重构。
  • 决策要给"一句话总结":真实、可被谁触发、涉及什么、成本多高、是否需要重构。

9. 粒度切分

把大报告/大需求按"一个意图一句话能说清"切分。同意图的相邻小修合并成一个单元,互不相关的拆开;typo 级修复不配仪式(文档、多条需求),别过度工程化。粒度 = 一次 review 的自然单元。

10. 留痕

Read the full file on GitHub · 102 lines

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. 11d ago First seen · 102 lines · 134 tokens per session scan A 97cf11e9ea81

Subscribe to this mod's changes

worth-fix is a skill published in the GitHub repository luochang212/skill-zoo (110 stars, last pushed 23d ago), licensed MIT. It adds 134 tokens to every session and 2,228 once invoked, about $0.0007 per session on Opus 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

debugging

Systematic root-cause debugging with verification. Use for errors, stack traces, broken tests, flaky tests, regressions, or anything not working as expected. For validating bug reports before fixing, use bug-reproduction-validator agent.

iliaal/ai-skills · 49 tokens

compound-docs

Document solved problems for team reuse. Provides process knowledge for /ia-compound. Use when documenting a resolved issue, writing up lessons learned, capturing a post-mortem, adding to the knowledge base, or building searchable institutional knowledge after debugging.

iliaal/ai-skills · 53 tokens

simplifying-code

Simplifies, polishes, and declutters code without changing behavior. Use when asked to simplify, clean up, refactor, declutter, remove dead code or AI slop, or improve readability. For analysis-only reports without code changes, use code-simplicity-reviewer agent.

iliaal/ai-skills · 62 tokens

c-systems

C patterns for systems code, libraries, and native extensions: module layout, function decomposition, status-enum errors, memory safety, undefined behavior, and performance measurement. Use when writing, reviewing, refactoring, or debugging C, working with malloc lifetimes, buffer overflows, sanitizers, or Valgrind…

iliaal/ai-skills · 83 tokens

skill-search

Find the best skill for the current task across the entire skill library, including the dormant majority whose descriptions are never loaded into context. Use this before starting any nontrivial task — coding, debugging, git operations, planning, reviewing, writing docs, building UI, handling data or config — even…

danielLublinsky/Skill-Atlas · 150 tokens

distributed-trace-analysis

Use this skill when you need to analyze distributed traces for call paths, latency, errors, and evidence gaps; triggers include distributed trace analysis.

naodeng/awesome-qa-skills · 33 tokens