Skip to content
Automation
Command

/spend

Show Claude Code spend summary — total cost, per-session breakdown, and burn rate

From plugin
claudectl
2047 skills1 agent7 commands1 MCP
> /plugin marketplace add mercurialsolo/claudectl
> /plugin install claudectl@claudectl

Command definition

spend.md
name: spend
description: Show Claude Code spend summary — total cost, per-session breakdown, and burn rate
args: "[time-window]"

Show the user's Claude Code spending. The optional argument is a time window (e.g., "8h", "24h", "7d"). Default is "24h".

Run these commands to gather spend data:

1. `claudectl --stats --since {{time_window}}` for aggregated statistics (total cost, token counts, per-project and per-model breakdown) 2. `claudectl --list` for current active session costs and burn rates

Present the results showing:

  • Total spend in the time window
  • Active session costs and burn rates
  • Per-project breakdown if available
  • Today's spend vs weekly average if the window is large enough
@mercurialsolo
Ships withclaudectl

Hive compute for coding agent swarms - expand your personal compute by adding on-demand agentic swarms

2042 skills1 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
204
Star history of mercurialsolo/claudectl on GitHub, a chart by star-history.com

Other commands on claudectl.

auto-insights

auto-insights

Command

Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements

role

role

Command

Set this Claude session's agent-bus role so other sessions can address it (e.g. /role frontend, /role backend, /role tester)

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n2w209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris2w18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command