/ralph-analytics
Show analytics and metrics from agent loop execution history
$ npx -y skills add jmagly/aiwg --skill ralph-analytics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ralph-analytics
Context preview
The summary Claude sees to decide when to auto-load this skill.
Show analytics and metrics from agent loop execution history
SKILL.md
ralph-analytics.SKILL.mdnamespace: 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/agentic/code/addons/ralph/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/agentic/code/addons/ralph/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/agentic/code/addons/ralph/docs/reflection-memory-guide.md - Guide
Read more
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/agentic/code/addons/ralph/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/agentic/code/addons/ralph/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/agentic/code/addons/ralph/docs/reflection-memory-guide.md - Guide
Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.
Repo: jmagly/aiwg
Other skills on aiwg.
- /agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Open skill - /agent-loop
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Open skill - /auto-test-execution
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Open skill - /cross-task-learner
Enable agent loops to learn from similar past tasks and share patterns across loops
Open skill - /debug-memory
Query and manage the executable feedback debug memory
Open skill - /execute-feedback
Execute tests on generated code and iterate until passing
Open skill

