Spend today
What your agents spent today in dollars and tokens, against a daily budget, as they report it.
hive plugins install @dip497/spend-today Run it in a terminal, or find it in Hivemind under Settings ▸ Plugins.
Spend today
What your agents spent today, in dollars and tokens, against a daily budget, with the three that spent most. Agents report what a turn cost (or a hook that runs when a turn ends does); the day starts again at midnight, and you are notified when the budget is spent.
hive plugins install @dip497/spend-today # then add it from the toolbar's Add menu
hive ctl plugin open @dip497/spend-today # or let an agent place it
hive ctl plugin call @dip497/spend-today add '{"usd":0.42,"tokens":120000,"agent":"claude"}'
hive ctl plugin call @dip497/spend-today today
It asks for no permissions. A widget cannot read an agent's usage itself, so it counts only what is reported to it.
Options (the gear on the widget): budget: the daily budget in dollars (default 20).
How it was made
Built by a coding agent (Claude) from the widget contract: hive plugins new widget's brief, hive.d.ts
and the Widgets guide, then checked
in the app over the demo workspace. Its behaviour test is tests/widgets.test.ts in this repository,
which runs widget.js with the same worker prelude the app uses.
Files
From dip497/hivemind-plugins at c1a1f28. Hivemind checks each file's checksum as it downloads, and stops if one changed.
icon.svg777a2814283eREADME.md7783000e2d08widget.jsb4bc6dc4acf2widget.json8cdd2033a98a
widget.json
{
"id": "@dip497/spend-today",
"name": "Spend today",
"version": "1.0.0",
"description": "What your agents spent today in dollars and tokens, against a daily budget, as they report it.",
"category": "agents",
"icon": "icon.svg",
"size": { "w": 300, "h": 170 },
"options": [
{ "id": "budget", "label": "Daily budget in dollars", "type": "number", "min": 0, "max": 10000, "default": 20 }
],
"commands": [
{ "name": "add", "description": "Add what a turn cost to today's total, under the agent that spent it.", "args": "{ \"usd\"?: number, \"tokens\"?: number, \"agent\"?: string }" },
{ "name": "today", "description": "Today's total, per agent, and the budget." }
]
}
| Version | Commit | Listed |
|---|---|---|
| 1.0.0 | c1a1f28 | October 20, 2026 |
HiveHub keeps the version listed last. The ones before it are in the repository's history.
Something wrong with it? Report it.