/cortex:ralph-stopfrom cortex
Stops an autonomous Ralph Wiggum loop, removes loop state, and displays a session summary with iteration count, duration, git log, and next-step suggestions.
Ships in cortex. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
You are stopping a Ralph Wiggum autonomous loop.
Read the loop file:
cat ~/.claude/knowledge/.ralph-active 2>/dev/null
If no loop file exists, report: "No active Ralph loop found."
Extract iteration count, start time, and task from the loop file.
rm -f ~/.claude/knowledge/.ralph-active
rm -f ~/.claude/knowledge/.ralph-search-cache
If the loop was started with --scope, deactivate the freeze:
/unfreeze
Show:
[Ralph] Loop stopped after {iteration} iterations.
Task: {prompt}
Started: {started_at}
Duration: {calculated_duration}
Commits made during loop:
{git log --oneline from start time}
Recommend:
- Review accumulated commits: git log --oneline
- Push when ready: git push
- Capture learnings: /learn
git log --oneline --since="STARTED_AT"
git diff --stat HEAD~{iteration_count} 2>/dev/null || git diff --stat
/learn if 3+ iterations completed (substantial work)7-day visitors to each command page
15 commands in this plugin
/auto-researchStructured experiment runner — define hypothesis, metric, and variations, then run automated eval loops with brainiac tracking/brainiac/brainiac — Query and Manage the Knowledge GraphDirect interface to the Brainiac knowledge graph CLI/cortex-dashboardOpen the architecture graphOpen the Cortex knowledge graph dashboard in the browser/cortex-graphCortex GraphDump the full Cortex knowledge graph topology for inspection/cortex-recommendCortex RecommendGenerate actionable optimization recommendations from the knowledge graph/cortex-snapshotCortex SnapshotSave a timestamped snapshot of the current knowledge graph stateGenerated from the plugin's indexed repository (peaky8linders/claude-cortex) — no native marketplace selected
npx claudepluginhub p/peaky8linders-cortexOther plugins' commands for the same job