Skills for Real Engineers. Straight from my .agents directory.
benchmark
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Benchmark one session (or a small recent set) against the rolling average using Agent Monitor data — cost, total tokens, tool count, and workflow complexity score — and report where each metric lands as a percentile of the population. Tells you whether a session was normal, cheap, or an outlier. Use when judging whether a session was typical or out of band.
How to install benchmark
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-insights/skills/benchmark/
# into
~/.claude/skills/benchmark/ (all projects)
.claude/skills/benchmark/ (one project)
1# Benchmark23Score a session against the rolling population average and report its percentile on4cost, tokens, tool count, and complexity using Agent Monitor data.56## Input78The user provides: **$ARGUMENTS**910This may be:11- A single session ID — benchmark that session12- "latest" — benchmark the most recent session13- "latest N" — benchmark the N most recent sessions, each vs the average14- empty — benchmark the most recent session (default)1516## Data Sources1718| Endpoint | Returns |19|----------|---------|20| `GET /api/sessions?limit=N` | Population of sessions with `cost`, `model`, `started_at`, `metadata` (turn_count, total_turn_duration_ms) — builds the rolling baseline |21| `GET /api/pricing/cost/{sessionId}` | `{ total_cost, breakdown:[{ input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, cost }] }` — the target session's cost and tokens |22| `GET /api/workflows/{sessionId}` | `complexity` (score), `stats` (tool/event counts), `toolFlow` (distinct tools used) — the target session's tool count and complexity |23| `GET /api/analytics` | `avg_events_per_session`, `tool_usage`, `daily_sessions` — corroborates population-level averages |2425## Report Sections2627### 1. Build the Baseline28Fetch the population with `GET /api/sessions?limit=200` (the rolling set). For each29session gather cost (`GET /api/pricing/cost/{id}` or the list `cost` field), total30tokens (sum of the 4 token types from the pricing breakdown), tool count and31…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
