create, list, show <id>, update <id>, delete <id>. Once you know how brand works you know how persona, ref, template, batch, asset, workspace, profile, and config work. This page documents the contract; the auto-gen reference covers per-resource flags.
The shape
delete removes both the on-disk file and the registry entry.
Worked example: brand
ralphy <resource> --help for the create-time flag set; the auto-gen reference has the full surface.
Resource map
| Resource | Storage | Purpose |
|---|---|---|
brand | workspace/.ralph/brands/<id>.json | Voice, do/don’t, lockup, palette |
persona | workspace/.ralph/personas/<id>.json | Character archetype + signature delivery |
ref | workspace/.ralph/refs/<id>.json + workspace/references/<slug>/ | Source clips and analysis artifacts |
template | templates/<id>/ (repo) and workspace/templates/<id>/ (local) | Vibe-reference or vibe-style blueprints |
batch | workspace/batches/<id>/ | N projects from one template, see Working: batches |
asset | workspace/.ralph/assets/<id>.json | Tracked file references (uploaded refs, lookups) |
workspace | n/a (operates on dirs) | Workspace-level utilities |
profile | profiles/<nick>/ | Shareable workspace dumps |
config | workspace/.ralph/config.json | Key/value settings — see Env + config |
ralphy ref pull/frames/analyze/blueprint, ralphy template use/suggest.
Filters on list
Everylist returns the full set by default and accepts targeted filters. Common ones:
jq for arbitrary post-filtering:
Create vs. update
create requires a --name and rejects on collision (E_ALREADY_EXISTS). update requires the id and is additive — fields you don’t pass stay unchanged. There’s no “patch” / “replace” distinction; the verb merges into the existing JSON.
Delete is registry-aware
delete <id> removes the on-disk JSON and the registry entry together. Per AGENTS.md invariant #13, this is the only blessed deletion path. Don’t rm files directly — you’ll desync the registry and the next list will lie.
What’s not in CRUD
generate— model calls. Not a resource verb; see Generation verbs.render— the HyperFrames pipeline. See Rendering verbs.doctor/setup/status— env-level utilities. See Setup and doctor.assets(plural) — pulls from the companion repo, not local CRUD. See Assets.
Related
- Project verbs —
projectis the most-used CRUD resource - Templates —
templateCRUD plus the loader semantics - Concepts: workspace — where each resource physically lives
- Per-resource reference: /reference/cli/brand, /reference/cli/persona, /reference/cli/ref, /reference/cli/template, /reference/cli/batch, /reference/cli/asset, /reference/cli/workspace, /reference/cli/profile, /reference/cli/config