/ralph-analytics
Show analytics and metrics from agent loop execution history
Claude Code
$ npx -y skills add jmagly/aiwg --skill ralph-analytics --agent claude-code
Codex
$ npx skills add jmagly/aiwg --skill ralph-analytics -a codex -y
Cursor
$ npx skills add jmagly/aiwg --skill ralph-analytics -a cursor -y
Gemini CLI
$ npx skills add jmagly/aiwg --skill ralph-analytics -a gemini-cli -y
GitHub Copilot
$ npx skills add jmagly/aiwg --skill ralph-analytics -a github-copilot -y
OpenCode
$ npx skills add jmagly/aiwg --skill ralph-analytics -a opencode -y
Windsurf
$ npx skills add jmagly/aiwg --skill ralph-analytics -a windsurf -y
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/agent-loop/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agent-loop/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/reflection-memory-guide.md - Guide
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Other skills on aiwg.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about ralph-analytics.
- Which coding agents can use ralph-analytics?
- ralph-analytics installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

