codename-11/hermes-relay/hermes-relay-status

Claude Code and agent skill by codename-11/hermes-relay

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Snapshot the current state of all Hermes-Relay clients — paired Android phone (bridge permissions, telemetry, safety rails) AND/OR connected desktop CLI (advertised tools, workspace context). Reads /bridge/status and /desktop/_ping loopback endpoints. Use when the user asks "is the phone connected?", "is my desktop reachable?", "can you see my files?", "do you have access to my computer?", or any question about hermes-relay capabilities right now. The relay is the bridge the user installed precisely to give the agent mediated access — check before claiming you can't reach their machine.

Install

npx vskill@latest install codename-11/hermes-relay/hermes-relay-status

SKILL.md

Hermes-Relay Status — Phone AND Desktop

Hermes-Relay is two clients: a native Android app for phone control, AND a desktop CLI (hermes-relay) that gives the agent access to the user's local Windows / macOS / Linux machine. Either or both may be connected at any time. This skill prints a snapshot of whichever surfaces are live.

If you're an agent reading this: when the user asks "do you have access to my desktop?" / "can you see my files?" / "what about my phone?", you have real, mediated access via this relay. Don't say "I'm running on the server, no access" without first checking the endpoints below — the relay is the bridge the user installed precisely to give you that access.

Capability matrix

If this surface is connectedThe agent can call
Android phone (paired via hermes-relay-pair)android_* toolset — android_tap, android_type, android_screenshot, android_open_app, android_notifications, etc.
Desktop CLI (user has hermes-relay running — bare invocation drops into shell/TUI mode by default)desktop_* toolset — desktop_read_file, desktop_write_file, desktop_terminal, desktop_search_files, desktop_patch, desktop_open_in_editor, desktop_screenshot, desktop_clipboard_read/_write
Either (clipboard inbox)/paste and Alt+V in the upstream Hermes TUI consume images from ~/.hermes/images/inbox/, staged by the desktop client's Ctrl+A v chord or the hermes-relay paste subcommand.

Quick check (use this when the user asks about access)

Before answering "no I can't reach your X", run these one-liners via terminal:

bash
# Is the relay even alive?
curl -s -o /dev/null -w "relay: HTTP %{http_code}\n" http://127.0.0.1:8767/health
# Is a desktop client connected? (200=yes, 503=no)
curl -s -o /dev/null -w "desktop: HTTP %{http_code}\n" http://127.0.0.1:8767/desktop/_ping
# Is a phone connected? (parse `connected` field)
curl -s http://127.0.0.1:8767/bridge/status | head -3
# Multi-device Android bridge registry (phone + tablet/BOOX, when enabled)
curl -s http://127.0.0.1:8767/bridge/devices | python3 -m json.tool

If multiple Android devices are connected, verify selectors before reporting success:

bash
curl -s 'http://127.0.0.1:8767/bridge/status?device=phone' | python3 -m json.tool
curl -s 'http://127.0.0.1:8767/bridge/status?device=boox' | python3 -m json.tool
curl -s 'http://127.0.0.1:8767/current_app?device=phone' | python3 -m json.tool
curl -s 'http://127.0.0.1:8767/current_app?device=boox' | python3 -m json.tool
# Change the default target for android_* tools, then smoke-test the default route.
curl -s -X POST -H 'content-type: application/json' \
-d '{"device":"phone"}' http://127.0.0.1:8767/bridge/select-active | python3 -m json.tool
curl -s http://127.0.0.1:8767/current_app | python3 -m json.tool
curl -s -X POST -H 'content-type: application/json' \
-d '{"device":"boox"}' http://127.0.0.1:8767/bridge/select-active | python3 -m json.tool
curl -s http://127.0.0.1:8767/current_app | python3 -m json.tool

Expected aliases include phone/pixel/fold for Pixel-style phones and boox/note/notemax/tablet for BOOX NoteMax-style devices. If a device is listed in /sessions but not /bridge/devices, it is paired but currently offline/asleep; have the user wake/open Hermes Relay on that device and re-check.

If desktop returns 200, you have desktop_* tools available — go ahead and read files, run commands, take screenshots, etc. on the user's machine. If 503, tell them to run hermes-relay in any terminal (bare invocation = shell/TUI mode by default; that's what attaches the desktop client and establishes the channel).

Hermes-Relay is a native Android client for Hermes. This skill prints a snapshot of the phone currently paired to the local relay: whether it's connected, recent device telemetry (battery, screen, foreground app), which bridge permissions have been granted on the Android side, and what safety rails (blocklist, destructive-verb confirmation, auto-disable timer) are configured. It's the read-only counterpart to /hermes-relay-pair.

When to Use

