Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Shared tool commands for interact, skill, and output format reference during Ralph orchestration
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 27% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 32% | 0% |
Quick reference for shared ralph tools commands used during orchestration.
bashralph tools interact progress "message"
Send a non-blocking progress update via the configured RObot (Telegram).
bashralph tools skill list ralph tools skill load <name>
List available skills or load a specific skill by name.
Dispatch multiple events as a wave for parallel hat execution:
bashralph wave emit <topic> --payloads "item1" "item2" "item3"
Each payload becomes a separate event tagged with a shared wave_id. The loop runner detects wave events and spawns parallel backend instances (up to the hat's concurrency limit).
When to use: When a hat's configuration has concurrency > 1, use wave dispatch to send N items for parallel processing instead of N sequential iterations.
Constraints:
RALPH_WAVE_WORKER=1 blocks it)ralph emit, not ralph wave emitbashralph tools memory add "content" -t pattern --tags tag1,tag2 ralph tools memory list [-t type] [--tags tags] ralph tools memory search "query" [-t type] [--tags tags] ralph tools memory prime --budget 2000 # Output for context injection ralph tools memory show <mem-id> ralph tools memory delete <mem-id>
Memory types:
| Type | Flag | Use For | |------|------|---------| | pattern | -t pattern | "Uses barrel exports", "API routes use kebab-case" | | decision | -t decision | "Chose Postgres over SQLite for concurrent writes" | | fix | -t fix | "ECONNREFUSED on :5432 means run docker-compose up" | | context | -t context | "ralph-core is shared lib, ralph-cli is binary" |
Memory ID format: mem-{timestamp}-{4hex} (e.g., mem-1737372000-a1b2)
NEVER use echo/cat to write tasks or memories — always use CLI tools.
Search BEFORE starting work when:
ralph tools memory search "area-name"ralph tools memory search -t fix "error message"ralph tools memory search -t decision "topic"Search strategies:
search "api" → search -t pattern --tags apisearch -t fix "ECONNREFUSED"search -t decisionCreate a memory when:
Do NOT create memories for:
If any command fails (non-zero exit), or you hit a missing dependency/skill, or you are blocked:
bashralph tools memory add \ "failure: cmd=<command>, exit=<code>, error=<message>, next=<intended fix>" \ -t fix --tags tooling,error-handling ralph tools task ensure "Fix: <short description>" --key fix:<short-key> -p 2
Before searching or adding, check what tags already exist:
bashralph tools memory list grep -o 'tags: [^|]*' .agent/memories.md | sort -u
Reuse existing tags for consistency. Common tag patterns:
api, auth, database, clitesting, performance, error-handlingdocker, postgres, redisUse .ralph/agent/decisions.md to capture consequential decisions and their confidence scores. Follow the template at the top of the file and keep IDs sequential (DEC-001, DEC-002, ...).
Confidence thresholds:
.ralph/agent/decisions.md..ralph/agent/decisions.md.Template fields:
All commands support --format:
table (default) - Human-readablejson - Machine-parseablequiet - IDs only (for scripting)markdown - Memory prime onlyNEVER use echo/cat to write tasks or memories — always use CLI tools.
Other measured skills in the registry, with their headline benchmark lift.