implicit-token-savings
Installation
SKILL.md
implicit-token-savings
Match output size to the question, not to a ritual. When the target file is already named, read it; when the user asks for full output, give it. Summaries are never a prerequisite, and a compact command that hides evidence is a false saving.
Choosing detail
- Unknown paths:
rg --files path/, ortree -L 2. Cap depth;treeshows shape, not truth. - Unknown location of a symbol or literal:
rg -n -F 'needle' path/(-Ffor literals). Known relevant file: read it directly. A short, central file is cheaper in one full read than in repeatedsed -nslices. - Scope questions use
git status --short --branch,git diff --stat,git diff --name-only,git log --oneline -n 15. Semantic questions need the content:git diff -- path,git diff --cached -- path.--statcompresses volume, not meaning. - Tests and lint: the narrowest stack-native command for local feedback (
pytest -q file -k expr,go test ./pkg/... -run X,cargo test name,ruff check path/). Narrow runs never replace the full gates the repository requires before handoff, and failure output, exit status and error details are never trimmed away. - Output another tool will consume:
--json,docker ps --format '{{json .}}',jq -r. - A preferred tool is missing: use the nearest cheaper equivalent rather than stalling.
Gotchas
rgobeys ignore files; an expected match that does not appear usually needs--hidden,-uor--debug, or a different root, not another tool.npm testforwards runner flags only after--:npm test -- --runInBand.docker pslisting a container does not mean it is healthy; readStatus.- Stage explicit paths (
git add -- path), nevergit add ., then checkgit diff --cached --statbefore an authorised commit.git push -u origin HEADis shorthand for the destination, not authorization to push; it fails with nooriginor a detached HEAD, so checkgit remote -vandgit branch --show-current.