By undefdev
Optimize every command execution by automatically applying token-efficient tools like jq, yq, awk, and ast-grep to minimize waste in shell, file, and data processing tasks
A 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
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub undefdev/token-efficiency --plugin token-efficiencyResource optimization and performance monitoring toolkit for efficient Claude Code workflows
Audit, fix, and monitor Claude Code context window usage. Find the ghost tokens.
Analyze and reduce Claude Code token overhead
Automatically compresses verbose CLI output (git, docker, npm, terraform, kubectl, etc.) to save tokens in Claude Code sessions. 32 specialized processors with content-aware compression.
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.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.