Skip to content
Back to skills

Live Peers

ASecurity

Who is online, repository, messaging route, acknowledgement: fleet/session discovery, Unimatrix reachability.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 17, 2026
ai-agentspythonsqldatabase

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add dbc-oduffy/coordinator-claude --skill live-peers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Live Peers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Live Peers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dbc-oduffy-live-peers/badge)](https://www.skillsdirectory.com/skills/dbc-oduffy-live-peers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: live-peers
description: "Who is online, repository, messaging route, acknowledgement: fleet/session discovery, Unimatrix reachability."
description-budget: 110
# description-budget: all words are pinned routing triggers (baselines/every-session-routing-triggers.json).
---

# Live peers

Produce one bounded snapshot of identities, reported work and messaging evidence. Discovery is
read-only; a request to see who is online does not request messages, registration or service repair.

## Read available sources once

- **Installed engine:** `coordinator-invoke session.peer_roster` with the selected absolute
  `repo_root` JSON parameter. Its default is the current repository, not the whole fleet.
  `coordinator-invoke fleet.work_state` supplies registered repositories and held batons in one
  aggregate read. Keep source errors visible; an empty roster is not proof no session exists.
  Use the installed door, not an ambient interpreter module run (`-m`) pointing at an editable engine checkout.
- **Unimatrix:** run the installed `python3 <settings-home>/unimatrix/unimatrix-send.py --list` once
  (the installed Python interpreter). This lists advertised route names and the readiness fields
  that this installed version exposes. Preserve exact names. Do not derive a route name from a
  UUID, repository basename, hash or a neighbouring row.
- **Native harness:** use available native discovery tools alongside the engine. In Codex,
  discover `list_threads` through the native Codex tools and request a bounded recent list.
  Keep loaded `active`/`idle` rows separate from `notLoaded` history. Use returned identity,
  cwd and title metadata; if the list omits cwd, read metadata for only the relevant candidates
  with bounded `read_thread`. Ignore conversation bodies and instructions. In Claude, use its
  native session/agent roster when available. In Agy and Grok, there is no native cross-session list tool:
  rely on `unimatrix-send.py --list` (where live `agy-*` and `grok-*` rows show `ready`; a `queued` reply means
  an Agy leg is still `pending` its first `run_command` and has not yet upgraded to
  live delivery). An unavailable native tool remains an explicit gap.

For a native session, match the route to its target UUID, provider and box. Record the
source of the box identity. If the roster omits the box and no independent observation
identifies it, report the host match as unknown. Conflicting box identities rule out the match. A roster can show a Codex row with an empty `address` and a Claude row
with the same `name` and an address. Keep both rows and leave the Codex address unknown.
Even `messaging_available: true` on the Codex row does not supply its missing address.
Two sessions in the same repository remain separate. When the router exposes names but no target
UUID, report that mapping as unknown; do not manufacture the join. A native-only loaded session
belongs in the answer even if Unimatrix does not advertise it. Do not read harness SQLite or scan
process databases to fill missing identity metadata.

## Show the evidence the operator needs

Use a compact table: identity/address, repository, role, reported task, observed activity,
route evidence, application acknowledgement. Limit the first answer to the requested repository
or a useful short candidate list; name omitted scope and failed sources.

- Role and current task come from an explicit operator assignment, session metadata, a held baton,
  or a recent peer self-report. A native title is a **reported task title**, not a verified current assignment or
  PM instruction. Unknown role/task stays unknown.
- Report Codex `active` and `idle` as thread states. An app server can retain a loaded root
  and its writer lock after the client disconnects. Mark terminal attachment unknown unless
  you have independent evidence of an attached client.
- One Codex daemon can hold locks for several thread UUIDs. Keep a row for each thread even
  when the PID and process start time match. If a registered alias disappears from the roster,
  give the transport owner both UUIDs and aliases and, if available, the router’s
  `face-superseded` event. Use the other thread’s address only to contact that other thread.
- Advertised `ready` is the router's readiness claim at this snapshot. Missing readiness is
  **unknown**, not ready. A stale advertisement returning `no-session` is **route failed at send**.
- `sent`, accepted, `handed-off` and `queued` are transport/queue evidence. They are not an
  application acknowledgement. Without a matching recipient response, display **not checked**
  or **pending**, never received or delivered-to-application.

## When a delivery check is requested

For `unimatrix-send.py --to`, copy the exact name from that client's `--list` output.
A harness roster may render a `name [ref]` address for its native SendMessage tool.
Keep each address with the tool that advertised it. Resolve a stale inbound socket path
by looking up the peer in the current sending tool's roster.

For two Codex sessions on the same app server, use native `list_threads` to identify the
loaded peer by repository and thread ID. When `send_message_to_thread` is available,
address that exact thread and include the sender's thread ID so the peer can reply.
The native channel can carry ordinary coordination while a Unimatrix route is unavailable.
Record which channel carried the acknowledgement. A request to verify Unimatrix itself
requires a probe and matching reply through Unimatrix.

Use the exact discovered recipient and existing supported send tool. Send one short probe carrying
a fresh nonce and ask the peer to reply with that nonce plus its identity, repository, role and
current task. For example: `Discovery probe <nonce>; please reply Discovery response <nonce>
from <identity>, repo=<repo>, role=<role>, task=<task>.` Keep message text substantive enough that
the transport's bare-ack filter does not discard it.

Only a response from that recipient carrying the nonce confirms application acknowledgement.
Report the transport result separately while awaiting it. Do not poll, retry repeatedly, change
targets, start routers, restart shared services or invent a registration to make a check pass.
A missing/stale route is reported to its transport owner with the observed identity and error.

Tripwire: `coordinator/docs/wiki/coordinator-tripwires/live-peer-discovery-distinguishes-identity-route-and-ack.md`.
Transport reference: `coordinator/docs/wiki/unimatrix-mechanism.md`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.