/agent-loop:ralph-reflectfrom agent-loop
Manages agent loop reflections and episodic memory stored in .aiwg/ralph/reflections/. Supports show, patterns, and clear subcommands for reviewing and archiving reflection history.
Ships in agent-loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
View, search, and manage reflections from agent loop iterations.
Manage the Reflexion episodic memory stored in .aiwg/ralph/reflections/:
Display reflections for a specific loop or the most recent loop.
.aiwg/ralph/reflections/loops/Show recurring patterns across all loops.
.aiwg/ralph/reflections/patterns/Archive and clear reflection history.
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 IDThis skill's persistence flows through resolveStorage('reflections'). On the default fs backend reflections live at .aiwg/reflections/. To redirect into Obsidian, Logseq, Fortemi, or another backend without changing this skill, configure roots.reflections or backends.reflections in .aiwg/storage.config (#934).
When this skill needs to read/write reflections from a Bash step, prefer the storage-routed CLI:
aiwg reflections list --prefix sessions/
aiwg reflections get sessions/2026-04-28.md
echo "# reflection" | aiwg reflections put sessions/2026-04-28.md
echo '{"event":"reflect","summary":"..."}' | aiwg reflections append-log sessions/log.jsonl
The legacy direct-fs paths continue to work on the default fs backend — byte-identical to what the adapter writes — but only the adapter route honors storage.config redirection.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
reflection-memory, agent-loops, episodic-memory, aiwg, ralph, memory-management
npx claudepluginhub jmagly/aiwg --plugin agent-loop18 skills in this plugin
/agent-loopDetect requests for iterative autonomous agent loops and route to the appropriate loop executor/agent-loop-extCrash-resilient external agent loop with state persistence and CI/CD integration/auto-test-executionAutomatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern/cross-task-learnerEnable agent loops to learn from similar past tasks and share patterns across loops/debug-memoryQuery and manage the executable feedback debug memory/execute-feedbackExecute tests on generated code and iterate until passingOther plugins' skills for the same job