lilmgenius/paperthin已通过检查
SKILL DETAIL
detool
lilmgenius/paperthin/detool
detool 技能旨在使声称比生成它们的栈更持久的工件保持真实和可操作。它识别便携内容中特定于栈的名词,并将其重写为底层机制,而不删除它们所启用的操作。目标是可移植性,而非模糊性——读者在重写后仍应知道要检查、运行、测量、比较或验证什么。 该技能遵循一个工作流程:通读工件,将整个工件或每个部分分类为持久/便携内容、来源/操作记录或关于命名工具的声明;扫描持久内容中的偶然耦合;将每个命中替换为保留操作的机制;保持来源和操作内容的具体性;保持比较性和工具主题声明的具体性;重新阅读以确保可移植性;并报告哪些被中和、哪些被保留以及判断依据。规则强调机制而非委婉说法、保留可操作细节、保持来源和操作记录精确、保持比较性/工具主题名称,以及编辑安全性。
安装量 · 366查看来源
Installation
npx skills add https://github.com/lilmgenius/paperthin --skill detool
技能文件
SKILL.md
最近同步 · 2026年8月27日
SKILL.md›
---
name: detool
description: "Make durable artifacts portable by replacing incidental stack, vendor, model, CLI, path, quota, or harness nouns with the mechanism they mean, while keeping provenance, runbooks, and tool-subject claims concrete."
---
Remove incidental tool coupling from artifacts that claim to outlive the stack that wrote them.
## Goal
A durable artifact should stay true and actionable when the agent, harness, operating system, vendor, model, or toolchain changes. `detool` finds stack-specific nouns in portable content and rewrites them to the underlying mechanism without deleting the action they enabled.
The point is portability, not vagueness. A reader should still know what to inspect, run, measure, compare, or verify after the rewrite.
## Workflow
1. Read the target artifact end to end.
2. **Role before edit**: classify the whole artifact, or each section if mixed, as durable/portable content, provenance/operational record, or a claim about a named tool.
3. Sweep durable content for incidental coupling: harness paths, vendor CLIs and flags, model or product brands used as mechanisms, tool-specific environment variables, quotas, UI steps, cache homes, session files, and version-pinned behavior stated as timeless truth.
4. **Mechanism not euphemism**: replace each durable-content hit with the neutral mechanism that preserves the action. If neutral wording would lose the action, keep the concrete detail as an example of the mechanism instead of pretending it generalizes.
5. Keep provenance and operational content concrete. Build records, capsules, benchmark logs, install guides, runbooks, tool-targeted how-tos, command transcripts, and exact reproduction steps are supposed to name the stack that produced them.
6. Keep comparative and tool-subject claims concrete. If the sentence is about a named tool, vendor, model, bug, prior-art source, or measured limit, the name is the subject, not incidental coupling.
7. Re-read as a reader on a different stack: the artifact should still be true, portable, and executable where it promised action.
8. Report what was neutralized, what was deliberately kept, and the role judgment behind each keep.
## Rules
- **Role before edit.** Never scrub before deciding whether the text is portable content, provenance, operational instruction, or a tool-subject claim.
- **Mechanism, not euphemism.** "Use the session execution log and sum usage records" is a mechanism; "check the logs" is a euphemism that loses the work.
- Preserve actionable detail. Abstract only the coupling, not the procedure, evidence, comparison, or constraint.
- Keep provenance and operational records exact. Concrete paths, commands, flags, versions, products, and UI steps stay when they record what happened or explain how to drive a specific tool.
- Keep comparative/tool-subject names. A bug report about a CLI, a benchmark against a model, a prior-art citation, or a vendor-specific limit keeps the named subject.
- A pass that finds no incidental coupling changes nothing.
- Mutate with edit-safety: assert each target exists and report a MISS instead of silently no-oping; edit unicode-safe; replace per occurrence, never by blanket sweep; script large structural moves.
## Verification
Before finishing, confirm:
1. Every changed hit was in durable or portable content.
2. Every rewrite preserved the actionable mechanism.
3. Every kept tool noun is provenance, operational instruction, or the subject of its claim.
4. The report names neutralized couplings, deliberate keeps, and any judgment calls.