All skills
Skillintermediate
Ralph Hat Collections
This directory contains the canonical built-in hat collections Ralph still ships and supports.
Claude Code Knowledge Pack7/10/2026
Overview
Ralph Hat Collections
This directory contains the canonical built-in hat collections Ralph still ships and supports.
Built-ins are embedded into the CLI from these files and exposed through ralph init --list-presets.
Supported Builtins
| Collection | Source | Best for |
|---|---|---|
autoresearch | presets/autoresearch.yml | Autonomous experiment loop for any measurable improvement |
code-assist | presets/code-assist.yml | Default implementation workflow |
debug | presets/debug.yml | Investigation and fix verification |
research | presets/research.yml | Read-only exploration and synthesis |
review | presets/review.yml | Adversarial code review |
pdd-to-code-assist | presets/pdd-to-code-assist.yml | Advanced end-to-end idea-to-code workflow |
Internal Presets
These remain loadable for Ralph internals or testing, but are intentionally hidden from normal builtin listings:
hatless-baselinemerge-loop
Product Positioning
code-assistis the recommended default for implementation work.pdd-to-code-assistis intentionally kept as an advanced, fun example. It is slower, more expensive, and less predictable thancode-assist.- Other historical presets are now treated as documentation examples instead of supported builtins.
Quick Start
ralph init --backend claude
ralph init --list-presets
ralph run -c ralph.yml -H builtin:autoresearch -p "Improve test coverage in src/core/"
ralph run -c ralph.yml -H builtin:code-assist -p "Add OAuth login"
ralph run -c ralph.yml -H builtin:debug -p "Investigate intermittent timeout"
ralph run -c ralph.yml -H builtin:research -p "Map auth architecture"
ralph run -c ralph.yml -H builtin:review -p "Review changes in src/api/"
ralph run -c ralph.yml -H builtin:pdd-to-code-assist -p "Build a new import pipeline"
Examples Instead of Builtins
Example workflow patterns now live in the docs rather than as shipped preset files. See:
docs/examples/presets/COLLECTION.md
Source Of Truth
- Canonical builtins:
presets/*.yml - Builtin index:
presets/index.json - Embedded CLI mirror:
crates/ralph-cli/presets/*.yml - Sync script:
./scripts/sync-embedded-files.sh