Skip to content
open tomato/ rafa
GitHub
rafa pages
  1. rafa
  2. Command map

Command map

Every rafa subject and standalone command at 0.47.0, linked to its page, with which ones start Claude Code sessions that spend usage.

rafa's commands take the form rafa <subject> <action>, plus a few commands with no subject. Each subject and command has its own page with every action and flag; this page is the map. Commands that chain several of these, such as rafa next and a stretch, are workflows: see Subjects and workflows.

rafa --help                  # every subject and command
rafa loop --help             # the actions of one subject
rafa loop start --help       # one action's arguments, flags and examples
rafa describe --output=json  # the same roster, for a script or an agent

A 🪙 marks a subject or command that starts Claude Code sessions, which spend your Claude usage. Within a subject, only some actions spend; the action's help says which.

Subjects

SubjectDoesSpends
plancreate plans from specs; list, show and validate them; read their risk and needs🪙 create
loopstart a plan; stop, pause, resume, show and list its sessions🪙 start
issuethe tracker: list, show, create, edit, comment on and move issues; mark one ready, unblock it, check its referencesnothing
prthe pull request of a branch: show it, open, list, wait on, merge and triage it🪙 triage --resolve
effortcollect session and commit rows; report per plan; read and repair the store; merge or import another device's storenothing
modulelist the configured modules; run an action a module providesnothing
agentcopy an agent definition into the project; list what a session sees🪙 search
skillcheck a skills directory; list each tier; demote and backfill it🪙 backfill --propose, search
instinctcheck an instincts directory; list, show, flag and promote its recordsnothing
releaseread the release state; settle waiting fragments into a version; tag; publish; write the ladder's workflows; write a fragment by handnothing
boardlist the boards with their owner and epic count; sync the GitHub projectnothing
epicshow one epic's issues; create, defer, promote, move into, close through the gate, or cancel an epic🪙 close
claimgive up, hand over, accept or take over a claim on an issuenothing
updatebring this project to the installed rafa (current); the other updates are in developmentnothing
configshow every setting and where it came from; set one key, keeping every commentnothing
ciread the newest CI run on a branch: its state, its commit and the cases it failednothing
stretchopen a stretch: an integration branch with operator sessions (alpha)🪙
buglist cause codes, rank the closest to a description, recheck whether a bug still reproducesnothing
docswrite a plan repairing the open lines of the stale-docs issuesnothing

Commands with no subject

CommandDoesSpends
rafa initset up a project: its root, .rafa/config.yaml, the folders and the .gitignore block; offers the GitHub boardnothing
rafa doctorrun every check loop start runs before its first session; --deep reads what a session can reachnothing
rafa statuseverything in one snapshot: branch, loops, pull request, board, claims, housekeepingnothing
rafa nexttake you to the next step: wait, triage, merge, settle, plan, start; it asks before each🪙 when the step does
rafa roadmapthe roadmap as a tablenothing
rafa switchmove this checkout to a board or an epic, or back with -nothing
rafa cleanuplist merged, stale and unpushed branches and idle worktrees, and remove the ones you ticknothing
rafa self-updatebuild and install rafa from a checkout of its repositorynothing
rafa describethe command roster as datanothing

There is no rafa hub subject: the hub is a separate server, documented under rafa-hub, and a project reaches it through the effort.sync and hub.* settings.

Global flags

FlagDoes
--output=jsonevents as NDJSON (one JSON object per line) instead of text (also RAFA_OUTPUT=json)
--output=eventsone rafa· line per loop event (also RAFA_OUTPUT=events)
-v, --verbosemore output, up to three times, or --verbose=N
--versionprint rafa <version> and exit

Most commands run inside a rafa project: the nearest folder at or above where you are that holds rafa.config.ts, rafa.config.mjs or .rafa/config.yaml. Outside one they print the rafa init hint and exit 1. init, the help and describe run anywhere, and so do a few others, such as rafa skill check.