Show analytics and metrics from agent loop execution history
Scanned 9/3/2026
Install to Claude Code
npx -y skills add jmagly/aiwg --skill ralph-analytics --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ralph Analytics?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jmagly-ralph-analytics-aiwg)More formats (shields.io, HTML) on the badges page.
---
namespace: aiwg
name: ralph-analytics
platforms: [all]
description: Show analytics and metrics from agent loop execution history
commandHint:
category: ralph
---
# Al Analytics Command
Display aggregate analytics and metrics from agent loop execution history.
## Instructions
When invoked, analyze agent loop data and present metrics:
1. **Scan Loop History**
- Load all loop records from `.aiwg/ralph/`
- Load reflections from `.aiwg/ralph/reflections/`
- Load debug memory from `.aiwg/ralph/debug-memory/`
2. **Calculate Metrics**
- **Success rate**: % of loops that completed successfully
- **Average iterations**: Mean iterations to completion
- **Reflection reuse rate**: % of reflections applied in subsequent loops
- **Stuck loop rate**: % of loops that hit stuck detection
- **Escalation rate**: % requiring human intervention
3. **Pattern Analysis**
- Most common failure types
- Most effective fix patterns
- Average time per iteration
- Quality trajectory per loop
4. **Display Dashboard**
- Summary metrics table
- Trend indicators (improving/stable/degrading)
- Recommendations for improvement
## Arguments
- `--since [date]` - Analyze loops from date (default: all)
- `--loop [id]` - Analyze specific loop
- `--export [path]` - Export analytics to file
- `--brief` - Show summary only
## References
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md - Guide
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!