CLI command index
Generated page
scripts/generate-cli-reference.py writes this page from the CLI's command tree, and a test fails when the two differ. It describes the development branch: commands marked Backend need Raticode 0.5.3 or later. Run Raticode <command> --help to see what your installed version offers.
Each command is labelled with its kind:
- Backend commands send requests to a running backend. See Headless CLI, Rem and tickets from the CLI and talking to a running backend.
- Offline commands work on files and local stores without a backend.
- Legacy commands work only with older TOML workflows. For Rattish workflows use
Raticode rattish.
The CLI reference explains how the commands fit together.
Top-level commands
Raticode api
Backend: needs a running Raticode backend. Call any endpoint of the local Raticode backend, like gh api.
METHOD(required): GET, POST, PUT, PATCH or DELETE.PATH(required): API path such as /rem/kanban; the /api prefix is optional.--data/-dSTR: JSON body, @file, or @- to read stdin.--raw-field/-fSTR(repeatable): key=value string. Query parameter for GET and DELETE, else a body field. Dots nest: params.taskId=t1.--field/-FSTR(repeatable): key=value parsed as JSON when it is valid JSON (true, 3, null, [..]); @file reads the value from a file.--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--expected-revisionSTR: Fail with exit 4 instead of overwriting if the record changed since this revision. Sent as expected_revision on /rem/ paths and expectedRevision elsewhere (inside params for organizations); a number when it is all digits.--follow: Stream an NDJSON endpoint, or poll a GET that returns an events list, writing one JSON object per line.--intervalFLOAT RANGE: Seconds between polls.--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--raw: Print the response body as-is instead of the envelope.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.--non-interactive: Never prompt. Also set by RATICODE_NON_INTERACTIVE=1, CI=true or no terminal.
Raticode completion
Offline: works without a backend. Print the shell completion script for Raticode.
SHELL(required): bash, zsh, fish or powershell.
Raticode doctor
Offline: works without a backend. Inspect local Raticode readiness without making network calls.
--workflow/-wSTR: Workflow ID, file stem, or TOML path to include in diagnostics.--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode licenses
Offline: works without a backend. Export the third-party notices bundled with this build.
--outputPATH(required): New directory for licenses and source archives
Raticode schema
Offline: works without a backend. Print where the machine-readable Rattish language contracts are installed.
--formatSTR: Output format: json.--legacy-toml: Print the legacy TOML authoring contract instead of the Rattish pointers.--operationSTR: Legacy TOML: the contract for one operation type.--capabilitySTR: Legacy TOML: one model capability schema.--commandSTR: Legacy TOML: structured help for a mutation command, e.g. workflow.add-node.
Raticode serve
Offline: works without a backend. Run the Raticode backend API. Add --headless for servers and containers.
--hostSTR: API bind host. Headless mode accepts only loopback addresses.--portINT: API bind port. Use 0 to let the OS choose a free port.--data-dirPATH: Raticode app data directory for global settings, schedules, registries, and app state. Defaults to GOFER_DATA_DIR or the standard data folder.--headless: Run with no desktop window: listen on loopback only, write the owner token and endpoint to owner-only files in <data>/headless/, and load Rem's settings from a file.--token-filePATH: Headless: read the owner token from this owner-only file (mode 600) instead.--rem-settingsPATH: Headless: Rem settings JSON. Defaults to <data>/headless/rem-settings.json.
Raticode wait
Backend: needs a running Raticode backend. Poll a GET endpoint until a field reaches a terminal state.
PATH(required): GET path to poll, such as /rem/runs/RUN_ID.--fieldSTR: Dotted path of the state in the response, such as run.state.--successSTR(repeatable): State(s) that mean done (comma-separated or repeated).--failureSTR(repeatable): State(s) that mean failed: exit 1.--needs-userSTR(repeatable): State(s) that wait on you: exit 7.--raw-field/-fSTR(repeatable): key=value query parameter.--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--intervalFLOAT RANGE: Seconds between polls.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode agent
[Legacy TOML] Manage and run agents in TOML workflows. Rattish declares agents as nodes.
Raticode agent create
Legacy: older TOML workflows. Create a new agent and save it to the data directory.
--nameSTR: Human-readable agent name--subscriptionSTR: Subscription (claude_code, codex, cursor, copilot, opencode, antigravity, grok, openai_api, anthropic_api)--profileSTR: Provider profile name--modelSTR: Provider model override--working-dirPATH: Agent working directory--promptSTR: Prompt text or path to a prompt file--toolsSTR: Comma-separated tool names--mcp-serversSTR: Comma-separated MCP server names--extra-pathPATH(repeatable): Additional path to grant the provider sandbox (repeatable)--envSTR(repeatable): Environment variables as KEY=VALUE (repeatable)
Raticode agent edit
Legacy: older TOML workflows. Edit an existing agent's configuration.
AGENT_ID(required): Agent ID to edit--subscriptionSTR: Subscription (claude_code, codex, cursor, copilot, opencode, antigravity, grok, openai_api, anthropic_api)--profileSTR: Provider profile name--modelSTR: Provider model override--working-dirPATH: Agent working directory--promptSTR: Prompt text or path to a prompt file--toolsSTR: Comma-separated tool names--mcp-serversSTR: Comma-separated MCP server names--extra-pathPATH(repeatable): Replace additional provider sandbox paths (repeatable)--envSTR(repeatable): Environment variables as KEY=VALUE (repeatable)
Raticode agent list
Legacy: older TOML workflows. List agents. Without --workflow, lists all agents in the data directory.
--workflowSTR: Filter by workflow ID--formatSTR: Output format: text or json.
Raticode agent rm
Legacy: older TOML workflows. Remove an agent from its workflow.
AGENT_ID(required): Agent ID to remove--yes/-y: Skip confirmation
Raticode agent run
Legacy: older TOML workflows. Run a named agent.
AGENT_ID(required): Agent ID (e.g. TradeAgent)
Raticode brain
Second Brain through the running backend: list, search, read, save and projects.
Raticode brain documents
Backend: needs a running Raticode backend. List a brain's indexed documents.
--brainSTR(required): Brain ID frombrain list.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode brain list
Backend: needs a running Raticode backend. List registered brains and whether their folders are reachable.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode brain projects
Backend: needs a running Raticode backend. List the projects a brain's notes and reports belong to.
--brainSTR(required): Brain ID frombrain list.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode brain read
Backend: needs a running Raticode backend. Print a document's original text. PDFs come back base64-encoded in JSON.
DOCUMENT_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode brain save
Backend: needs a running Raticode backend. Save text into a brain's Inbox as a new note and index it.
--brainSTR(required): Brain ID frombrain list.--titleSTR(required)--file/-fPATH: Text to save; - for stdin. Defaults to --text.--textSTR: Text to save.--urlSTR: Where the text came from; recorded, not fetched.--wait/--no-wait: Wait until it's indexed.--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode brain search
Backend: needs a running Raticode backend. Search notes and documents. Each hit names a document and a block.
QUERY(required)--brainSTR(required) (repeatable): Brain ID; repeat to search several.--modeSTR: exact (words), semantic (meaning) or hybrid.--limitINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode devices
Paired devices (read only; pairing stays in the app).
Raticode devices list
Backend: needs a running Raticode backend. List paired phones and computers and when each was last seen.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org
Organizations through the running backend: read, configure, employees, work schedule, tickets, projects and knowledge. Start, pause and consent decisions stay in the desktop app.
Raticode org apply
Backend: needs a running Raticode backend. Replace an organization's configuration with a file, or create one.
--file/-fPATH(required): File fromorg config; - for stdin.--reasonSTR--expected-revisionINT: Overrides the revision recorded in the file.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org config
Backend: needs a running Raticode backend. Write an organization's configuration file for editing and org apply.
ORGANIZATION_ID(required)--file/-fPATH: File to write; default the envelope's data.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org employees hold
Backend: needs a running Raticode backend. Hold a worker so it takes no new tickets.
ORGANIZATION_ID(required)EMPLOYEE_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org employees list
Backend: needs a running Raticode backend. List workers with their role, provider and whether they're held.
ORGANIZATION_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org employees release
Backend: needs a running Raticode backend. Release a worker's hold. Workers without a sandbox are released in the app.
ORGANIZATION_ID(required)EMPLOYEE_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org events
Backend: needs a running Raticode backend. Activity entries. Text output is one JSON entry per line.
ORGANIZATION_ID(required)--afterINT: Only entries after this sequence.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org export
Backend: needs a running Raticode backend. Export the portable organization package (Agent Companies format) as a ZIP.
ORGANIZATION_ID(required)--file/-fPATH(required): ZIP file to write.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org history
Backend: needs a running Raticode backend. Configuration revisions, newest first.
ORGANIZATION_ID(required)--limitINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org import
Backend: needs a running Raticode backend. Import an organization package. It arrives paused, with every worker held.
PACKAGE(required): Package ZIP fromorg export.--preview: Check it without creating anything.--reasonSTR--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org knowledge read
Backend: needs a running Raticode backend. Print one knowledge entry.
ORGANIZATION_ID(required)ENTRY_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org knowledge save
Backend: needs a running Raticode backend. Create or update a knowledge entry.
ORGANIZATION_ID(required)--file/-fPATH(required): JSON entry: {id?, kind, title, summary, body, topic, projectId, links}; - for stdin.--expected-versionINT: When updating.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org knowledge search
Backend: needs a running Raticode backend. Search shared organization knowledge.
ORGANIZATION_ID(required)QUERY(optional)--limitINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org list
Backend: needs a running Raticode backend. List organizations with their state and open tickets.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org projects
Backend: needs a running Raticode backend. List the organization's project folders and its projects (initiatives).
ORGANIZATION_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org schedule apply
Backend: needs a running Raticode backend. Replace the work schedule and its time zone. Stale revisions exit 4.
ORGANIZATION_ID(required)--file/-fPATH(required): JSON fromorg schedule show --format json(its data).--reasonSTR--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org schedule show
Backend: needs a running Raticode backend. Show the work schedule blocks, time zone and the revision to apply against.
ORGANIZATION_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org show
Backend: needs a running Raticode backend. Show an organization's configuration, state and runtime.
ORGANIZATION_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org tickets changes
Backend: needs a running Raticode backend. Show the code changes a ticket's runs made.
ORGANIZATION_ID(required)TICKET_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org tickets comment
Backend: needs a running Raticode backend. Add a comment to a ticket.
ORGANIZATION_ID(required)TICKET_ID(required)--bodySTR(required)--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org tickets create
Backend: needs a running Raticode backend. Create a ticket. It starts in backlog unless you pass --status todo.
ORGANIZATION_ID(required)--titleSTR(required)--descriptionSTR--assigneeSTR: Worker ID.--projectSTR: Project (initiative) ID.--statusSTR: backlog (default) stays parked; todo lets a running organization pick it up.--prioritySTR--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org tickets list
Backend: needs a running Raticode backend. List and search tickets.
ORGANIZATION_ID(required)--statusSTR: backlog, todo, in_progress, ...--assigneeSTR: Worker ID.--projectSTR: Project (initiative) ID.--querySTR: Words in the title or description.--limitINT--offsetINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode org tickets update
Backend: needs a running Raticode backend. Change ticket fields: title, description, assignee, status, priority and more.
ORGANIZATION_ID(required)TICKET_ID(required)--expected-revisionINT(required): The ticket revision you read; stale ones exit 4.--setSTR(required) (repeatable): Field change as name=value, such as status=todo. Repeatable.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode projects
Projects the backend knows about (read only).
Raticode projects list
Backend: needs a running Raticode backend. List project folders that hold registered workflows.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode provider
Manage provider settings
Raticode provider list
Backend: needs a running Raticode backend. List providers: installed, enabled, version and default model.
--refresh: Look for provider CLIs again.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode provider models
Backend: needs a running Raticode backend. List a provider's models and effort levels, and which models are blocked.
PROVIDER(required): Provider ID fromprovider list.--refresh: Ask the provider CLI again.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode provider profile create
Offline: works without a backend. Create a provider profile in the data folder.
NAME(required): Profile name--subscriptionSTR: CLI or API subscription, such as codex, antigravity, grok, or openai_api--modelSTR: Provider model--timeoutFLOAT: Default timeout in seconds--effort/--reasoningSTR: Model effort setting (--reasoning is deprecated)--approval-modeSTR: Provider approval mode--sandbox-modeSTR: Provider sandbox mode--extra-argSTR(repeatable): Additional provider CLI argument (repeatable)--toolSTR(repeatable): Default tool (repeatable)--mcp-serverSTR(repeatable): Default MCP server (repeatable)--envSTR(repeatable): KEY=VALUE env var (repeatable)--unsafe-envSTR(repeatable): Explicit local-only plaintext sensitive env var (repeatable)--secret-refSTR(repeatable): KEY=SECRET_NAME secret env reference (repeatable)--api-base-urlSTR: Direct API base URL--api-key-envSTR: Direct API key env var--api-key-secretSTR: Direct API key secret name--organizationSTR: Provider organization
Raticode provider profile edit
Offline: works without a backend. Change a provider profile. Options you give replace the stored values.
NAME(required): Profile name--modelSTR: Provider model--timeoutFLOAT: Default timeout in seconds--effort/--reasoningSTR: Model effort setting (--reasoning is deprecated)--approval-modeSTR: Provider approval mode--sandbox-modeSTR: Provider sandbox mode--extra-argSTR(repeatable): Replace extra args--toolSTR(repeatable): Replace default tools--mcp-serverSTR(repeatable): Replace MCP servers--envSTR(repeatable): Replace env vars--unsafe-envSTR(repeatable): Replace or add explicit local-only plaintext sensitive env vars--secret-refSTR(repeatable): Replace secret env references--api-base-urlSTR: Direct API base URL--api-key-envSTR: Direct API key env var--api-key-secretSTR: Direct API key secret name--organizationSTR: Provider organization
Raticode provider profile list
Offline: works without a backend. List provider profiles. JSON names secrets and env variables, never their values.
--formatSTR: Output format: text or json.
Raticode provider profile rm
Offline: works without a backend. Remove a provider profile. Asks first unless --yes is given.
NAME(required): Profile name--yes/-y: Skip confirmation
Raticode provider set
Backend: needs a running Raticode backend. Change a provider's settings, such as its default model.
PROVIDER(required)VALUES(required, repeatable): name=value pairs: enabled, executable, defaultModel, defaultEffort, deniedModels (a JSON list).--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode provider status
Backend: needs a running Raticode backend. Show whether a provider is signed in. Signing in happens in the app.
PROVIDER(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish
Write, check, compile and run Rattish workflows. Commands marked (Backend) start, stop, inspect and approve runs through a running backend.
Raticode rattish approvals
Backend: needs a running Raticode backend. (Backend) List a workflow's approval-gate requests.
WORKFLOW_ID(required)--pending: Only approvals still waiting.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish approve
Backend: needs a running Raticode backend. (Backend) Approve an approval-gate node so the run continues.
WORKFLOW_ID(required)RUN_ID(required)NODE_ID(required): The approval node's ID.--notesSTR: Recorded with the decision.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish check
Offline: works without a backend. Compile a Rattish file and report language errors without running it.
SOURCE(required): Path to a .rattish workflow file.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory used for internal artifacts.
Raticode rattish compile
Offline: works without a backend. Compile and publish validated IR to Raticode's internal artifact cache.
SOURCE(required): Path to a .rattish workflow file.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory used for internal artifacts.
Raticode rattish create
Offline: works without a backend. Create and register a workflow in PROJECT/.raticode/.
NAME(required): Human-readable workflow name.--projectPATH: Repository project folder that will own the workflow.--formatSTR: Output format: text or json.--registry-dirPATH: Override the app directory used for workflow registration.
Raticode rattish docs
Offline: works without a backend. Print paths to the installed Rattish documentation and node contracts.
--formatSTR: Output format: text or json.
Raticode rattish events
Backend: needs a running Raticode backend. (Backend) Print a run's node events. Text output is one JSON event per line.
WORKFLOW_ID(required)RUN_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish export
Backend: needs a running Raticode backend. (Backend) Export a workflow as a .raticode bundle file.
WORKFLOW_ID(required)--file/-fPATH(required): Where to write the .raticode bundle.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish format
Offline: works without a backend. Canonicalize Rattish spelling and layout while preserving comments.
SOURCE(required): Path to a .rattish workflow file.--check: Report whether formatting is needed without writing the file.--stdout: Write formatted source to stdout.
Raticode rattish import
Backend: needs a running Raticode backend. (Backend) Import (apply) a .raticode bundle into a project and register it.
BUNDLE(required): A .raticode bundle file.--projectPATH(required): Project folder for the workflow.--preview: Check the bundle without importing.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish inspect-ir
Offline: works without a backend. Print validated internal IR without creating a source-side IR file.
SOURCE(required): Path to a .rattish workflow file.--pretty: Indent the emitted JSON.--data-dirPATH: Override the app data directory used for internal artifacts.
Raticode rattish list
Offline: works without a backend. List registered Rattish workflows grouped by repository project.
--formatSTR: Output format: text or json.--registry-dirPATH: Override the app directory used for workflow registration.
Raticode rattish logs
Backend: needs a running Raticode backend. (Backend) Print one run's log.
WORKFLOW_ID(required)RUN_ID(optional): Run ID; defaults to the latest run.--tail-bytesINT: Only the end of the log.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish preflight
Offline: works without a backend. Compile a Rattish file and check whether this environment can run it.
SOURCE(required): Path to a .rattish workflow file.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory used for internal artifacts.
Raticode rattish reject
Backend: needs a running Raticode backend. (Backend) Reject an approval-gate node.
WORKFLOW_ID(required)RUN_ID(required)NODE_ID(required): The approval node's ID.--notesSTR: Recorded with the decision.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish resume
Backend: needs a running Raticode backend. (Backend) Resume a stopped or failed run. It runs nodes again.
WORKFLOW_ID(required)RUN_ID(required): The run to resume.--from-nodeSTR--only-nodeSTR--force: Resume even if the source changed.--wait: Wait for the resumed run to finish.--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish run
Offline: works without a backend. Compile, preflight, run, and persist a Rattish workflow.
SOURCE(required): Path to a .rattish workflow file.--inputSTR(repeatable): Workflow input as NAME=JSON. Repeat for multiple inputs.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory used for runs and artifacts.
Raticode rattish runs
Backend: needs a running Raticode backend. (Backend) List a workflow's runs, newest first.
WORKFLOW_ID(required)--statusSTR: success, error, running or stopped.--limitINT--offsetINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish show
Backend: needs a running Raticode backend. (Backend) Show one workflow: name, status, inputs and where its source is.
WORKFLOW_ID(required): Workflow ID fromRaticode rattish list.--source: Include the workflow.rattish source.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish start
Backend: needs a running Raticode backend. (Backend) Start a run in the backend; rattish run runs one in this process instead.
WORKFLOW_ID(required): Workflow ID fromRaticode rattish list.--inputSTR(repeatable): Workflow input as name=value. Values that parse as JSON keep their type.--inputs-filePATH: JSON object of inputs; - reads standard input.--dry-run: Show the plan without running anything.--wait: Wait for the run to finish.--follow: Wait, printing run events as NDJSON lines while it runs.--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--expected-revisionSTR: Refuse to run if the source changed since this revision.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish stop
Backend: needs a running Raticode backend. (Backend) Stop a workflow's active run.
WORKFLOW_ID(required)--runSTR: Stop this run only.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish triggers add cron
Offline: works without a backend. Run a workflow on a cron schedule.
SOURCE(required): Path to a workflow.rattish file.--cronSTR(required): Five fields: minute hour day month weekday.--timezoneSTR: IANA time zone. Defaults to this computer's zone.--overlapSTR: If the workflow is already running: skip, queue (one run after it), or parallel.--missedSTR: When a run is missed: record it, or run_once to also catch up one run.--labelSTR: A short name for this trigger.--inputSTR(repeatable): Workflow input as NAME=JSON. Repeat for multiple inputs.--disabled: Save the trigger turned off.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers add file
Offline: works without a backend. Run a workflow when files change, after they go quiet.
SOURCE(required): Path to a workflow.rattish file.--pathSTR(required): File or folder to watch. Relative paths start at the project.--debounceFLOAT: Seconds the files must stay quiet before the workflow starts.--globSTR: Only react to files matching this pattern.--recursive/--no-recursive: Include subfolders of a watched folder.--overlapSTR: If the workflow is already running: skip, queue (one run after it), or parallel.--labelSTR: A short name for this trigger.--inputSTR(repeatable): Workflow input as NAME=JSON. Repeat for multiple inputs.--disabled: Save the trigger turned off.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers add webhook
Offline: works without a backend. Run a workflow from an authenticated webhook on this computer.
SOURCE(required): Path to a workflow.rattish file.--overlapSTR: If the workflow is already running: skip, queue (one run after it), or parallel.--labelSTR: A short name for this trigger.--inputSTR(repeatable): Workflow input as NAME=JSON. Repeat for multiple inputs.--disabled: Save the trigger turned off.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers apply
Backend: needs a running Raticode backend. (Backend) Make a workflow's triggers match a file. Triggers match by kind and label.
WORKFLOW_ID(required)--file/-fPATH(required): Trigger file fromtriggers export; - for stdin.--prune: Also remove triggers that aren't in the file.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish triggers disable
Offline: works without a backend. Turn a trigger off without deleting it.
TRIGGER_ID(required): Trigger ID.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers enable
Offline: works without a backend. Turn a trigger on.
TRIGGER_ID(required): Trigger ID.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers export
Backend: needs a running Raticode backend. (Backend) Write a workflow's triggers as a JSON file, without IDs or webhook tokens.
WORKFLOW_ID(required)--file/-fPATH: File to write; default the envelope's data.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rattish triggers history
Offline: works without a backend. Show recent runs, including failed, missed and skipped ones.
TRIGGER_ID(optional): Only this trigger.--limitINT RANGE: How many entries to show.--problems: Only failed, missed, skipped or interrupted runs.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers list
Offline: works without a backend. List triggers and whether anything is running them.
SOURCE(optional): Only this workflow.rattish file.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers login
Offline: works without a backend. Start the scheduler at login, so triggers still fire after a reboot.
STATE(optional): on, off, or status.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers remove
Offline: works without a backend. Delete a trigger and its history.
TRIGGER_ID(required): Trigger ID.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers rotate-token
Offline: works without a backend. Replace a webhook's token. The old token stops working at once.
TRIGGER_ID(required): Webhook trigger ID.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers start
Offline: works without a backend. Run triggers in this process until it's stopped.
--data-dirPATH: Override the app data directory.
Raticode rattish triggers status
Offline: works without a backend. Show whether anything is running triggers on this computer.
--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers update
Offline: works without a backend. Change a trigger. Options you leave out stay the same.
TRIGGER_ID(required): Trigger ID.--cronSTR: New cron expression.--timezoneSTR: New IANA time zone.--pathSTR: New file or folder to watch.--debounceFLOAT: New quiet time in seconds.--globSTR: New file pattern.--recursive/--no-recursive: Include subfolders.--overlapSTR: skip, queue, or parallel.--missedSTR: record or run_once.--labelSTR: New name.--inputSTR(repeatable): Workflow input as NAME=JSON. Repeat for multiple inputs.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish triggers webhook-port
Offline: works without a backend. Show or change the local port webhooks listen on.
PORT(optional): New port. Leave out to show the current one.--formatSTR: Output format: text or json.--data-dirPATH: Override the app data directory.
Raticode rattish wait
Backend: needs a running Raticode backend. (Backend) Wait for a run to finish or stop at an approval.
WORKFLOW_ID(required)RUN_ID(required)--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--follow: Print run events as NDJSON lines.--intervalFLOAT RANGE: Seconds between polls.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem
Rem from the command line. Chat, tasks, memories, alerts and settings go through the running backend; skill and mcp manage the library Rem threads can use.
Raticode rem follow
Backend: needs a running Raticode backend. Print new chat messages as they arrive, one JSON line each, until stopped.
--afterINT RANGE: Start after this position; default is now--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--intervalFLOAT RANGE: Seconds between polls.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem mcp add
Offline: works without a backend. Add an MCP server that any provider can use in Rem threads.
NAME(required): Letters, digits, hyphens, or underscoresCOMMAND(optional, repeatable): Local program and arguments, after ----urlSTR: HTTP or HTTPS MCP endpoint--description/-dSTR: What the server provides--replace: Update an existing server
Raticode rem mcp list
Offline: works without a backend. List MCP servers in the Rem library.
--formatSTR: Output format: table (or text) or json
Raticode rem mcp remove
Offline: works without a backend. Remove an MCP server from the Rem library.
NAME(required)
Raticode rem memories add
Backend: needs a running Raticode backend. Remember a fact. Text that looks like a password or key is refused.
TEXT(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem memories edit
Backend: needs a running Raticode backend. Correct one remembered fact.
MEMORY_ID(required)TEXT(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem memories forget
Backend: needs a running Raticode backend. Forget one remembered fact, including in the notes on replies that saved it.
MEMORY_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem memories list
Backend: needs a running Raticode backend. List what Rem remembers, newest first, and whether memory is on.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem memories mode
Backend: needs a running Raticode backend. Turn memory on, pause new saves, or turn it off.
MODE(required): on, paused or off--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem memories undo
Backend: needs a running Raticode backend. Reverse the memory changes one Rem reply made.
MESSAGE_ID(required): The Rem reply whose memory changes to undo--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem messages
Backend: needs a running Raticode backend. Read Rem's chat. Pass the answer's last position as --after to read only new messages.
--tail/-nINT RANGE: The newest N messages--afterINT RANGE: Messages after this position (seq) instead--limitINT RANGE: At most this many, with --after--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem notices
Backend: needs a running Raticode backend. Alerts for anything that needs you: stuck or finished tasks, proposals, organizations.
--cursorSTR: The cursor from the last read; without it, only the cursor--includeSTR: Comma list of needs_you, finished, proposals (default: all)--watch: Keep reading and print each alert--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--intervalFLOAT RANGE: Seconds between polls.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem resources
Offline: works without a backend. List every skill and MCP server available to Rem threads.
--formatSTR: Output format: table (or text) or json
Raticode rem runs acknowledge
Backend: needs a running Raticode backend. Mark a finished or blocked run as seen.
RUN_ID(required)--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem runs cancel
Backend: needs a running Raticode backend. Stop a run that is going.
RUN_ID(required)--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem runs retry-review
Backend: needs a running Raticode backend. Retry a run's interrupted independent review.
RUN_ID(required)--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem runs show
Backend: needs a running Raticode backend. Show one run: state, result, criteria and whether it needs you.
RUN_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem say
Backend: needs a running Raticode backend. Send Rem a chat message, as if typed in the app.
TEXT(optional): The message, or - to read it from stdin--filePATH: Read the text from this file--refers-toSTR: ID of an earlier chat message this one replies to--wait: Wait for Rem's reply and print it--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem search
Backend: needs a running Raticode backend. Search Rem's chat for words. No model reads the query.
QUERY(required): Words to find in the whole saved chat--beforeINT: Continue from this position--limitINT RANGE--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem settings apply
Backend: needs a running Raticode backend. Replace Rem's settings with a file from rem settings export.
--file/-fPATH(required): JSON settings file, or - for stdin--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem settings export
Backend: needs a running Raticode backend. Write Rem's settings as a JSON file that rem settings apply accepts.
--file/-fPATH: Write here instead of stdout--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem settings show
Backend: needs a running Raticode backend. Show Rem's settings: providers, models, projects, resources and board.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem skill add
Offline: works without a backend. Register an existing skill folder from anywhere on this computer.
PATH(required): Folder containing SKILL.md
Raticode rem skill list
Offline: works without a backend. List registered and discovered skills.
--formatSTR: Output format: table (or text) or json
Raticode rem skill new
Offline: works without a backend. Create a skill in Raticode's skills folder.
NAME(required): Folder and skill name, such as release-notes--description/-dSTR(required): When Rem should use this skill--body-filePATH: Markdown file with the skill instructions
Raticode rem skill path
Offline: works without a backend. Print Raticode's skills folder. Each child folder with a SKILL.md is a skill.
Raticode rem skill remove
Offline: works without a backend. Unregister a skill folder. Files are not deleted.
PATH(required): Registered skill folder
Raticode rem tasks create
Backend: needs a running Raticode backend. Create a Rem task. With no schedule it runs once, now; with --after, once those succeed.
--titleSTR(required)--typeSTR(required): research, maintain, develop, errand or reminder--promptSTR: What Rem should do, or - for stdin--prompt-filePATH--projectPATH: Project folder the work happens in--scheduleSTR: JSON schedule, such as {"kind": "daily", "local_time": "09:00", "timezone": "UTC"}--afterSTR(repeatable): Start only after this task or run succeeds. Repeat for several; one-time tasks only--specPATH: JSON task fields (provider, model, acceptance_criteria...)--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks delete
Backend: needs a running Raticode backend. Delete a task and its schedule, stopping a run that is going. Needs --yes.
TASK_ID(required)--yes/-y: Confirm destructive actions.--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks edit
Backend: needs a running Raticode backend. Change a task. Refused with exit 4 if it changed since --expected-revision.
TASK_ID(required)--expected-revisionINT(required): The task's revision fromshow--titleSTR--typeSTR: research, maintain, develop, errand or reminder--promptSTR: What Rem should do, or - for stdin--prompt-filePATH--projectPATH: Project folder the work happens in--scheduleSTR: JSON schedule, such as {"kind": "daily", "local_time": "09:00", "timezone": "UTC"}--afterSTR(repeatable): Start only after this task or run succeeds. Repeat for several; one-time tasks only--clear-after: Stop waiting for other tasks and start as scheduled--future-only: Leave a run already going as it is--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks list
Backend: needs a running Raticode backend. List Rem's tasks with their latest run.
--needs-you: Only tasks waiting on you--active: Only tasks with a run going--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks pause
Backend: needs a running Raticode backend. Pause a task's schedule.
TASK_ID(required)--cancel-current: Also stop a run going--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks resume
Backend: needs a running Raticode backend. Resume a paused task, as the app's Resume button does.
TASK_ID(required)--expected-revisionINT(required): The task's revision fromshow--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks run
Backend: needs a running Raticode backend. Start a task now. With --wait, exits 0 succeeded, 7 needs you, 1 failed, 8 timeout.
TASK_ID(required)--wait: Wait for the run to finish--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks show
Backend: needs a running Raticode backend. Show one task, its revision and recent runs.
TASK_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem tasks wait
Backend: needs a running Raticode backend. Wait for a task's current run. Exits 0 succeeded, 7 needs you, 1 failed, 8 timeout.
TASK_ID(required)--timeoutSTR: Longest to wait, such as 30s, 5m or 1h30m.--intervalFLOAT RANGE: Seconds between polls.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem thread send
Backend: needs a running Raticode backend. Give a task's worker more instructions, as the app's thread input does.
THREAD_ID(required)TEXT(optional): Instructions, or - for stdin--filePATH: Read the text from this file--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode rem thread show
Backend: needs a running Raticode backend. Show a Rem task's work thread: messages, results and status.
THREAD_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode runner
[Legacy TOML] Manage remote runners and queued workflow runs. The queue loads TOML workflows only.
Raticode runner cancel
Legacy: older TOML workflows. Cancel queued or running work.
RUN_ID(required): Queued run ID
Raticode runner list
Legacy: older TOML workflows. List known runners.
--formatSTR: Output format: text or json.
Raticode runner queue
Legacy: older TOML workflows. Queue a workflow run for a separate runner process.
WORKFLOW(required): Workflow ID or TOML path--priorityINT: Higher priority runs first--triggerSTR: Requested trigger name--labelSTR(repeatable): Target runner label--paramSTR(repeatable): Run parameter as KEY=JSON_VALUE or KEY=VALUE
Raticode runner register
Legacy: older TOML workflows. Register or update a local runner record.
--nameSTR: Runner display name--idSTR: Stable runner ID--labelSTR(repeatable): Runner label--provider-cliSTR(repeatable): Available provider CLI name--workspace-rootPATH(repeatable): Workspace root available to the runner
Raticode runner start
Legacy: older TOML workflows. Start a local runner process that executes queued workflows.
--nameSTR: Runner display name--idSTR: Stable runner ID--labelSTR(repeatable): Runner label--provider-cliSTR(repeatable): Available provider CLI name--once: Process at most one queued run--poll-secondsFLOAT RANGE
Raticode runner status
Legacy: older TOML workflows. Inspect queued and running work. One run always prints as JSON.
RUN_ID(optional): Queued run ID--limitINT RANGE: Maximum runs to list--formatSTR: Output format: text or json.
Raticode schedule
[Legacy TOML] Manage workflow schedules. For Rattish, use Raticode rattish triggers add cron.
Raticode schedule add
Legacy: older TOML workflows. Add a workflow to the schedule.
WORKFLOW_FILE(required): Workflow TOML file--dbPATH
Raticode schedule list
Legacy: older TOML workflows. List all scheduled workflows.
--dbPATH--formatSTR: Output format: text or json.
Raticode schedule remove
Legacy: older TOML workflows. Remove a workflow from the schedule.
WORKFLOW_ID(required)--dbPATH
Raticode schedule start
Legacy: older TOML workflows. Start the scheduler (background by default).
--foreground/-f: Run in the foreground--dbPATH
Raticode schedule stop
Legacy: older TOML workflows. Stop the background scheduler.
Raticode selfwork
Rem's self-work: status, report and settings. Needs a running backend.
Raticode selfwork apply
Backend: needs a running Raticode backend. Apply self-work settings from a file. Without --expected-revision it replaces them.
--file/-fPATH(required): JSON fromselfwork export, or ---expected-revisionINT: Refuse if the settings changed since this revision--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode selfwork export
Backend: needs a running Raticode backend. Print the self-work settings as a JSON file for selfwork apply.
--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode selfwork report
Backend: needs a running Raticode backend. Show the running report: tickets added and work done since you last looked.
--mark-seen: Mark it read on every device--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode selfwork set
Backend: needs a running Raticode backend. Change self-work settings. Self-work spends provider allowance while nobody watches.
--expected-revisionINT(required): The settings revision fromselfwork status--enabled/--disabled--max-threadsINT RANGE--auto-pull-backlog/--no-auto-pull-backlog--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode selfwork status
Backend: needs a running Raticode backend. Show whether self-work is on, what it's doing and its settings.
--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm
Swarms through the running backend: list, show, history, and configuration as files. Starting and controlling swarms stays in the desktop app.
Raticode swarm apply
Backend: needs a running Raticode backend. Update a swarm from a file, or create it when the file has no swarmId.
--projectPATH(required): The project folder the swarm belongs to.--file/-fPATH(required): File fromswarm export; - for stdin.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm delete
Backend: needs a running Raticode backend. Delete a stopped swarm and its run records. Its git worktrees and branches stay.
SWARM_ID(required)--projectPATH(required): The project folder the swarm belongs to.--yes/-y: Confirm destructive actions.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm export
Backend: needs a running Raticode backend. Write a swarm's configuration as a JSON file for swarm apply.
SWARM_ID(required)--projectPATH(required): The project folder the swarm belongs to.--file/-fPATH: File to write; default the envelope's data.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm history
Backend: needs a running Raticode backend. List a swarm's past runs (20 at a time), or show one.
SWARM_ID(required)--projectPATH(required): The project folder the swarm belongs to.--runSTR: Show one past run in full.--offsetINT--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm list
Backend: needs a running Raticode backend. List a project's swarms.
--projectPATH(required): The project folder the swarm belongs to.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode swarm show
Backend: needs a running Raticode backend. Show a swarm's configuration and current run.
SWARM_ID(required)--projectPATH(required): The project folder the swarm belongs to.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode threads
Follow, steer or stop a live thread turn by its IDs. The thread list itself lives in the desktop window, so listing and starting threads isn't available.
Raticode threads follow
Backend: needs a running Raticode backend. Stream a turn's events until it ends: one NDJSON event per line, then the result.
CONVERSATION_ID(required): The thread's conversation ID.TURN_ID(required): The turn to follow.--afterINT: Skip events up to this sequence number.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode threads steer
Backend: needs a running Raticode backend. Send a message to a turn that is still running. Rem's own tasks use rem commands.
CONVERSATION_ID(required)TURN_ID(required)--textSTR(required): What to tell the running turn.--request-idSTR: Retrying with the same ID never sends it twice.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode threads steering
Backend: needs a running Raticode backend. List the steering messages sent to a thread and whether each was delivered.
CONVERSATION_ID(required)--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode threads stop
Backend: needs a running Raticode backend. Stop a thread's running turn.
CONVERSATION_ID(required)TURN_ID(required): The running turn.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets
Global Kanban tickets: Rem's and every organization's. Needs a running backend.
Raticode tickets approve
Backend: needs a running Raticode backend. Approve a Rem proposal, which moves it to To do.
TICKET(required)--expected-revisionINT(required): The ticket's revision fromshow--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets assign
Backend: needs a running Raticode backend. Assign an organization's ticket to a worker, or hand a Rem ticket to an organization.
TICKET(required)--expected-revisionINT(required): The ticket's revision fromshow--assigneeSTR: A worker ID in the ticket's organization, or rem--to-orgSTR: Hand a Rem ticket to this organization--orgSTR: Organization ID, for an organization's ticket--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets comment
Backend: needs a running Raticode backend. Add a comment to a ticket's timeline.
TICKET(required)TEXT(optional): The comment, or - for stdin--filePATH--orgSTR: Organization ID, for an organization's ticket--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets comments
Backend: needs a running Raticode backend. List a ticket's comments and status changes, oldest first.
TICKET(required)--orgSTR: Organization ID, for an organization's ticket--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets create
Backend: needs a running Raticode backend. Create a ticket for Rem, or with --org for an organization.
--titleSTR(required)--descriptionSTR: Text, or - for stdin--description-filePATH--prioritySTR: low, medium, high or critical--statusSTR: backlog or todo--typeSTR: research, maintain, develop or errand--projectPATH: Open project folder--done-whenSTR: How to tell it's finished--orgSTR: Organization ID, for an organization's ticket--assigneeSTR: rem, or a worker ID with --org--request-idSTR: Idempotency key sent as request_id. Only Rem messages, tasks, run controls and thread messages, and board ticket create and comment, deduplicate on it: reuse the ID when retrying those. Other endpoints ignore it. 'auto' generates one and prints it in the result.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets decline
Backend: needs a running Raticode backend. Decline a Rem proposal, which cancels it.
TICKET(required)--expected-revisionINT(required): The ticket's revision fromshow--reasonSTR: Why, so Rem doesn't propose it again--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets edit
Backend: needs a running Raticode backend. Change a ticket's title, description, priority, type, project or finish line.
TICKET(required)--expected-revisionINT(required): The ticket's revision fromshow--titleSTR--descriptionSTR: Text, or - for stdin--description-filePATH--prioritySTR--typeSTR--projectPATH--done-whenSTR--orgSTR: Organization ID, for an organization's ticket--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets list
Backend: needs a running Raticode backend. List tickets: open ones first, then the most recently closed.
--statusSTR(repeatable): Repeat for several--scopeSTR: rem or organization--orgSTR: Organization ID, for an organization's ticket--assigneeSTR: rem or a worker ID--projectPATH: Only this project folder--proposals: Only proposals awaiting you--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets move
Backend: needs a running Raticode backend. Move a ticket. in_progress starts Rem on it now; done is for you to decide.
TICKET(required)COLUMN(required): backlog, todo, in_progress, done or cancelled--expected-revisionINT(required): The ticket's revision fromshow--orgSTR: Organization ID, for an organization's ticket--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets projects
Backend: needs a running Raticode backend. Set the projects a participant may take tickets from in self-work.
PATHS(required, repeatable): Open project folders--expected-revisionINT(required): The participant's revision fromtickets list--participantSTR: rem, or agent:<org>:<worker> fromtickets list--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tickets show
Backend: needs a running Raticode backend. Show a ticket with its comments and status history.
TICKET(required): Ticket ID or key, such as REM-12--orgSTR: Organization ID, for an organization's ticket--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode tokens
Manage agent tokens: limited API tokens for scripts and agents. They can't approve consent requests or proposals, change Rem's settings, pair devices or read the owner token.
Raticode tokens create
Offline: works without a backend. Create an agent token and write it to a new owner-only file. It is never printed.
NAME(required): Token name, such as ci or nightly-script--output/-oPATH(required): New file that receives the token, readable only by you (mode 600).--expires-daysINT RANGE: Stop accepting the token after this many days.--data-dirPATH: Raticode data directory
Raticode tokens list
Offline: works without a backend. List agent tokens by name. Token values are never stored or shown.
--formatSTR: Output format: text or json.--data-dirPATH: Raticode data directory
Raticode tokens revoke
Offline: works without a backend. Revoke an agent token. A running backend stops accepting it immediately.
NAME(required): Token name--data-dirPATH: Raticode data directory
Raticode ui
Run the workflow studio API
Raticode ui serve
Offline: works without a backend. Serve JSON endpoints used by the React workflow studio (same as Raticode serve).
--hostSTR: API bind host. Headless mode accepts only loopback addresses.--portINT: API bind port. Use 0 to let the OS choose a free port.--data-dirPATH: Raticode app data directory for global settings, schedules, registries, and app state. Defaults to GOFER_DATA_DIR or the standard data folder.--headless: Run with no desktop window: listen on loopback only, write the owner token and endpoint to owner-only files in <data>/headless/, and load Rem's settings from a file.--token-filePATH: Headless: read the owner token from this owner-only file (mode 600) instead.--rem-settingsPATH: Headless: Rem settings JSON. Defaults to <data>/headless/rem-settings.json.
Raticode usage
Provider usage and limits the backend has recorded.
Raticode usage refresh
Backend: needs a running Raticode backend. Ask each signed-in provider for current usage, then show it.
--daysINT: 1, 7, 30 or 90.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode usage show
Backend: needs a running Raticode backend. Show recorded usage and limits per provider account. Asks no provider.
--daysINT: 1, 7, 30 or 90.--output/-o/--formatjson/ndjson/text: json: one envelope on stdout. ndjson: one object per line. text: for people.--endpointSTR: Backend URL on this computer (http://127.0.0.1:PORT) or unix:/path/to.sock. Defaults to RATICODE_URL, RATICODE_SOCKET, then <data>/headless/endpoint.json.--token-filePATH: File holding the API token (mode 600). Defaults to RATICODE_TOKEN, RATICODE_TOKEN_FILE, then <data>/headless/owner-token (not in Rem worker sessions).--data-dirPATH: Raticode data folder to discover the backend from. Defaults to RATICODE_DATA_DIR, GOFER_DATA_DIR, then the standard folder.
Raticode watch
[Legacy TOML] Run workflow file/folder watchers. For Rattish, use Raticode rattish triggers add file.
Raticode watch list
Legacy: older TOML workflows. List workflows in the data directory that have file/folder watchers.
--formatSTR: Output format: text or json.--data-dirPATH: Raticode data directory
Raticode watch start
Legacy: older TOML workflows. Run file/folder watchers in the foreground.
--data-dirPATH: Raticode data directory--poll-intervalFLOAT RANGE: Seconds between filesystem scans.
Raticode workflow
Run and inspect workflows. run, resume, list, plan, validate, logs, usage, export, import, rm, rename and duplicate accept Rattish workflows; commands marked [Legacy TOML] work only with TOML workflows. Author Rattish with Raticode rattish.
Raticode workflow add-agent
Legacy: older TOML workflows. [Legacy TOML] Add or replace an agent config in a workflow.
WORKFLOW(required): Workflow ID or path to TOML file--idSTR(required): Agent ID--subscriptionSTR(required): codex, claude_code, openai_api, or anthropic_api--working-dirPATH(required): Agent working directory--prompt-pathPATH(required): Prompt markdown path--toolSTR(repeatable): Allowed tool name--mcp-serverSTR(repeatable): MCP server name--extra-pathPATH(repeatable): Additional path to grant the provider sandbox (repeatable)--envSTR(repeatable): Environment KEY=VALUE
Raticode workflow add-edge
Legacy: older TOML workflows. [Legacy TOML] Add or replace a workflow edge.
WORKFLOW(required): Workflow ID or path to TOML file--fromSTR(required): Source node ID--toSTR(required): Target node ID--conditionSTR: Edge condition--output-patternSTR: Regex for output_matches condition--fieldSTR: Structured result field for output_field condition--operatorSTR: Typed predicate operator for output_field condition--valueSTR: JSON comparison value for output_field condition
Raticode workflow add-node
Legacy: older TOML workflows. [Legacy TOML] Add or replace a workflow node.
WORKFLOW(required): Workflow ID or path to TOML file--idSTR(required): Node ID--typeSTR(required): Node operation type--commandSTR: Command for command nodes--script-pathPATH: Script path for script nodes--pathPATH: Path for read/write/delete/file/folder nodes--source-pathPATH: Source path for copy/move nodes--destination-pathPATH: Destination path for copy/move nodes--targetSTR: Target for open_resource--resource-typeSTR: auto, file, folder, url, or app--contentSTR: Content for write_file nodes--messageSTR: Message for pass/fail nodes--templateSTR: Inline prompt template--template-pathPATH: Prompt template file path--output-pathPATH: Output path for prompt/index nodes--working-dirPATH: Working directory for command/agent nodes--agent-idSTR: Agent ID for agent nodes--prompt-pathPATH: Prompt path for agent nodes--skill-nameSTR: Skill name for agent skill invocation--profileSTR: Provider profile for agent/common LLM nodes--modelSTR: Provider model override for agent/common LLM nodes--provider-timeoutFLOAT RANGE: Provider CLI timeout override for agent/common LLM nodes--taskSTR: Common LLM task preset--task-target/--querySTR: Task target text or search query--instructionsSTR: Task instructions--index-pathPATH: Local vector index path--vector-modeSTR: local_vectorize mode: incremental, full, validate, or compact--top-kINT RANGE: local_search result count--score-thresholdFLOAT: Minimum local_search score to include--include-snippets/--no-include-snippets: Include snippets in local_search results--include-file-metadata/--no-include-file-metadata: Include file metadata in local_search results--dynamic-countSTR: Agent dynamic count--memorySTR: Agent memory mode: none, run, or all--input-mapSTR(repeatable): Agent input mapping KEY=CTX_PATH--inputSTR(repeatable): Common node input KEY=CTX_PATH. Use stdin=SOURCE or env.NAME=SOURCE for command nodes.--input-mapping-jsonSTR: Agent input mapping JSON object--output-schemaSTR: Named output schema or inline JSON Schema object for agent/common LLM nodes--repair-attemptsINT RANGE: Structured-output repair attempts for agent/common LLM nodes--variableSTR(repeatable): Prompt template variable KEY=CTX_PATH_OR_VALUE--envSTR(repeatable): Environment KEY=VALUE--argSTR(repeatable): Script/open-resource arg--create-dirs/--no-create-dirs--overwrite/--no-overwrite: Override file overwrite behavior for write/copy/move nodes--append: Append in write_file nodes--trash/--no-trash--recursive--missing-ok--encodingSTR--errorsSTR--pipe-output--allow-failure: Allow this node to fail without failing the overall workflow--await-all-inputs/--no-await-all-inputs: Wait for all upstream nodes before this node runs--retry-countINT RANGE--retry-delay-secondsFLOAT RANGE--timeout-secondsFLOAT RANGE--fan-sourceSTR: loop source: count, tabular, directory, trigger-events, or infinite--fan-countSTR--fan-pathPATH--fan-globSTR--fan-include-content--fan-max-concurrencyINT RANGE--fan-fail-fast--methodSTR: HTTP method for http_request--urlSTR: URL for http_request--headerSTR(repeatable): HTTP header KEY=VALUE--paramSTR(repeatable): HTTP query parameter KEY=VALUE--json-bodySTR: HTTP JSON request body--bodySTR: HTTP raw request body--http-timeoutFLOAT RANGE--http-retry-attemptsINT RANGE--http-retry-backoffFLOAT RANGE--http-retry-statusINT(repeatable): HTTP status that should be retried--expected-statusINT(repeatable): Expected successful HTTP status--response-modeSTR: auto, json, text, or none--output-mapSTR(repeatable): HTTP output mapping KEY=response.path--secret-fieldSTR(repeatable): HTTP field/path to mask in logs and UI--approval-timeoutFLOAT: Seconds before an approval gate times out--timeout-decisionSTR: Approval timeout output: timeout or reject--approverSTR(repeatable): Allowed approver identity for approval_gate--notify: Send a desktop notification for approval_gate--titleSTR: Notification or approval title--notification-bodySTR: Notification body--channelSTR: Notification channel--urgencySTR: Notification urgency--notification-webhook-urlSTR: Slack, Teams, or generic webhook URL--notification-headerSTR(repeatable): Notification webhook header KEY=VALUE--notification-payload-jsonSTR: Generic webhook JSON payload--notification-email-fromSTR: Email sender address--notification-email-toSTR(repeatable): Email recipient address--notification-smtp-hostSTR: SMTP host for email notifications--notification-smtp-portINT: SMTP port for email notifications--notification-smtp-usernameSTR: SMTP username or secret ref--notification-smtp-passwordSTR: SMTP password as a secret reference such as {{secret.SMTP_PASSWORD}}, never the password itself--notification-smtp-starttls/--no-notification-smtp-starttls--notification-timeoutFLOAT: Notification delivery timeout in seconds--notification-retry-attemptsINT: Notification delivery attempts--notification-retry-backoffFLOAT: Seconds between notification retries--notification-retry-statusINT(repeatable): Webhook HTTP status that should be retried--notification-expected-statusINT(repeatable): Expected webhook success status--notification-network-allowlistSTR(repeatable): Allowed webhook host or CIDR
Raticode workflow approvals
Legacy: older TOML workflows. List approval gates.
--workflow/-wSTR: Only show pending approvals for this workflow ID--all: Show pending and completed approval decisions--formatSTR: Output format: text or json.
Raticode workflow approve
Legacy: older TOML workflows. Approve a pending approval gate. Refused inside Rem and worker turns (exit 5).
RUN_ID(required): Run ID from the pending approvalNODE_ID(required): Approval node ID--workflow/-wSTR: Workflow ID when run/node IDs are not unique--bySTR: Decide as this approver when the gate names approvers. Must be one of the names the gate lists; it records which approver role decided, not who you are.--notesSTR: Decision notes
Raticode workflow build
Legacy: older TOML workflows. [Legacy TOML] Interactively build a workflow via a guided wizard.
--outputPATH: Output path for workflow TOML
Raticode workflow clear-schedule
Legacy: older TOML workflows. [Legacy TOML] Remove a workflow cron schedule.
WORKFLOW(required): Workflow ID or path to TOML file
Raticode workflow clear-watch
Legacy: older TOML workflows. [Legacy TOML] Remove workflow file/folder watcher settings.
WORKFLOW(required): Workflow ID or path to TOML file
Raticode workflow create
Legacy: older TOML workflows. [Legacy TOML] Create a new workflow scaffold in the data directory.
--nameSTR: Workflow name--templateSTR: Create from a built-in workflow template--list-templates: List built-in workflow templates--preview-template: Preview the selected template without creating files--outputPATH: Output directory (default: data dir)
Raticode workflow diff
Legacy: older TOML workflows. [Legacy TOML] Show a revision diff against the current workflow.
WORKFLOW(required): Workflow IDREVISION_ID(required): Revision ID to compare with current--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow duplicate
Legacy: older TOML workflows. Duplicate a workflow with a new ID and name.
WORKFLOW(required): Workflow ID--nameSTR: Name for duplicate
Raticode workflow edit
Legacy: older TOML workflows. [Legacy TOML] Interactively edit a workflow's fields in the terminal.
WORKFLOW(required): Workflow ID or path to TOML file
Raticode workflow export
Legacy: older TOML workflows. Export a workflow and related local files into a portable bundle.
WORKFLOW(required): Workflow ID or path to TOML file--output/-oPATH(required): Bundle archive to create--notesSTR: Optional bundle notes
Raticode workflow history
Legacy: older TOML workflows. [Legacy TOML] List workflow revisions.
WORKFLOW(required): Workflow ID--limitINT RANGE: Maximum revisions to show--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow import
Legacy: older TOML workflows. Import a workflow TOML file, a legacy bundle, or a Rattish .raticode archive.
SOURCE(required): Workflow TOML file, legacy workflow bundle, or Rattish .raticode archive--projectPATH: Project folder that receives a .raticode archive--replace: Replace an existing workflow--dry-run: Preview a bundle import without writing files
Raticode workflow list
Legacy: older TOML workflows. List all workflows in the data directory.
--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow logs latest
Legacy: older TOML workflows. Print the latest run log for a workflow.
WORKFLOW(required): Workflow ID or path to TOML file--path-only: Print only the log path
Raticode workflow logs list
Legacy: older TOML workflows. List run logs for a workflow.
WORKFLOW(required): Workflow ID or path to TOML file--offsetINT RANGE: Number of runs to skip--limitINT RANGE: Maximum runs to list--statusSTR: Filter by status--triggerSTR: Filter by trigger type--searchSTR: Search run metadata and log text--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow logs prune
Legacy: older TOML workflows. Preview or prune old workflow run logs and sidecar files.
WORKFLOW(required): Workflow ID or path to TOML file--keep-lastINT RANGE: Always keep newest N runs--keep-daysINT RANGE: Keep runs newer than N days--keep-failed-daysINT RANGE: Keep failed runs newer than N days--apply: Delete matching runs instead of previewing--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow logs show
Legacy: older TOML workflows. Print a specific workflow run log.
WORKFLOW(required): Workflow ID or path to TOML fileRUN_ID(required): Run log file name from workflow logs list--offsetINT RANGE: Read from byte offset--limitINT RANGE: Maximum bytes to read--tail-bytesINT RANGE: Read last N bytes
Raticode workflow plan
Legacy: older TOML workflows. Preview execution order, fan-out, provider calls, and side effects.
WORKFLOW(required): Workflow ID or path to TOML file--formatSTR: Output format: text or json.--json: Same as --format json.--trigger-jsonSTR: Trigger context JSON object for trigger-event fan-out estimates--paramSTR(repeatable): Workflow parameter as KEY=VALUE. May be repeated.--params-jsonSTR: Workflow parameters as a JSON object--inputSTR(repeatable): Workflow input as KEY=VALUE. May be repeated.--inputs-jsonSTR: Workflow inputs as a JSON object
Raticode workflow preview-import
Legacy: older TOML workflows. [Legacy TOML] Preview a workflow bundle import without writing files.
SOURCE(required): Workflow bundle to preview
Raticode workflow recipe watch-folder-summarize
Legacy: older TOML workflows. Create a folder watcher workflow that fans changed files into an agent summarizer.
--nameSTR(required): Workflow name--watch-pathPATH(required): Folder to watch--globSTR: Changed file glob--recursive: Watch subdirectories--providerSTR: codex, claude_code, openai_api, or anthropic_api--working-dirPATH: Agent working dir--max-concurrencyINT RANGE: Agent fan-out concurrency--debounce-secondsFLOAT RANGE: Watcher debounce seconds--outputPATH: Workflow TOML output path--prompt-pathPATH: Prompt markdown path to create or reuse--overwrite: Overwrite existing files
Raticode workflow reject
Legacy: older TOML workflows. Reject a pending approval gate. Refused inside Rem and worker turns (exit 5).
RUN_ID(required): Run ID from the pending approvalNODE_ID(required): Approval node ID--workflow/-wSTR: Workflow ID when run/node IDs are not unique--bySTR: Decide as this approver when the gate names approvers. Must be one of the names the gate lists; it records which approver role decided, not who you are.--notesSTR: Decision notes
Raticode workflow rename
Legacy: older TOML workflows. Rename a workflow and update its ID to match the new name.
WORKFLOW(required): Workflow ID--nameSTR(required): New workflow name
Raticode workflow restore
Legacy: older TOML workflows. [Legacy TOML] Restore a workflow revision, validating before replacement.
WORKFLOW(required): Workflow IDREVISION_ID(required): Revision ID to restore--as-copy: Restore as a new workflow
Raticode workflow resume
Legacy: older TOML workflows. Resume a failed or stopped workflow run.
WORKFLOW(required): Workflow ID or path to TOML file--run-idSTR(required): Run log file name to resume from--from-nodeSTR: Rerun this node and downstream nodes, reusing successful upstream outputs--only-nodeSTR: Rerun only this node after restoring successful dependency outputs--skip-cache: Ignore reusable node cache entries while resuming--force: Ignore saved outputs and run from the beginning--verbose/-v: Show each node's output
Raticode workflow rm
Legacy: older TOML workflows. Delete a workflow. A Rattish workflow is unregistered and its folder removed.
WORKFLOW(required): Workflow ID or path to TOML file--yes/-y: Skip confirmation
Raticode workflow rm-edge
Legacy: older TOML workflows. [Legacy TOML] Remove a workflow edge.
WORKFLOW(required): Workflow ID or path to TOML file--fromSTR(required): Source node ID--toSTR(required): Target node ID
Raticode workflow rm-node
Legacy: older TOML workflows. [Legacy TOML] Remove a workflow node and its edges.
WORKFLOW(required): Workflow ID or path to TOML file--idSTR(required): Node ID
Raticode workflow run
Legacy: older TOML workflows. Execute a workflow by name or file path.
WORKFLOW(required): Workflow ID, .rattish file, workflow folder, or TOML file--dry-run: Simulate without executing--verbose/-v: Show each node's output--trigger-jsonSTR: Trigger context JSON object used for dry-run planning--paramSTR(repeatable): Workflow parameter as KEY=VALUE. May be repeated.--params-jsonSTR: Workflow parameters as a JSON object--inputSTR(repeatable): Workflow input as KEY=VALUE. May be repeated.--inputs-jsonSTR: Workflow inputs as a JSON object
Raticode workflow secrets
Legacy: older TOML workflows. [Legacy TOML] Show required workflow secrets and whether they are available locally.
WORKFLOW(required): Workflow ID or path to TOML file--formatSTR: Output format: text or json.--json: Same as --format json.
Raticode workflow set-info
Legacy: older TOML workflows. [Legacy TOML] Update top-level workflow settings without opening an editor.
WORKFLOW(required): Workflow ID or path to TOML file--nameSTR: Workflow display name--max-total-node-runsINT RANGE: Maximum node executions allowed in one workflow run--run-continuously/--no-run-continuously: Keep one workflow run active and ignore schedule/watch starts
Raticode workflow set-schedule
Legacy: older TOML workflows. [Legacy TOML] Add or replace a workflow cron schedule.
WORKFLOW(required): Workflow ID or path to TOML file--cronSTR(required): Cron expression--timezoneSTR: Schedule timezone
Raticode workflow set-watch
Legacy: older TOML workflows. [Legacy TOML] Add or replace workflow file/folder watcher settings.
WORKFLOW(required): Workflow ID or path to TOML file--pathPATH(required): File or folder to watch--globSTR: Glob pattern for watched paths--recursive: Watch subdirectories--debounce-secondsFLOAT RANGE: Seconds to debounce filesystem events--modeSTR: batch, queue, or fanout--max-concurrencyINT RANGE: Maximum concurrent queued watcher runs
Raticode workflow show
Legacy: older TOML workflows. [Legacy TOML] Display the graph structure of a workflow.
WORKFLOW(required): Workflow ID or path to TOML file
Raticode workflow stop
Legacy: older TOML workflows. [Legacy TOML] Request that a running legacy TOML workflow stop.
WORKFLOW(required): Workflow ID or path to TOML file
Raticode workflow trigger
Legacy: older TOML workflows. [Legacy TOML] Trigger a workflow through its configured webhook/API trigger.
WORKFLOW(required): Workflow ID to trigger--trigger-idSTR: Webhook trigger ID--payload-jsonSTR: JSON payload to pass as trigger.payload--payload-filePATH: File containing JSON payload to pass as trigger.payload--header/-HSTR(repeatable): Trigger header as 'Name: value'; may be repeated--sourceSTR: Trigger source metadata--token-filePATH: File holding the webhook token (mode 600), for workflows that require one. Without it, RATICODE_WEBHOOK_TOKEN is used.--replay-run-idSTR: Replay the saved trigger payload from a prior run log id
Raticode workflow usage
Legacy: older TOML workflows. Show LLM usage summaries for recent workflow runs.
WORKFLOW(required): Workflow ID or path to TOML file--formatSTR: Output format: text or json.--json: Same as --format json.--limitINT RANGE: Number of recent runs to inspect
Raticode workflow validate
Legacy: older TOML workflows. Validate a workflow by name or file path.
WORKFLOW(required): Workflow ID or path to TOML file--formatSTR: Output format: text or json.--json: Same as --format json.--explain-bindings: Explain reference producers, types, coercion, and resolution phases
