mikeyobrien/ralph-orchestrator

ralph-hats

Create, inspect, validate, explain, and improve Ralph hat collections. Use this skill whenever the user asks to make or refine a `.ralph/hats/*.yml` workflow, debug hat routing, explain event topology, or tune a multi-hat Ralph run.

First seen Mar 10, 2026

Installation

$ npx skills add mikeyobrien/ralph-orchestrator --skill ralph-hats

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from mikeyobrien/ralph-orchestrator · top by installs.

npx skills add mikeyobrien/ralph-orchestrator

Browse all from mikeyobrien/ralph-orchestrator

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3.1K
License LICENSE
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,761 B
  • docs SUMMARY.md 250 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 58 installs

SKILL.md

Ralph Hats

Use this skill to operate the full Ralph hat lifecycle for user-authored hat collections.

Use This Skill For

  • Creating a new hat collection in .ralph/hats/
  • Inspecting an existing hat collection and explaining its topology
  • Validating trigger routing, event flow, and completion behavior
  • Improving or refactoring hats for clearer roles and safer routing
  • Recommending better orchestration patterns for a Ralph workflow

Core Assumptions

  • Core runtime config already lives in ralph.yml or another -c source.
  • User-authored hats are stored separately and passed with -H.
  • This skill operates public hat collections, not Ralph built-in presets.

Workflow

  1. If a hats file already exists, read it first and explain the current

topology before proposing changes.

  1. If creating a new workflow, write it to .ralph/hats/<name>.yml.
  2. Keep the hats file focused on hats-only data. Leave runtime limits and other

core config in the main config file.

  1. Validate with ralph hats validate.
  2. Visualize topology with ralph hats graph when the event flow is not

trivial.

  1. Use ralph hats show <hat> when you need to inspect one hat's effective

configuration.

  1. When the user wants stronger confidence, run a targeted `ralph run -c ... -H

... -p "..."` exercise or provide the exact test command.

Guardrails

  • Only use hats-file top-level keys that Ralph accepts today:

name, description, events, event_loop, hats.

  • In a hats file, event_loop is only for hats overlay keys such as

startingevent and completionpromise.

  • Never use task.start or task.resume as hat triggers. Ralph reserves those

for coordination. Use semantic delegated events like work.start, review.start, or research.start.

  • Each trigger must route to exactly one hat.
  • Keep description populated on every hat.
  • Prefer events: metadata when custom event names would otherwise be opaque.
  • Do not write user workflows into presets/ from this skill.

Output Expectations

  • When editing or creating hats, produce the file changes and the validation

result.

  • When only inspecting, produce a concise topology summary, the main risks, and

concrete improvement options.

Read These References When Needed

  • For current hats schema and supported fields: references/schema.md
  • For command recipes and validation workflow: references/commands.md
  • For pattern and file examples: references/examples.md