detool — скилл для Claude Code: что делает и как установить
Очищает долговечные документы от случайных привязок к конкретным CLI, вендорам и путям, сохраняя суть действий. Пригодится при переносе документации между стеками.
npx skills add LilMGenius/paperthin --skill detool -a claude-codeЧто делает detool
Скилл находит в долговечных артефактах названия утилит, переменные окружения, пути обвязок и квоты вендоров. Затем он заменяет их на нейтральное описание механизма. Действие при этом остаётся. Вместо размытого совета проверить логи скилл сохраняет чёткую инструкцию по чтению записей сессии.
Перед любой правкой detool определяет роль текста. Он делит документ на переносимый контент и исторические записи. Сводки сборок, бенчмарки, баг-репорты и точные инструкции для конкретных CLI остаются нетронутыми, потому что имя инструмента служит предметом высказывания.
Замена выполняется точечно по каждому вхождению, а не слепым поиском по всему документу. Если скилл не обнаружил привязок к окружению, он оставляет файл без изменений. В отчёте он прямо показывает, что именно нейтрализовал и почему сохранил конкретные названия.
Какие задачи решает
- отвязать техническую документацию от названий конкретных вендоров
- заменить пути обвязок и переменные сред на описания механизмов
- сохранить исторические логи и шаги воспроизведения без искажения имён
- подготовить гайды проекта к переносу на другой агентский стек
Примеры запросов агенту
- Проверь этот документ с помощью detool и убери привязку к платформе
- Используй detool для очистки архитектурной заметки от вендорных CLI
- Запусти detool над файлом guide.md и покажи отчёт по сохранённым именам
Как установить detool
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill detool -a claude-code2Вручную: положить файлы
~/.claude/skills/detool/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/detool/
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill detool -a codex2Вручную: положить файлы
.agents/skills/detool/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill detool -a cursor2Вручную: положить файлы
.cursor/skills/detool/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install LilMGenius/paperthin detool2Вручную: положить файлы
.github/skills/detool/SKILL.md1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill detool -a gemini-cli2Командой платформы
gemini skills install https://github.com/LilMGenius/paperthin --path skills/depth/detoolВручную: положить файлы
.devin/skills/detool/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill detool -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о detool
Как установить detool в Claude Code?
Выполните команду npx skills add LilMGenius/paperthin --skill detool -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/detool/SKILL.md.
Что делает скилл detool?
Он находит упоминания конкретных CLI, моделей, путей и квот в переносимых документах. Скилл заменяет их на описания механизмов работы, сохраняя практические шаги.
Удаляет ли detool названия утилит из баг-репортов и логов?
Нет, он сначала классифицирует фрагменты текста. Исторические записи, протоколы сборок и бенчмарки сохраняют точные имена инструментов, так как они документируют конкретный стек.
Исходный текст
SKILL.md · MIT
--- 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.
© LilMGenius · MIT · LilMGenius/paperthin