.claude/skills/ralph-tools/SKILL.md
Shared tool commands for interact, skill, and output format reference during Ralph orchestration
npx skillsauth add mikeyobrien/ralph-orchestrator ralph-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quick reference for shared ralph tools commands used during orchestration.
ralph tools interact progress "message"
Send a non-blocking progress update via the configured RObot (Telegram).
ralph 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:
ralph 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 emitralph 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:
ralph 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:
ralph 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.
development
Introspect, explain, and improve Ralph Orchestrator using its published llms.txt doc map. Use this skill whenever the user asks questions about Ralph's behavior, wants to understand how a Ralph internal works (event loop, hats, memories, tasks, backends, presets), debug an unfamiliar failure mode, or propose a code change to the ralph-orchestrator repo. The skill teaches the agent to discover authoritative answers from the live docs via llms.txt before guessing, and to scope improvements through the published architecture rather than the local checkout alone.
development
Run, monitor, resume, merge, and debug Ralph loops. Use this skill whenever the user asks to operate `ralph run` or `ralph loops`, inspect loop state, recover suspended loops, analyze diagnostics, or unblock merge queue issues.
development
Create, inspect, validate, explain, and improve Ralph hat collections. Use this skill whenever the user asks to make or refine a `.ralph/hats/*.yml` workflow, debug hat routing, explain event topology, or tune a multi-hat Ralph run.
testing
A directory-style test skill for smoke testing