code-assist
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical…
Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.
Claude Code
$ npx -y skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets --agent claude-code
Codex
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a codex -y
Cursor
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a cursor -y
Gemini CLI
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a gemini-cli -y
GitHub Copilot
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a github-copilot -y
OpenCode
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a opencode -y
Windsurf
$ npx skills add mikeyobrien/ralph-orchestrator --skill evaluate-presets -a windsurf -y
name: evaluate-presets description: "Evaluate and audit Ralph's built-in presets: run the evaluation scripts, check hat routing, review a preset's design. Use after changing a preset, hat routing, or the core prompt." metadata: internal: true
Two jobs: run the evaluation scripts against the builtin presets, and audit a preset's design. For launching, monitoring, and measuring a single loop, or comparing two presets on one task, follow `skills/ralph-loop/references/headless-runs.md`.
./tools/evaluate-preset.sh <preset> [claude|kiro] # one preset (default backend: claude) ./tools/evaluate-all-presets.sh claude # every preset in its PRESETS list
**Done when** every preset in the run has an exit code and a `metrics.json`, and each failure or timeout has a cause written next to it.
Each hat should run in its own iteration with fresh context: one hat, one published event, then stop.
| Pattern in `session.jsonl` / `output.log` | Meaning | |---|---| | iterations ≈ events published | Routing works | | iterations well below events | Several hats' work done in one iteration | | iterations well above events | Hats ending without publishing; `default_publishes` or recovery is firing | | 0 events | Events are not being read from the JSONL file |
grep -c "ITERATION" .eval/logs/<preset>/latest/output.log grep -c "bus.publish" .eval/logs/<preset>/latest/session.jsonl jq -r '.ts' .eval/logs/<preset>/latest/session.jsonl # identical stamps = same-iteration publishes
When routing is broken, look first at the prompt text in `crates/ralph-core/src/hatless_ralph.rs`: the Event Publishing Guide and the EVENT WRITING section tell a hat to publish one event and stop. Then check that the active hat's instructions and the `## PENDING EVENTS` section reach the prompt.
Apply every check in `skills/ralph-hats/references/design.md` to every hat in the preset. Built-in presets add two of their own:
**Done when** every hat has passed every check, or each miss is written down with its reason.
For each failure, create a code task (`/code-task-generator`, output to `.ralph/tasks/preset-fixes/`), implement it (`/code-assist`), then re-run `./tools/evaluate-preset.sh <preset>`.
A hat-based orchestration framework that keeps AI agents in a loop until the task is done. "Me fail English? That's unpossible!" - Ralph Wiggum
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical…
Generates structured .code-task.md files from descriptions or PDD implementation plans. Auto-detects input type, creates properly…
Lists all code tasks in the repository with their status, dates, and metadata. Useful for getting an overview of pending work or…
Transforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative…
Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.
Use when creating animated demos (GIFs) for pull requests or documentation. Covers terminal recording with asciinema and…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration