Rabbit R1 Triage
Latest: v2.2.1
Fix: triage.sh and SKILL.md in 2.2.0 had Windows (CRLF) line ends, which stop triage.sh under bash on Linux before it checks anything. The files now have LF line ends; no other change. The repository enforces LF checkouts, so the package matches GitHub byte for byte.
R1 Triage
The R1 reaches this gateway through:
R1 device → Rabbit cloud → rabbit-agent (this host) → openclaw ACP bridge → gateway
Most failures are in the first two links, but two server-side ones are silent (a dead rabbit-agent, and a gateway that refuses the bridge's session key). This skill proves where the break is in under a minute, so nobody debugs the wrong layer.
How to run
- Ask the operator to press PTT on the R1 and say something, right before you run the script — the freshness of the session traffic is the signal.
- Run:
PROBE=0 bash {baseDir}/triage.sh(PROBE=0keeps this first run read-only even ifPROBE=1is set in the environment or the skill config.) In this mode the script is read-only: it reads process state, unit state, the rabbit-agent's status file and logs, and runsopenclaw --version,gateway healthandagents list. It changes nothing and sends no prompt. - Only if the read-only run passes every server check but the R1 still fails,
offer the live probe and run it only after the operator agrees:
PROBE=1 bash {baseDir}/triage.sh. Tell them first that it opens an ACP connection through the sameopenclawbinary the R1 uses and sends one test prompt ("Reply with the single word: pong"), which spends one model turn and leaves a session record on the gateway. If the multi-agent wrapper is installed, that binary pins every ACP connection to the R1's session key (agent:<id>:rabbit-r1), so the test prompt and its reply also appear in the R1 agent's conversation history; it is not an isolated session. - Read the VERDICT line and report it in plain language, with the one action
that follows. Mention
[WARN]lines briefly even when the verdict is not server-side; they are latent faults.
Interpreting the verdict
SERVER-SIDE PROBLEM — one of the [FAIL] lines explains it:
- rabbit-agent not running → if a systemd unit exists:
systemctl --user restart rabbit-agent; otherwise relaunch withbash ~/.rabbit-agent/install.shand recommend the unit rabbit-agent.service (not part of this package) so it survives the next reboot - openclaw CLI not resolvable → put it on the default PATH; the agent runs with a minimal environment and cannot see shell-specific PATHs
- gateway unhealthy → investigate the gateway; warn the operator that a restart interrupts every other agent before suggesting one
- ACP probe "no explicit owner" → more than one agent is configured and the
bridge's sessions have no owner; install openclaw-wrapper.sh (not part of this package) as
/usr/local/bin/openclaw(regular file, remove the symlink first) so ACP sessions are scoped with--session agent:<id>:<key> - ACP probe timeout → the gateway accepts the session but the model does not
answer: check model/provider health (
openclaw models list, gateway logs)
ORPHANED SESSION — the gateway restarted while the cloud held a session: the R1 needs a reboot (or a new session from the notebook icon). Nothing to fix on the server.
RABBIT-SIDE (session idle, or no session) — the server is fine:
- On the R1, swipe to the OpenClaw agent page and tap click to refresh, then PTT
- Reboot the R1 (fixes it most of the time)
- rabbithole (hole.rabbit.tech) → settings → nodes: remove the node and register it again (the command it gives you re-registers the agent)
- If it persists, suspect a Rabbit cloud outage — check their status/Discord
CHAIN HEALTHY but the R1 still spins — the failure is between the cloud and the device display: reboot the R1.
Rules
-
This skill only diagnoses. Report every fix as a step for the operator; never run it yourself. That includes restarting units, killing processes, re-registering the node, and anything with
sudoor that writes outside the skill folder (installing the unit or the wrapper). The script printsFix:lines for the operator, not commands for you. -
Never restart the gateway as a first move. It is almost never the fix for R1 issues, it interrupts other agents and channels, and it orphans the R1's session (the operator then has to reboot the device anyway).
-
The ACP session is long-lived: a job directory with no
exitfile is the current session. rabbit-agent 0.1.10 deletes finished jobs straight away, so an old directory that still exists is stale, not evidence; the script readslogs/agent.login that case. -
hermes-session-*andclaude-session-*jobs failing with exit 127 is normal when those CLIs aren't installed. Onlyopenclaw-session-*matters. -
After any gateway restart, the R1 needs a reboot before its next use.
-
The
openclawbinary the agent runs is/usr/local/bin/openclaw. Never write to that path while it is a symlink; it points into the OpenClaw install andtee/>will overwrite the real entry file. -
Keep the report short: which link is broken, and the single next action.
