correct

correct is a skill for Claude Code, Codex from peiyucn/epytor. It costs 0 tokens per session (786 once invoked), scanned A, original, MIT.

A repeat-error process for turning recurring mistakes into checks, tests, or design changes. It requires evidence and owner approval before rules are changed.

In plain words
What is it for?
Use it after repeated corrections, rework, reverted changes, review findings, or checks that let a bad change through. It helps add a failing example, connect a check to standard commands and CI, update its rule, and remove obsolete guidance.
Why use it?
It prevents the same class of mistake from returning instead of relying on reminders or more documentation.

Skill for Claude CodeCodex

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

Good fit Use it after repeated corrections, rework, reverted changes, review findings, or checks that let a bad change through. It helps add a failing example, connect a check to standard commands and CI, update its rule, and remove obsolete guidance.

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

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 correct

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/peiyucn/epytor/correct"><img src="https://agentmods.dev/badge/skills/peiyucn/epytor/correct.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 786 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.00786
Opus 5.5 $0.00000 $0.00314
Sonnet 5.5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00079

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

Security

Grade A, and why

correct 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 8d 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.

meta/skills/correct/SKILL.md · 94 lines

What it actually says

Correct

触发:同一类错误第二次出现;owner 反复纠正;一个检查本该拦住却没拦住。 不触发:一次性小问题;没有证据的“我觉得要注意”。

输入 / 权限

  • 输入:重复纠正记录、失败检查、revert / 返工、review finding;
  • 权限:改检查/规则须 owner 批准;不自己合并。

目标

不是再写一条规则,而是让下一次不可能再犯。

步骤

1. 收集证据

  • 最近被 owner 纠正的地方;
  • revert、返工、review 里重复出现的 finding;
  • 本该失败却通过的测试/检查;
  • 被跳过的 playbook 步骤。

把现象按“错误类”分组;同一类出现两次以上才算。

2. 在最高层修

按顺序,能高就不低:

  1. 架构/API:让错误写法没有入口,或状态只有一个 owner;
  2. 类型:让非法状态写不出来;
  3. lint/CI:让错误代码过不去;错误信息要指出正确写法;
  4. 测试:让行为回归变红;
  5. 文档/AGENTS:只留给真正需要判断、无法自动化的内容。

不要先改 AGENTS。

3. 证明检查有效

  • 先写负例,证明检查会红;再实现检查,证明当前正常仓库会绿;
  • 新检查必须在一个真实的历史错误上失败;
  • 修复后同一个检查通过;
  • 接入标准命令:代码规则进 npm run lint:code,仓库策略进 npm run lint:policy,再接入 verify 和 CI;
  • 本地和 CI 跑同一条命令;
  • 删除已被检查完整覆盖的文字说明;单独提交,不混入无关功能;
  • 例外写在出错行上:原因、过期时间、owner 批准。

4. 更新规则与执行

在对应规则文件(engineering / repo-settings / verification)里写清:

  • 哪条规则;
  • 现在由什么执行;
  • 证据是什么。

规则索引见 rules/README.md。

如果规则已经存在但没有任何东西执行它,这就是 repeat,必须当场升级。

5. 删除失效规则

错误已经不可能发生时,删掉对应规则或说明,避免 AGENTS/rules 继续膨胀。

检查

  • 负例先红,正例后绿;
  • 检查接入标准命令和 CI;
  • 规则/执行已更新;
  • 失效规则已删除。

输出

错误类:
证据:
选了哪层:
新增/修改的检查:
规则/执行变化:
删除了什么:
未解决/未验证:

边界

  • 先修问题,不要只解释;修复优先于说明;
  • 可以提议改规则/检查,但不能自己合并;owner 批准后才生效;
  • 不把这次事故的故事写进规则,写原则;
  • 结构性修复优先于文字提醒。

关联

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. 8d ago First seen · 94 lines · 0 tokens per session scan A fbf320370db5

Subscribe to this mod's changes

correct is a skill published in the GitHub repository peiyucn/epytor (19 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 786 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-11-22.

Related

correct compared with skills from other repositories

correct next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
correctpeiyucn/epytorSkill198d agoMITA0Claude Code, Codex
jetbrains-devKilo-Org/kilocodeSkill28ktodayMITA52Claude Code, Codex
backseat-driver-testingBetterThanTomorrow/calva-backseat-driverSkill66todayMITA106Claude Code, Codex
gh-fix-cieuxx/claude-skills-for-copilotSkill528d agoMITA39Claude Code
silent-failure-huntereuxx/claude-skills-for-copilotSkill528d agoMITA44Claude Code
jetbrains-sessionKilo-Org/kilocodeSkill28ktodayMITA50Claude Code, Codex
icon-jetbrainsKilo-Org/kilocodeSkill28ktodayMITA23Claude Code, Codex