Skip to content
Guides/Concept

AGENTS.md vs SKILL.md vs RALPH.md

Short answer

AGENTS.md holds durable project rules and validation commands. SKILL.md packages a reusable workflow with triggers and steps. RALPH.md is an experimental loop definition for Ralphify-style runtimes. They are complementary, not competing.

Why it matters

Each answers a different question: AGENTS.md = “how this project works,” SKILL.md = “how to do this task,” RALPH.md = “how to run this loop.” Picking the right one keeps instructions where agents will actually read them.

AGENTS.md vs SKILL.md vs RALPH.md

AGENTS.md vs SKILL.md vs RALPH.md
AspectAGENTS.mdSKILL.mdRALPH.md
PurposeDurable project rulesReusable workflow packageLoop definition
ScopeWhole projectOne task / workflowOne loop run
AnswersHow this project worksHow to do this taskHow to run this loop
Key partsCommands, forbidden actions, doneTriggers, steps, validationGoal, commands, boundaries, stop
MaturityOfficial (Codex)Official (Codex)Experimental
Generator hereAGENTS.md GeneratorSKILL.md GeneratorGoal Generator (RALPH tab)
6 of 6 rows

How to choose

  1. 01Stable rules for the whole project?AGENTS.md
  2. 02A repeatable workflow you reuse?SKILL.md
  3. 03An experimental loop for a Ralphify-style runtime?RALPH.md (experimental)

Practical checklist

  • Put stable project rules and commands in AGENTS.md
  • Package repeatable workflows as SKILL.md
  • Keep RALPH.md experimental and runtime-specific
  • Avoid duplicating the same rules across all three
  • Keep each short enough for an agent to read

Example

A repo might have one AGENTS.md (build/test/lint + forbidden actions), several SKILL.md files (SEO refresh, CI fix), and an experimental RALPH.md exported from the Goal Generator for a local Ralphify run.

Common failure modes

Stale, bloated AGENTS.md
Vague SKILL.md triggers firing at the wrong time
Treating RALPH.md as an industry standard
The same rules copied into all three

Related templates

FAQ

Yes. A repo often has one AGENTS.md (project rules), several SKILL.md files (workflows), and an optional experimental RALPH.md for a specific runtime.

Sources & further reading