peers

peers is a command for Claude Code from HoussemDjeghri/bridger. It costs 16 tokens per session (548 once invoked), scanned A, original, MIT.

A command that lists registered peer coding-agent sessions, their locations, branches, and current activity status.

In plain words
What is it for?
It is for finding the exact peer name and checking its reported connection and project details before sending messages.
Why use it?
It shows which sessions can be contacted and helps distinguish an inactive watcher from a peer that is no longer present.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the bridger plugin — 1 skill, 8 commands shipped together

Good fit It is for finding the exact peer name and checking its reported connection and project details before sending messages.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add HoussemDjeghri/bridger
Claude Code
/plugin install bridger

Made for: Claude Code.

Or install bridger, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peers

README.md
[![agentmods](https://agentmods.dev/badge/commands/houssemdjeghri/bridger/peers/github.svg)](https://agentmods.dev/commands/houssemdjeghri/bridger/peers)
Your own site
<a href="https://agentmods.dev/commands/houssemdjeghri/bridger/peers"><img src="https://agentmods.dev/badge/commands/houssemdjeghri/bridger/peers/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peers

Your own site · 80×15
<a href="https://agentmods.dev/commands/houssemdjeghri/bridger/peers"><img src="https://agentmods.dev/badge/commands/houssemdjeghri/bridger/peers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 548 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00548
Opus 5 $0.00008 $0.00274
Sonnet 5 $0.00003 $0.00110
Haiku 4.5 $0.00002 $0.00055

Measured 9d ago against content hash 4906e0b376cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

peers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/peers.md · 44 lines

What it actually says

"${CLAUDE_PLUGIN_ROOT}/bin/bridger" peers

Show the output to the user. Each line is name [status] directory @branch — summary.

For listening and queued, the status column is watcher liveness, not reachability. listening means that session's watcher is running. queued means it is not — which covers both a closed session and a live one that never armed a watch, since registering does not start one. A queued peer is still registered, still addressable, and still receives; it may just read the message later. Never report either of those as unreachable from this column alone — that is what ask <peer> --timeout tests.

missing is queued plus two facts: that peer's registered directory no longer exists, and no watcher process is running for the name (a watcher still running keeps it queued, because someone is demonstrably there).

A missing peer is still addressable and still receives, and it is NOT proof the peer is dead — a session whose worktree was removed keeps its working directory and goes on polling and sending, so it may well read the message. Treat it as a normal peer; do not skip it and do not report it as unreachable.

departed never appears here, and is the one status that is NOT an address: that name has no registration at all (it ran bridger leave, or reap --force dropped it), so send to it fails. It shows up in bridger status instead, because its thread is kept — anything it sent still arrives on the next poll, and bridger log <name> reads the history. Never confuse it with missing: missing still receives, departed cannot.

What missing usually means is a leftover registration from a deleted worktree. If the user asks about one, or several show up, offer to run bridger reap — it lists each one with how much unread mail it still holds. bridger reap --force drops them, keeping their threads as history. Point out the unread counts before dropping anything: a session still open in a removed directory cannot be detected, and dropping its registration strands its mail for good.

If the current directory is not registered, offer /bridger:register <name> — the bridger is opt-in, so only registered directories appear here.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 44 lines · 16 tokens per session scan A 4906e0b376cf

Subscribe to this mod's changes

peers is a command published in the GitHub repository HoussemDjeghri/bridger (3 stars, last pushed 17d ago), licensed MIT. It adds 16 tokens to every session and 548 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.