agent-expenditure
Tracks token consumption across multiple agents and identifies 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: Tracks token consumption across multiple agents and identifies waste in parallel scheduling. Full Skill content: https://321skill.com/skills/agent-expenditure-x-4/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 challenge of quantifying token waste in multi-agent parallel scheduling. In practical development, when multiple AI agents are dispatched simultaneously to perform tasks, coordination overhead (such as file read/write conflicts) increases with the number of agents, leading to disproportionate token consumption relative to output. This tool tracks token usage for each agent, automatically identifies waste patterns, and helps teams avoid blindly increasing the agent count.
Usage is straightforward: you simply run this Skill after completing a parallel scheduling operation. It automatically analyzes each agent's token consumption, file conflict ratios, and generates a Brooks' Law comparison table. You can then query for waste signals using natural language instructions, such as "Check if there was duplicate work in this scheduling" or "Evaluate whether the number of agents should be reduced." It also provides a post-scheduling checklist to guide you in assessing the output value of each agent individually.
It is particularly suitable for teams or individuals who frequently engage in multi-agent parallel development, especially those already experiencing token budget overruns, duplicate agent outputs, or excessive coordination costs. The tool is not applicable to single-agent workflows or agents currently executing, as it focuses on post-hoc analysis.
It is recommended to use this tool for review after each large-scale parallel scheduling operation. Note that it primarily analyzes coordination overhead (e.g., file conflicts), not session-level token budget management. For budget control, it should be used in conjunction with the token-conservation skill. Additionally, this skill relies on the Claude Code plugin environment and requires prior installation.
Key Features
Unlike token-conservation, which focuses on session-level budget control, this tool specializes in post-parallel-scheduling waste analysis. It introduces Brooks' Law to quantify coordination overhead and provides specific agent count recommendations (e.g., overhead exceeding 30% with 9+ agents).
Limitations
Requires the Claude Code plugin environment (Night Market). It only supports post-hoc analysis and is not applicable to single-agent or currently executing workflows.
FAQ
How do I install this Skill?
Install via ClawHub: `claw install agent-expenditure`, or clone the `claude-night-market` repository from GitHub and enable the conserve plugin.
Which AI models does it support?
This Skill is not dependent on specific models. It analyzes agent scheduling logs and token consumption data, making it applicable to any multi-agent scenario within the Claude Code environment.
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-4/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-4/raw/index.md