/ccam-quality:slo-checkfrom ccam-quality
Defines and checks service-level objectives from Claude Code Agent Monitor data, calculating session completion rate, tool success rate, and error rate against targets with error budget reporting.
Ships in ccam-quality. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn raw event counts into a clear SLO scorecard with error-budget accounting.
The user provides: $ARGUMENTS
This may be:
Default SLO targets: completion rate ≥ 95%, tool success rate ≥ 99%, error rate ≤ 1%.
| Endpoint | Returns |
|---|---|
GET /api/analytics | event_types (PreToolUse, PostToolUse, APIError counts), sessions_by_status, daily_events (365d), daily_sessions (365d) — the raw numerators/denominators for every SLI |
GET /api/stats | total_sessions, total_events, events_today, sessions_by_status — fleet totals and recency |
GET /api/events?session_id=X | Per-session stream — drill into the sessions that breach an SLO |
Compute each SLI from GET /api/analytics / GET /api/stats:
sessions_by_status; count active/running as in-flight, exclude them from the denominator if still open).PostToolUse / PreToolUse (capped at 100%).APIError / total_events.
Within a window, derive the numerators/denominators from daily_events / daily_sessions.For each SLI, compare to its target and mark MET ✅ or BREACHED ❌.
For each objective, report the error budget and how much remains:
1 − target (e.g., 1% for a 99% target).(observed − target) / (1 − target).(target − observed) / target.For any breached SLO, list the sessions contributing most to the breach (most failed tools or most APIErrors) via GET /api/events?session_id=X.
session_id values — never fabricate numerators or denominators.curl cannot reach http://localhost:4820, tell the user to start the dashboard with npm start from the repo root.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hoangsonww/claude-code-agent-monitor --plugin ccam-quality5 plugins ship this exact skill · first indexed Aug 10, 2026
5 skills in this plugin
/api-error-reportProduce a detailed report on APIError events from Agent Monitor data — counts over time, which sessions and models are affected, and the likely root cause (rate limits, overload/529, or context-window pressure) inferred from each event's summary and data payload. Use when API errors spike or when you need to explain why requests are failing.
/error-scanScan recent Claude Code activity for errors and failure signals across all sessions using Agent Monitor data — APIError events and PreToolUse→PostToolUse gaps (tools that started but never completed) — then group failures by tool and model and rank them by frequency. Use when checking for errors or asking "what's failing right now".
/Other plugins' skills for the same job