By undefdev
Automatically minimize token consumption in bash commands, file reads, JSON/YAML/TOML/CSV processing, and code searches during AI coding sessions, using efficient tools like jq, yq, awk, and ast-grep, triggered on session start, clear, or compact.
npx claudepluginhub undefdev/token-efficiency --plugin token-efficiencyA skill that teaches coding agents to minimize token waste in all tool use, file reading, and data processing operations.
Every byte of tool output is money and context window spent. This skill instills the habit of filtering, projecting, and truncating at the source — not dumping raw output and hoping for the best.
Sunset notice: This skill exists because current coding agents haven't yet internalized efficient tool use. As models improve and these practices become default behavior, this skill will be discontinued.
jq, yq, awk) over dump-and-readast-grep, rg) over broad text search--stat, --name-only)NO_COLOR, selective reads)First, add the marketplace:
/plugin marketplace add undefdev/token-efficiency
Then install:
/plugin install token-efficiency@undefdev-token-efficiency
Not yet available on the Cursor Marketplace. For now, clone the repo and add the skill content to your project's rules manually.
gemini extensions install https://github.com/undefdev/token-efficiency
Audit, fix, and monitor Claude Code context window usage. Find the ghost tokens.
Analyze and reduce Claude Code token overhead
Resource optimization and performance monitoring toolkit for efficient Claude Code workflows
Cost-conscious mode for Claude Code. Saves 30-60% on costs through concise responses, model routing, and efficient workflow patterns.
Token optimization for Claude Code. Automatic tool output compression (40-60% reduction), token meter in statusline, auto-compact at 70% context, structured output formats, self-building project wiki, URL ingestion, Karpathy compile pass, and semantic lint.
Share bugs, ideas, or general feedback.
Governor: always-on compact professional output, telemetry, context slimming, tool-output filtering, prompt guidance, and drift guardrails for Claude Code Max users.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim