Token Efficiency
技能 已验证 活跃Reduce token waste by 40-60% through anti-sycophancy rules, tool-call budgets, one-pass coding, task profiles, and read-before-write enforcement. Inspired by drona23/claude-token-efficient.
To reduce LLM token waste and prevent costly, iterative cycles by enforcing specific output constraints and task management strategies.
功能
- Reduces token waste via anti-sycophancy rules
- Implements tool-call budgets based on task complexity
- Enforces one-pass coding discipline
- Provides task-specific profiles (coding, agent, analysis)
- Enforces read-before-write rules
- Ensures ASCII-only output for compatibility
使用场景
- When sessions feel expensive or slow due to token usage
- When LLM output is consistently verbose with filler text
- When Claude is re-reading files or iterating unnecessarily
- When setting up a new project for token-efficient work
非目标
- Increasing LLM verbosity or token consumption
- Encouraging unnecessary iterations or re-reading of files
- Allowing prompt restatement or unsolicited suggestions
工作流
- Apply anti-sycophancy rules by deleting verbose or redundant phrases.
- Set tool-call budgets based on task complexity to limit iterations.
- Follow one-pass coding discipline: read, understand, write, test once.
- Switch task profiles (coding, agent, analysis) as needed.
- Enforce read-before-write rules rigorously.
- Ensure all output uses ASCII characters only.
实践
- Prompt Engineering
- LLM Optimization
- Workflow Design
Documentation
- info:Configuration & parameter referenceWhile the SKILL.md details rules and profiles, specific configuration parameters or environment variables that users might set are not explicitly documented with defaults.
Practical Utility
- info:Edge casesThe skill documents various patterns for token efficiency but does not explicitly list potential failure modes or recovery steps in the SKILL.md or README.
安装
请先添加 Marketplace
/plugin marketplace add rohitg00/pro-workflow/plugin install pro-workflow@pro-workflow质量评分
已验证类似扩展
Create Command
100Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Running Claude Code Via Litellm Copilot
100当通过本地 LiteLLM 代理将 Claude Code 路由到 GitHub Copilot 时使用,以减少直接的 Anthropic 支出,配置 ANTHROPIC_BASE_URL 或 ANTHROPIC_MODEL 覆盖,或对 Copilot 代理设置失败进行故障排除,例如 model-not-found、无 localhost 流量或 GitHub 401/403 身份验证错误。
Guard
100保护 Claude Code 会话免受上下文溢出影响,通过运行一个后台守护进程来监控会话大小并在压缩命中之前自动进行修剪。当用户说“guard”、“protect session”、“context getting long”、“prevent compaction”、“session management”或正在运行需要持续上下文保护的代理团队时使用。
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.
Bootstrap Project
100Initializes the Claude Code configuration in a new or existing project using the dotforge template.