Skills for Real Engineers. Straight from my .agents directory.
regression-watch
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Detect quality and efficiency regressions over time using Agent Monitor data — rising error rate (APIError events), falling cache hit rate, growing compaction frequency, and climbing cost-per-session. Splits history into an earlier baseline window and a recent window and reports which metrics are getting worse, by how much, and where. Use when checking whether things are degrading or trending in the wrong direction.
How to install regression-watch
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-insights/skills/regression-watch/
# into
~/.claude/skills/regression-watch/ (all projects)
.claude/skills/regression-watch/ (one project)
1# Regression Watch23Detect whether Claude Code sessions are getting worse over time across quality and4efficiency metrics, using Agent Monitor data.56## Input78The user provides: **$ARGUMENTS**910This may be:11- empty or "all" — check every regression metric (default)12- "errors" — error-rate regression only13- "cache" — cache hit-rate regression only14- "compaction" — compaction-frequency regression only15- "cost" — cost-per-session regression only16- A window like "last 30d" or "30 vs 90" — set the recent vs baseline window sizes1718## Data Sources1920| Endpoint | Returns |21|----------|---------|22| `GET /api/analytics` | `daily_events` (365d), `daily_sessions` (365d), `event_types`, `tokens` (total_input, total_output, total_cache_read, total_cache_write — baselines pre-summed), `avg_events_per_session` |23| `GET /api/events?session_id=X` | Event stream incl. `APIError`, `Compaction`, `PreToolUse`/`PostToolUse` — used to localize regressions to specific sessions |24| `GET /api/pricing/cost` | `{ total_cost, breakdown[...] }` — total cost to derive cost-per-session |25| `GET /api/pricing/cost/{sessionId}` | Per-session cost — used to compare recent vs baseline session cost |26| `GET /api/workflows/{sessionId}` | `compaction` (impact), `errorPropagation` (by depth), `effectiveness` — per-session quality signals |27| `GET /api/sessions?limit=N` | Sessions with `started_at`, `cost`, `metadata` — to bucket sessions into time windows |2829## Report Sections3031### 1. Windowing32…
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
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
Production-grade engineering skills for AI coding agents.
