Agent skill
ralph-reflect
View and manage agent loop reflections and episodic memory
Install this agent skill to your Project
npx add-skill https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/agent-loop/skills/ralph-reflect
SKILL.md
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.
- Load reflections from
.aiwg/ralph/reflections/loops/ - Display each reflection with:
- Trial number, timestamp
- Outcome (success/failure/partial)
- Reflection text
- Strategy change
Subcommand: patterns
Show recurring patterns across all loops.
- Load
.aiwg/ralph/reflections/patterns/ - Display patterns by frequency
- Show success rate for each pattern
- Highlight patterns applicable to current context
Subcommand: clear
Archive and clear reflection history.
- Archive current reflections to timestamped directory
- Reset loops and patterns directories
- Preserve index.yaml
Arguments
show [loop-id]- Show reflections for loop (default: latest)patterns- Show learned patternsclear- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
research-document
Generate summaries and literature notes from research papers
research-archive
Package research artifacts for long-term archival
research-cite
Format citations and generate bibliographies
induct-research
Induct research sources into a research repository. Point at an issue, a single file, a directory of papers, or a URI and the skill reads, annotates, and files structured induction tasks — one per source. Similar to address-issues but for research corpora instead of code backlogs.
research-provenance
Query provenance chains and artifact relationships
research-quality
Assess source quality using GRADE methodology
Didn't find tool you were looking for?