/token-efficiency:token-efficiencyfrom token-efficiency
Reduces token waste when reading files, searching code, querying data, inspecting diffs, or handling verbose tool output. Provides strategies for selective reads, efficient queries, and noise reduction.
Ships in token-efficiency. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Optimize total cost and time to a verified result. Smaller outputs help when they preserve the evidence needed to finish correctly; extra searches, retries, and coordination can erase the savings.
Before a tool call, ask whether current evidence already answers the question and what information the next decision actually needs.
rg recurses by default. Its -r flag means --replace, not recursion. Its -m match limit applies per file, not across the entire search.git diff --stat or --name-only, then inspect relevant files. Read a small, targeted diff directly.jq; use format-aware tools for YAML, TOML, and XML. Check which yq implementation is installed before relying on its options.cut or awk for simple delimited text; use a CSV-aware parser for quoted fields or embedded newlines. Choose a compact format that preserves the data's structure.&& when useful, keeping approval boundaries clear.Keep prompt prefixes stable where practical and avoid unnecessary changes to prompt-affecting configuration. Cache behavior and pricing depend on the provider and model.
Use the harness's compaction or context-management mechanisms when needed. Preserve the task's constraints, verified findings, failed attempts, next steps, and references to recoverable details. Judge context reduction by subsequent correctness, retries, total cost, and latency.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub undefdev/token-efficiency --plugin token-efficiencyOther plugins' skills for the same job