burn-rate
Compute the recent 7-day spend trend (burn rate) from daily sessions and per-session cost.
List current cost and token outlier sessions via z-score
> /plugin marketplace add hoangsonww/Claude-Code-Agent-MonitorHow it fires
How this command gets triggered: by you, by Claude, or both.
/anomaliesContext preview
What this command does when you run it.
List current cost and token outlier sessions via z-score
description: List current cost and token outlier sessions via z-score argument-hint: "[threshold]"
List the current cost/token **outlier** sessions from the Agent Monitor dashboard using a z-score test. **$ARGUMENTS** optionally sets the z-score threshold (default `2.0`; lower = stricter).
1. Fetch the population:
2. Compute the baseline over all returned sessions:
3. Flag outliers: any session whose `z = (value − mean) / stddev` exceeds the threshold (default 2.0) on cost (primary) or tokens (secondary). Skip the calc gracefully if stddev is 0.
4. Print the flagged sessions, sorted by descending cost z-score:
Output rules: a Markdown table of flagged sessions only; currency in USD to 4 decimals; z-scores to 2 decimals; if nothing exceeds the threshold, say "No cost/token outliers above z=<threshold>" and report the top session by cost for context. Cite only API values — never fabricate. If the dashboard is unreachable at `http://localhost:4820`, tell the user to start it with `npm start` from the repo root.
🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.
Repo: hoangsonww/Claude-Code-Agent-Monitor
Compute the recent 7-day spend trend (burn rate) from daily sessions and per-session cost.
Quick total cost plus a per-model one-liner from the dashboard pricing engine.
List the top N most expensive Claude Code sessions by inline cost.
Quick Claude Code config audit — counts per surface (user vs project) and totals.
One-screen inventory of skills, agents, commands, MCP servers, and hooks counts.
List the file-based memory store grouped by project (auto-memory) plus the CLAUDE.md files.