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 tranfu-labs/tranfu-skills --skill session-corrections-to-skillgit clone --depth 1 https://github.com/tranfu-labs/tranfu-skillsWrote 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/tranfu-labs/tranfu-skills/session-corrections-to-skill)<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/session-corrections-to-skill"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/session-corrections-to-skill/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/tranfu-labs/tranfu-skills/session-corrections-to-skill"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/session-corrections-to-skill.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.00169 | $0.01019 |
| Opus 5 | $0.00084 | $0.00509 |
| Sonnet 5 | $0.00034 | $0.00204 |
| Haiku 4.5 | $0.00017 | $0.00102 |
Grade A, and why
session-corrections-to-skill 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 4d 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.
This is a copy
83% identical to luban — 541 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
会话修正沉淀
把会话中的有效纠正路由到对应 SKILL,并沉淀为定义、实施细则或错误案例; 未经用户确认,不写入文件。
本次会话不同时启用 skill-create-workflow,除非用户明确点名要求使用它。用户说“写成 skill”“创建到仓库”等,仅表示授权将已确认内容封装为 skill,不视为启用创建工作流。
定义
| 名字 | 定义 |
|---|---|
| 用户纠正 | agent 的既有行为被用户明确否定,纠正内容属于某个 skill 职责范围内的偏好或约定。 |
| 现实纠正 | 原做法被报错或实际结果否定,并且根因已经查明、正确做法已经验证。 |
| 沉淀到 SKILL 的内容 | 可以是以下一种或多种:定义,使用「名字 + 要求」;实施细则,使用「场景 + 操作」;错误案例,使用「场景 + 错误」。 |
流程
| 编号 | 描述 | 条件跳转 |
|---|---|---|
| 1 | 从会话中提取用户纠正,以及根因已查明、正确做法已验证的现实纠正。一次性要求、当次方案、通用工作方式和未解决的问题不沉淀。 | 无纠正 → 报告“无可沉淀项”并结束。 |
| 2 | 判断每条纠正在修正哪个 skill,并用该 skill 的 description 核对职责范围。 |
没有现有 skill 覆盖 → 列入「需新增 skill」并推荐名称;无法确定归属 → 留给用户在第 4 步决定。 |
| 3 | 按照「沉淀到 SKILL 的内容」起草每条纠正,并检查目标表中的重复或冲突项。 | 与旧行重复 → 合并;与旧行冲突 → 拟用最新纠正覆盖旧行。 |
| 4 | 向用户展示每条纠正的目标 skill、内容类型和拟写行,并列出不沉淀项与需新增 skill 项;此时不得写文件。 | 用户修改 → 回到 2 或 3;用户删除 → 不沉淀。 |
| 5 | 只写入用户确认的内容。目标 SKILL 已有同类表格时追加或更新;没有时创建对应的最小两列表。不得重构或扩写其他内容;最后输出可对应回原始纠正的对账单。 | — |
常见问题
| 术语 | 常见问题 |
|---|---|
| 用户纠正 | 把一次性要求、当次方案或通用工作偏好当成可沉淀的纠正。 |
| 现实纠正 | 根因尚未查明、正确做法没有验证,就把猜测写进 SKILL。 |
| 归属 | 不检查 skill 的 description,仅凭主题相似就写入最接近的 skill。 |
| 沉淀到 SKILL 的内容 | 默认一条纠正只能产生一种内容,或把多种内容混进同一行;定义缺少要求、实施细则缺少场景、错误案例缺少错误发生的场景。 |
| 写入 | 未经用户确认就修改文件,或借沉淀之机重构、扩写目标 SKILL。 |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago Changed · -1 lines 226c2234a7f0
- 9d ago Changed · -57 lines · -124 tokens per session 8fcbf7c02a87
- 12d ago First seen · 111 lines · 293 tokens per session scan A b74cc5f41ff9
session-corrections-to-skill is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 169 tokens to every session and 1,019 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to luban, differing in 541 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…