agentleFS
mikeyobrienmikeyobrien/ralph-orchestrator/skills/ralph-hats/SKILL.md

ralph-hats

Skill3.2k starsChanged 9 months agoMITView on GitHub

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.

Trending

Quiet since September.about the whole repository

Jan 2026: 16 mentionsFeb 2026: 10 mentionsMar 2026: 4 mentionsApr 2026: 4 mentionsMay 2026: 4 mentionsJun 2026: 5 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the mikeyobrien/ralph-orchestrator repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about mikeyobrien/ralph-orchestrator

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

40 more on GitHub

On Hacker News · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 5 are distinctive, and 8 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.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 8
  2. Distinctive:

    If a hats file already exists, read it first and explain the current topology before proposing changes.

    line 27
  3. Very specific:

    If creating a new workflow, write it to .ralph/hats/<name>.yml.

    line 29
  4. Distinctive:

    Keep the hats file focused on hats-only data.

    line 30
  5. Very specific:

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

    line 35
  6. Very specific:

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

    line 37
  7. Very specific:

    Only use hats-file top-level keys that Ralph accepts today: name, description, events, event_loop, hats.

    line 42
  8. Very specific:

    Never use task.start or task.resume as hat triggers.

    line 46
  9. Very specific:

    Keep description populated on every hat.

    line 50
  10. Very specific:

    Prefer events: metadata when custom event names would otherwise be opaque.

    line 51
  11. Very specific:

    Do not write user workflows into presets/ from this skill.

    line 52
  12. Distinctive:

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

    line 56
  13. Distinctive:

    When only inspecting, produce a concise topology summary, the main risks, and concrete improvement options.

    line 58

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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.
  2. If creating a new workflow, write it to .ralph/hats/<name>.yml.
  3. Keep the hats file focused on hats-only data. Leave runtime limits and other core config in the main config file.
  4. Validate with ralph hats validate.
  5. Visualize topology with ralph hats graph when the event flow is not trivial.
  6. Use ralph hats show <hat> when you need to inspect one hat's effective configuration.
  7. 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 starting_event and completion_promise.
  • 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.