Skip to main content
skill CX Codex

detool — Claude Code skill: what it does, how to install

Makes durable artifacts portable by replacing vendor CLIs, harness paths, and model names with the underlying mechanisms. Useful when migrating docs across stacks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add LilMGenius/paperthin --skill detool -a claude-code
Open on GitHub

What detool does

detool sweeps durable project artifacts for stack-specific coupling. It targets vendor CLIs, harness paths, tool quotas, and brand names used as mechanisms. Instead of stripping details into vague phrasing, it replaces tool-bound nouns with the exact mechanism needed to complete the action.

Classification happens before editing. The skill categorizes text sections into portable content or operational records. Runbooks, benchmark logs, and bug reports keep their concrete tool names intact. Those names represent provenance, not incidental coupling.

Replacements run per occurrence rather than through blanket sweeps. If an artifact contains no coupling, nothing changes. The final report explicitly lists what was neutralized and what was kept, including the reasoning for each choice.

What it helps with

  • decouple project documentation from specific vendor CLIs
  • rewrite harness-specific paths into neutral mechanism descriptions
  • preserve provenance and exact reproduction steps during artifact cleanup
  • migrate technical runbooks across different agent harnesses

Example prompts for the agent

  • Run detool on this architecture note to remove vendor coupling
  • Review guide.md with detool and rewrite stack-specific CLI steps
  • Use detool to sanitize the deployment doc without losing the underlying mechanisms

How to install detool

1Skills CLI (Vercel)

npx skills add LilMGenius/paperthin --skill detool -a claude-code

2Manually: put the files in place

~/.claude/skills/detool/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/detool/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about detool

How to install detool in Claude Code?

Run npx skills add LilMGenius/paperthin --skill detool -a claude-code. The skill file will be stored at ~/.claude/skills/detool/SKILL.md.

What does detool do?

It inspects durable artifacts for tool-specific nouns like CLIs or quotas and replaces them with neutral mechanisms. This keeps the document actionable when switching execution stacks.

Does detool erase tool names from reproduction steps and benchmarks?

No, it classifies content before editing. Provenance records, benchmark results, and command transcripts deliberately keep concrete tool names because the stack is part of the record.

Source text

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

Similar skills

Everything for Writing and docs →

From the same set28

reorder This skill puts a list, table, catalog, set of sections or enum back into a meaningful sequence. It moves items only and leaves the wording alone. CX Codex +1 1,200installs re0-loop Drives repeated development loops through vertical slices, real-surface checks, and memo-based learning. Keeps projects focused on verified modules rather than code volume. CX Codex +1 1,200installs aim A Claude skill for the moment files, a repo or a chat scrollback arrive with a thin ask. It reads everything and proposes what you meant, so you only confirm. CX Codex +1 1,200installs re0-memo Turns a finished, failed or disappointing work cycle into lessons, anti-patterns and quality gates the next pass can actually use. CX Codex +1 1,200installs prism Reviews a claim, plan, or file through independent lenses and exposes the key disagreement. Use it before shipping when one review is insufficient. CX Codex +1 1,200installs re0-upgrade Brings your installed paperthin skills up to the full current catalog: retires renamed ones, adds what you're missing, refreshes the rest. You see the plan first. CX Codex +1 1,200installs debloat Compresses bloated docs and prose down to load-bearing density without losing facts or constraints. Useful when accurate text grew verbose through successive edits. CX Codex +1 1,200installs modelchk Assesses task risk and complexity to recommend a sufficient model tier and reasoning effort. Use it before costly, ambiguous, or high-risk work. CX Codex +1 1,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor