← ClaudeAtlas

nazgulmetricslisted

View loop performance metrics — task velocity, approval rates, retry distribution, reviewer stats. Use when asked about loop performance, development metrics, or how the loop is doing.
OrodruinLabs/nazgul · ★ 4 · AI & Automation · score 73
Install: claude install-skill OrodruinLabs/nazgul
# Nazgul Metrics ## Examples - `/nazgul:metrics` — View full metrics dashboard - `/nazgul:metrics reviews` — Focus on reviewer stats ## Current State - Config: !`cat nazgul/config.json 2>/dev/null | head -3 || echo "NOT_INITIALIZED"` - Tasks dir: !`ls nazgul/tasks/TASK-*.md 2>/dev/null | wc -l | tr -d ' '` - Checkpoints retained (recovery only): !`ls nazgul/checkpoints/iteration-*.json 2>/dev/null | wc -l | tr -d ' '` - Reviews dir: !`ls -d nazgul/reviews/TASK-*/ 2>/dev/null | wc -l | tr -d ' '` - Budget (estimated): !`jq -r '(.budget | if type=="object" then . else {} end) | "enabled=\(.enabled // false) spent=$\(.spent_usd // 0) ceiling=\(.max_usd // "none")"' nazgul/config.json 2>/dev/null || echo "n/a"` - Subagent runs: !`test -f nazgul/logs/subagents.jsonl && wc -l < nazgul/logs/subagents.jsonl 2>/dev/null | tr -d ' ' || echo 0` ## Arguments $ARGUMENTS ## Instructions Format all output per `references/ui-brand.md` — use stage banners, status symbols, progress bars, and display patterns defined there. If Nazgul is not initialized, say so and stop. ### Collect Data Read these sources to compute metrics: 1. **Task manifests** (`nazgul/tasks/TASK-*.md`): - Count by status: DONE, APPROVED, IN_PROGRESS, READY, CHANGES_REQUESTED, BLOCKED, PLANNED - For each task: count retry attempts (how many times status went to CHANGES_REQUESTED) - Extract claimed_at and completed_at timestamps for velocity 2. **Iteration log** (`nazgul/logs/iterations.jsonl`) — the durabl