ralph-reflect
FeaturedView and manage agent loop reflections and episodic memory
AI & Automation 201 stars
29 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Al Reflect Command
View, search, and manage reflections from agent loop iterations.
## Instructions
Manage the Reflexion episodic memory stored in `.aiwg/ralph/reflections/`:
### Subcommand: show
Display reflections for a specific loop or the most recent loop.
1. Load reflections from `.aiwg/ralph/reflections/loops/`
2. Display each reflection with:
- Trial number, timestamp
- Outcome (success/failure/partial)
- Reflection text
- Strategy change
### Subcommand: patterns
Show recurring patterns across all loops.
1. Load `.aiwg/ralph/reflections/patterns/`
2. Display patterns by frequency
3. Show success rate for each pattern
4. Highlight patterns applicable to current context
### Subcommand: clear
Archive and clear reflection history.
1. Archive current reflections to timestamped directory
2. Reset loops and patterns directories
3. Preserve index.yaml
## Arguments
- `show [loop-id]` - Show reflections for loop (default: latest)
- `patterns` - Show learned patterns
- `clear` - Archive and clear reflections
- `--format [yaml|markdown|summary]` - Output format (default: markdown)
- `--last [n]` - Show only last n reflections
- `--loop [id]` - Filter by loop ID
## References
- @$AIWG_ROOT/agentic/code/addons/ralph/schemas/reflection-memory.json - Reflection schema
- @$AIWG_ROOT/agentic/code/addons/ralph/docs/reflection-memory-guide.md - Guide
- @.aiwg/research/findings/REF-021-reflexion.md - Research foundation
## Storage Routing (#934, #967)
This s...
Details
- Author
- jmagly
- Repository
- jmagly/aiwg
- Created
- 1 years ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
ralph-analytics
Show analytics and metrics from agent loop execution history
201 Updated today
jmagly AI & Automation Featured
reflection-injection
Inject relevant past reflections into agent context at iteration start so agents learn from prior mistakes without repeating them
201 Updated today
jmagly AI & Automation Featured
ralph-memory
Manage Al semantic memory entries — list, query, and clear lessons learned across loop iterations
201 Updated today
jmagly