agent-expenditure
Track multi-agent token consumption and identify waste in parallel scheduling
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: agent-expenditure. It is used for: Track multi-agent token consumption and identify waste in parallel scheduling Full Skill content: https://321skill.com/skills/agent-expenditure-x-11/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This skill addresses the issue of uncontrolled token consumption in multi-agent parallel scheduling. In real-world development, when multiple AI agents are dispatched simultaneously to perform tasks, coordination overhead and redundant work lead to token waste, which is often difficult for developers to quantify. This tool tracks each agent's token usage, incorporates Brooks's Law analysis, and automatically identifies and flags waste signals.
Usage is straightforward: simply run this skill after completing parallel agent scheduling. It automatically reads each agent's token consumption data and generates a report containing information such as the number of agents, coordination overhead percentage, and waste signals. You can then query specific agents' token usage details via natural language instructions or obtain recommendations for reducing the number of agents.
It is well-suited for teams or individuals who frequently perform multi-agent parallel scheduling—especially those already experiencing token cost overruns, redundant work between agents, or uncertainty about the optimal number of agents. Agent developers and operations engineers can use it to optimize resource allocation, while project managers can make more informed scheduling decisions based on data.
We recommend running this tool after each parallel scheduling session to establish a cost-monitoring habit. Note that it is primarily designed for post-hoc analysis and is not suitable for real-time monitoring; it also requires the Claude Code environment. For single-agent workflows or scenarios requiring real-time token budget control, we advise using it alongside other tools.
Key Features
Unlike standard token counting tools, it incorporates Brooks's Law analysis to predict coordination overhead based on the number of agents (e.g., 20–30% overhead with 6–8 agents) and automatically flags waste signals, going beyond mere consumption statistics.
Limitations
Requires the Claude Code environment and only supports post-hoc analysis; it does not support real-time token monitoring. It relies on the claude-night-market plugin ecosystem.
FAQ
How do I install this skill?
Install it using the command `clawhub install agent-expenditure`, or obtain it from the conserve plugin in claude-night-market.
How can I view the token waste report?
After parallel agent scheduling is complete, simply tell the AI, 'Analyze the token consumption from the latest parallel scheduling,' and it will automatically generate the report.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agent-expenditure-x-11/raw/index.md to read the original Skill definition (Markdown format) for agent-expenditure, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agent-expenditure-x-11/raw/index.md