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.
npx skills add peiyucn/epytor --skill correctgit clone --depth 1 https://github.com/peiyucn/epytorWrote 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.
[](https://agentmods.dev/skills/peiyucn/epytor/correct)<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.
<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>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.
| Model | Per session | Once 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 |
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.
What it actually says
Correct
触发:同一类错误第二次出现;owner 反复纠正;一个检查本该拦住却没拦住。 不触发:一次性小问题;没有证据的“我觉得要注意”。
输入 / 权限
- 输入:重复纠正记录、失败检查、revert / 返工、review finding;
- 权限:改检查/规则须 owner 批准;不自己合并。
目标
不是再写一条规则,而是让下一次不可能再犯。
步骤
1. 收集证据
- 最近被 owner 纠正的地方;
- revert、返工、review 里重复出现的 finding;
- 本该失败却通过的测试/检查;
- 被跳过的 playbook 步骤。
把现象按“错误类”分组;同一类出现两次以上才算。
2. 在最高层修
按顺序,能高就不低:
- 架构/API:让错误写法没有入口,或状态只有一个 owner;
- 类型:让非法状态写不出来;
- lint/CI:让错误代码过不去;错误信息要指出正确写法;
- 测试:让行为回归变红;
- 文档/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 批准后才生效;
- 不把这次事故的故事写进规则,写原则;
- 结构性修复优先于文字提醒。
关联
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.
- 8d ago First seen · 94 lines · 0 tokens per session scan A fbf320370db5
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.
correct compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| correctpeiyucn/epytor | Skill | 19 | 8d ago | MIT | A | 0 | Claude Code, Codex |
| jetbrains-devKilo-Org/kilocode | Skill | 28k | today | MIT | A | 52 | Claude Code, Codex |
| backseat-driver-testingBetterThanTomorrow/calva-backseat-driver | Skill | 66 | today | MIT | A | 106 | Claude Code, Codex |
| gh-fix-cieuxx/claude-skills-for-copilot | Skill | 5 | 28d ago | MIT | A | 39 | Claude Code |
| silent-failure-huntereuxx/claude-skills-for-copilot | Skill | 5 | 28d ago | MIT | A | 44 | Claude Code |
| jetbrains-sessionKilo-Org/kilocode | Skill | 28k | today | MIT | A | 50 | Claude Code, Codex |
| icon-jetbrainsKilo-Org/kilocode | Skill | 28k | today | MIT | A | 23 | Claude Code, Codex |