Pages
Models registry
The
MODELS.md format. Per-section conventions, the per-model matrix tables, lifecycle, and how to add a new entry.Skill format
SKILL.md frontmatter contract, body sections, the 1536-char description cap, and the ralphy vs ralphy-dev namespace split.Template format
template.yaml Zod schema, the five segment-persona categories, vibe-reference vs vibe-style, slug rules, and version gating.Playbook format
docs/playbooks/<role>.md structure, sub-doc convention, routing into AGENTS.md, and the agents-md lint.Memory schemas
The three JSONL logs under
.ralphy/workspaces/<ws>/projects/<id>/logs/. Append-only contract, field-by-field schema, and read patterns.Asset manifest
asset-manifest.json slot pointer table, slot-id convention, and how the auto-versioning archive interacts with manifest pointers.How the specs interact
The Ralphy stack has one routing surface (AGENTS.md) and four format contracts that hang off it. Read them as a chain:
- A request comes in.
AGENTS.mdroutes it to a playbook (docs/playbooks/<role>.md). See Playbook format. - The playbook may invoke a skill. Skills live under
.agents/skills/<name>/SKILL.mdand are slash-invocable. See Skill format. - The skill or playbook picks a template. Templates live in the hosted content library (and your
.ralphy/workspaces/<ws>/templates/) and declare atemplate.yaml. See Template format. - The template names model IDs. All available models are in
MODELS.md. See Models registry. - Every generation writes to project memory. Append-only logs land in
.ralphy/workspaces/<ws>/projects/<id>/logs/; per-slot pointers land inasset-manifest.json. See Memory schemas and Asset manifest.
scripts/lint-*.ts are the contract between layers — they’re the first thing to read when adding a field.
Working on the specs themselves
The source of truth for each spec lives in the repo:
When a doc page and the source disagree, the source wins. Open an issue or PR.
Related
- Concepts: templates — what a template is, before this page tells you the wire format.
- Concepts: playbooks & skills — the routing model, narrated.
- Templates gallery — every shipped template, browsable.
- Skills gallery — every built-in skill with trigger phrases.