evaluate-presets
Skill3.2k starsChanged 9 months agoMITView on GitHub
Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.
- Installs packages
Trending
Quiet since September.about the whole repository
Who's talking about mikeyobrien/ralph-orchestrator
- A Hacker News story“Show HN: Yet another tool to wrap agents in a loop”Hacker News · Dec 17, 2025 · 6 points
- anthropics/claude-code“Feature Request: Add `clearContext` field to Stop hook output”GitHub · Jan 7, 2026 · 3 reactions
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · May 3, 2026 · 2 likes
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · Mar 26, 2026 · 2 likes
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · Feb 2, 2026 · 1 likes
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub, Bluesky and Hacker News (49 times).
On GitHub · 45
- Jan 7, 2026Feature Request: Add `clearContext` field to Stop hook output — anthropics/claude-code3 reactions · 5 comments
- Jan 4, 2026Add Ralph Wiggum Plugin Support — langgenius/dify1 reaction
- Sep 30, 2026agent-skills.github.mikeyobrien.ralph-orchestrator: init at 2.10.1 — sudosubin/agents.nix0 reactions
- Jul 23, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions
- Jul 16, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
40 more on GitHub
- Jul 9, 2026Bump the dev-dependencies group across 1 directory with 5 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jul 2, 2026Bump the dev-dependencies group with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 23, 2026ralph-orchestrator 2.10.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 22, 2026ralph-orchestrator 2.10.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 18, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 11, 2026Bump the dev-dependencies group across 1 directory with 9 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 4, 2026Bump the dev-dependencies group across 1 directory with 6 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 28, 2026Bump the dev-dependencies group across 1 directory with 10 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 21, 2026Bump the dev-dependencies group across 1 directory with 6 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 8, 2026ralph-orchestrator 2.9.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 30, 2026Bump the dev-dependencies group with 9 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Apr 18, 2026Audit candidate: mikeyobrien/ralph-orchestrator — xiaolai/nlpm0 reactions · 4 comments
- Apr 10, 2026ralph-orchestrator 2.9.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 4, 2026ralph-orchestrator 2.9.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 16, 2026ralph-orchestrator 2.8.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 10, 2026ralph-orchestrator 2.8.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 6, 2026ralph-orchestrator 2.7.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 28, 20262026-02-28 — marcindulak/learning-api-styles-gen-ai-experiments0 reactions
- Feb 25, 2026Add ralph skill with proper attribution — ZealousEar/claude-skills0 reactions
- Feb 25, 2026ralph-orchestrator 2.6.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 20, 2026Ralph Loop Orchestrator — MateuszNaKodach/SelfImprovement0 reactions
- Feb 14, 2026ralph-orchestrator 2.5.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 8, 2026ralph-orchestrator 2.5.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 5, 2026ralph-orchestrator 2.4.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 2, 2026ralph-orchestrator 2.4.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 2, 2026ralph-orchestrator 2.4.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 30, 2026ralph-orchestrator 2.4.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 29, 2026ralph-orchestrator 2.3.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 29, 2026ralph-orchestrator 2.3.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 26, 2026ralph-orchestrator 2.2.5 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 25, 2026ralph-orchestrator 2.2.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 24, 2026ralph-orchestrator 2.2.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 22, 2026ralph-orchestrator 2.2.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 22, 2026ralph-orchestrator 2.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 21, 2026ralph-orchestrator 2.1.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 20, 2026ralph-orchestrator 2.1.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 20, 2026ralph-orchestrator 2.1.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 19, 2026ralph-orchestrator 2.0.10 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 18, 2026ralph-orchestrator 2.0.9 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 10, 2026Add resource: ralph-orchestrator — hesreallyhim/awesome-claude-code0 reactions
On Bluesky · 3
- May 3, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★2797… — @rusttrending.bsky.social2 likes and reposts
- Mar 26, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★2371… — @rusttrending.bsky.social2 likes and reposts · 1 reply
- Feb 2, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★1590… — @rusttrending.bsky.social1 likes and repost
On Hacker News · 1
- Dec 17, 2025Show HN: Yet another tool to wrap agents in a loop6 points
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-assistSkill
- code-task-generatorSkill
- find-code-tasksSkill
- pddSkill
- playwriterSkill
- pr-demoSkill
- ralph-toolsSkill
- release-bumpSkill
- review-prSkill
- test-driven-developmentSkill
- tmux-terminalSkill
- tui-debug-in-paneSkill
- tui-validateSkill
- ralph-docsSkill
- ralph-hatsSkill
- ralph-loopSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
After modifying hat routing logic
- Distinctive: line 39
IMPORTANT: When invoking these scripts via the Bash tool, use these settings:
- Very specific: line 41
Single preset evaluation: Use timeout: 600000 (10 minutes max) and run_in_background: true
- Very specific: line 42
All presets evaluation: Use timeout: 600000 (10 minutes max) and run_in_background: true
- Very specific: line 54
After launching, use TaskOutput with block: false to check status without waiting for completion.
- Distinctive: line 181
If hat routing is broken:
- Distinctive: line 197
After evaluation, delegate fixes to subagents:
- Very specific: line 201
Read .eval/results/latest/SUMMARY.md and identify:
- Distinctive: line 233
Cargo: Must be able to build Ralph
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Evaluate Presets
Overview
Systematically test all hat collection presets using shell scripts. Direct CLI invocation—no meta-orchestration complexity.
When to Use
- Testing preset configurations after changes
- Auditing the preset library for quality
- Validating new presets work correctly
- After modifying hat routing logic
Quick Start
Evaluate a single preset:
./tools/evaluate-preset.sh tdd-red-green claudeEvaluate all presets:
./tools/evaluate-all-presets.sh claudeArguments:
- First arg: preset name (without
.ymlextension) - Second arg: backend (
claudeorkiro, defaults toclaude)
Bash Tool Configuration
IMPORTANT: When invoking these scripts via the Bash tool, use these settings:
- Single preset evaluation: Use
timeout: 600000(10 minutes max) andrun_in_background: true - All presets evaluation: Use
timeout: 600000(10 minutes max) andrun_in_background: true
Since preset evaluations can run for hours (especially the full suite), always run in background mode and use the TaskOutput tool to check progress periodically.
Example invocation pattern:
Bash tool with:
command: "./tools/evaluate-preset.sh tdd-red-green claude"
timeout: 600000
run_in_background: trueAfter launching, use TaskOutput with block: false to check status without waiting for completion.
What the Scripts Do
evaluate-preset.sh
- Loads test task from
tools/preset-test-tasks.yml(ifyqavailable) - Creates merged config with evaluation settings
- Runs Ralph with
--record-sessionfor metrics capture - Captures output logs, exit codes, and timing
- Extracts metrics: iterations, hats activated, events published
Output structure:
.eval/
├── logs/<preset>/<timestamp>/
│ ├── output.log # Full stdout/stderr
│ ├── session.jsonl # Recorded session
│ ├── metrics.json # Extracted metrics
│ ├── environment.json # Runtime environment
│ └── merged-config.yml # Config used
└── logs/<preset>/latest -> <timestamp>evaluate-all-presets.sh
Runs all 12 presets sequentially and generates a summary:
.eval/results/<suite-id>/
├── SUMMARY.md # Markdown report
├── <preset>.json # Per-preset metrics
└── latest -> <suite-id>Presets Under Evaluation
| Preset | Test Task |
tdd-red-green | Add is_palindrome() function |
adversarial-review | Review user input handler for security |
socratic-learning | Understand HatRegistry |
spec-driven | Specify and implement StringUtils::truncate() |
mob-programming | Implement a Stack data structure |
scientific-method | Debug failing mock test assertion |
code-archaeology | Understand history of config.rs |
performance-optimization | Profile hat matching |
api-design | Design a Cache trait |
documentation-first | Document RateLimiter |
incident-response | Respond to "tests failing in CI" |
migration-safety | Plan v1 to v2 config migration |
Interpreting Results
Exit codes from evaluate-preset.sh:
0— Success (LOOP_COMPLETE reached)124— Timeout (preset hung or took too long)- Other — Failure (check
output.log)
Metrics in metrics.json:
iterations— How many event loop cycleshats_activated— Which hats were triggeredevents_published— Total events emittedcompleted— Whether completion promise was reached
Hat Routing Performance
Critical: Validate that hats get fresh context per Tenet #1 ("Fresh Context Is Reliability").
What Good Looks Like
Each hat should execute in its own iteration:
Iter 1: Ralph → publishes starting event → STOPS
Iter 2: Hat A → does work → publishes next event → STOPS
Iter 3: Hat B → does work → publishes next event → STOPS
Iter 4: Hat C → does work → LOOP_COMPLETERed Flags (Same-Iteration Hat Switching)
BAD: Multiple hat personas in one iteration:
Iter 2: Ralph does Blue Team + Red Team + Fixer work
^^^ All in one bloated context!How to Check
1. Count iterations vs events in session.jsonl:
# Count iterations
grep -c "_meta.loop_start\|ITERATION" .eval/logs/<preset>/latest/output.log
# Count events published
grep -c "bus.publish" .eval/logs/<preset>/latest/session.jsonlExpected: iterations ≈ events published (one event per iteration) Bad sign: 2-3 iterations but 5+ events (all work in single iteration)
2. Check for same-iteration hat switching in output.log:
grep -E "ITERATION|Now I need to perform|Let me put on|I'll switch to" \
.eval/logs/<preset>/latest/output.logRed flag: Hat-switching phrases WITHOUT an ITERATION separator between them.
3. Check event timestamps in session.jsonl:
cat .eval/logs/<preset>/latest/session.jsonl | jq -r '.ts'Red flag: Multiple events with identical timestamps (published in same iteration).
Routing Performance Triage
| Pattern | Diagnosis | Action |
| iterations ≈ events | ✅ Good | Hat routing working |
| iterations << events | ⚠️ Same-iteration switching | Check prompt has STOP instruction |
| iterations >> events | ⚠️ Recovery loops | Agent not publishing required events |
| 0 events | ❌ Broken | Events not being read from JSONL |
Root Cause Checklist
If hat routing is broken:
- Check workflow prompt in
hatless_ralph.rs:- Does it say "CRITICAL: STOP after publishing"?
- Is the DELEGATE section clear about yielding control?
- Check hat instructions propagation:
- Does
HatInfoincludeinstructionsfield? - Are instructions rendered in the
## HATSsection?
- Does
- Check events context:
- Is
build_prompt(context)using the context parameter? - Does prompt include
## PENDING EVENTSsection?
- Is
Autonomous Fix Workflow
After evaluation, delegate fixes to subagents:
Step 1: Triage Results
Read .eval/results/latest/SUMMARY.md and identify:
❌ FAIL→ Create code tasks for fixes⏱️ TIMEOUT→ Investigate infinite loops⚠️ PARTIAL→ Check for edge cases
Step 2: Dispatch Task Creation
For each issue, spawn a Task agent:
"Use /code-task-generator to create a task for fixing: [issue from evaluation]
Output to: .ralph/tasks/preset-fixes/"Step 3: Dispatch Implementation
For each created task:
"Use /code-assist to implement: .ralph/tasks/preset-fixes/[task-file].code-task.md
Mode: auto"Step 4: Re-evaluate
./tools/evaluate-preset.sh <fixed-preset> claudePrerequisites
- yq (optional): For loading test tasks from YAML. Install:
brew install yq - Cargo: Must be able to build Ralph
Related Files
tools/evaluate-preset.sh— Single preset evaluationtools/evaluate-all-presets.sh— Full suite evaluationtools/preset-test-tasks.yml— Test task definitionstools/preset-evaluation-findings.md— Manual findings docpresets/— The preset collection being evaluated
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