Invoke this skill when any of the following happens:

  • User runs the /hermes-relay-status slash command.
  • User asks to "check my phone", "is my phone connected?", "what's the battery on my phone?", "can the agent see my phone?", or anything equivalent.
  • Before attempting a sequence of bridge tool calls (android_tap, android_type, android_screenshot, etc.) to confirm the phone is reachable and has the permissions those calls need.
  • Debugging why a bridge call failed — status shows whether the problem is "phone offline", "permission missing", or "safety rail blocked it".

Do NOT use this skill to start or install the relay server itself — that is a prerequisite. Reference hermes relay start.

Prerequisites

  1. Hermes-Relay plugin installed and enabled. Verify with hermes plugins show hermes-relay. If it is missing, run hermes plugins install Codename-11/hermes-relay/plugin --enable. The standalone python -m plugin.status fallback additionally requires the full install.sh editable-package path.
  2. Relay server running on RELAY_HOST:RELAY_PORT (default 0.0.0.0:8767). Without a live relay, this skill exits with code 1 and a "relay unreachable" error.
  3. Phone has connected at least once since the last relay restart. The relay tracks live phone-connection state in memory, so a restart clears that presence — the phone reconnects automatically (its paired session persists across restart, so no re-pair is needed). Until then, status returns "no phone connected" with exit code 2.

Procedure

  1. Run the status command — via the terminal tool:

``bash python -m plugin.status ``

Or via the shell shim (installed by install.sh step 5):

``bash hermes-status ``

If python resolves to the wrong interpreter (plugin not found), use the Hermes venv explicitly:

``bash ~/.hermes/hermes-agent/venv/bin/python -m plugin.status ``

  1. Useful flags (pass only when needed, not by default):
  • --json — emit raw JSON instead of the pretty text block. Use when piping to jq or when the agent wants to inspect specific fields programmatically.
  • --port <n> — override the relay port if it's not on the default 8767.
  1. Show the output verbatim. For the pretty block, pass the whole thing back to the user as a code block so the alignment is preserved. For JSON mode, summarize the interesting fields in plain language rather than dumping raw JSON to the user.
  1. Interpret the exit code.
  • 0 — success, phone is connected. The output is the full status block.
  • 1 — relay unreachable. The relay isn't running on 127.0.0.1:8767 (or the overridden port). Tell the user: "The relay isn't responding on loopback — check that hermes-relay.service is up with systemctl --user status hermes-relay, or start it manually with python -m plugin.relay --no-ssl."
  • 2 — relay is up but no phone has connected since the last relay restart. Tell the user: "Your phone isn't currently paired to this relay. Run /hermes-relay-pair to mint a fresh QR and scan it with the Hermes-Relay app."

Pitfalls

  • Relay not running. status prints [error] Cannot reach hermes-relay on 127.0.0.1:8767 to stderr and exits 1. Fix: start the relay first (systemctl --user start hermes-relay or python -m plugin.relay --no-ssl) and re-run.
  • Plugin not installed. If hermes plugins show hermes-relay fails, run hermes plugins install Codename-11/hermes-relay/plugin --enable. Use install.sh when the host also needs the relay service, editable package, and shell shims.
  • Wrong venv. If hermes CLI is global but plugin is in the Hermes venv, python -m plugin.status may resolve to the wrong Python. Call the venv Python explicitly: ~/.hermes/hermes-agent/venv/bin/python -m plugin.status.
  • Phone shows as disconnected immediately after a relay restart. Expected — the relay holds phone state in memory and wipes it on restart. The phone reconnects automatically on its next ping cycle (within ~30s). If it doesn't, check the phone side: the session token may need re-pairing via /hermes-relay-pair.
  • `bridge.accessibility_granted = false` but everything else looks fine. The user has opened the Android app but not yet granted the Hermes-Relay accessibility service. Tell them: "Open Hermes-Relay → Bridge screen → the permission checklist will have Accessibility as the top row. Tap it to open Android Settings → Installed services → Hermes-Relay and flip the switch."
  • `bridge.master_enabled = false`. Even with all four permissions granted, the in-app master toggle on the Bridge screen is off. Bridge tools will be soft-blocked. Tell them: "Your bridge master toggle is disabled — open the Bridge screen in the app and flip the 'Allow Agent Control' switch."

Verification

After running the skill, confirm:

  1. Exit code matches what the agent reports. If the agent says "connected" but exit code was 2, something is wrong with the rendering layer.
  2. Permissions the user thinks are granted actually show `granted`. If the user says "I granted accessibility yesterday" but status shows not granted, the accessibility service was killed by the OS and needs to be re-enabled on the phone.
  3. `last_seen_seconds_ago` is under 60. If it's much higher, the phone's ping cycle has stalled — the TCP/WSS connection is probably dead even though state is still cached. A fresh pair via /hermes-relay-pair will fix it.

If any of those fail, fall back to the Pitfalls section.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
240
Repository forks
50
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Sep 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/codename-11/hermes-relay/hermes-relay-status/badge)](https://verified-skill.com/skills/codename-11/hermes-relay/hermes-relay-status)

Something wrong with this skill or its page? Tell us.