bridge-health

bridge-health is a skill for Claude Code from mishahanin/heading-os. It costs 86 tokens per session (2,089 once invoked), scanned B, original, Apache-2.0.

A health-check command for a bridge daemon, a background service that synchronizes workspaces or machines. It checks the CEO machine and any executive mirrors.

In plain words
What is it for?
Use it to inspect heartbeat freshness, software-version drift, active sessions, the daemon's live health endpoint, and optional rollout-gate metrics.
Why use it?
It helps distinguish a stopped service from stale synchronization, version differences, or active-session issues when a dashboard looks wrong.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/bridge-daemon.py --health.

Good fit Use it to inspect heartbeat freshness, software-version drift, active sessions, the daemon's live health endpoint, and optional rollout-gate metrics.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mishahanin/heading-os
agentmods
npx agentmods add skills/mishahanin/heading-os/bridge-health

Made for: Claude Code.

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 bridge-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/mishahanin/heading-os/bridge-health/github.svg)](https://agentmods.dev/skills/mishahanin/heading-os/bridge-health)
Your own site
<a href="https://agentmods.dev/skills/mishahanin/heading-os/bridge-health"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/bridge-health/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 bridge-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/mishahanin/heading-os/bridge-health"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/bridge-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00086 $0.02089
Opus 5 $0.00043 $0.01045
Sonnet 5 $0.00017 $0.00418
Haiku 4.5 $0.00009 $0.00209

Measured 8d ago against content hash 88b9eee664d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

bridge-health scanned grade B with 2 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 8d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

`curl -sS -X POST "http://127.0.0.1:$PORT/refresh" -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"component":"pulse"}'`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -sS -X POST "http://127.0.0.1:$PORT/refresh" -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"component":"pulse"}'`.
.claude/skills/bridge-health/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bridge daemon health check

Wraps two CLI scripts into a single CEO ops command:

  • scripts/daemon-fleet-health.py -- fleet status grid (heartbeat freshness, version drift, active session count per workspace)
  • scripts/bridge-daemon.py --health -- live /health endpoint probe on the local daemon

Optionally surfaces the adoption-gate metrics (Phase 1 -> Phase 2 gate from the bridge spec, section 4) when called with --gate.

When to use

  • Sync-pill on the dashboard is amber or red
  • /push-updates pushed a daemon config change and the CEO wants to verify the fleet picked it up
  • The dashboard feels stale and you don't know if the daemon is dead or just slow
  • Before deciding whether to scale: Phase 1 (CEO only) to Phase 2 (full CEO coverage), or Phase 3 (exec pilot). --gate shows the gate verdict

When NOT to use

  • Single-script debugging: prefer python scripts/bridge-daemon.py --health directly when the question is "is this daemon process alive on this machine right now". /bridge-health is for the rollup.
  • One-line grep summary: prefer python scripts/bridge-daemon.py --status for a single grep-friendly line (port + pid + uptime + version + config_v + sessions + errors + last_hb). Designed for cron + shell pipelines.
  • Triggering refresh: there is no --refresh CLI flag. The terminal path is a POST to the loopback endpoint. Read the port and bearer token from .daemon-state/port and .daemon-state/token, the way step 3 below reads them for /telemetry/summary. Then run: curl -sS -X POST "http://127.0.0.1:$PORT/refresh" -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"component":"pulse"}'. The dashboard's sync-pill calls that same endpoint. It is a convenience, not the only way in. The daemon also refreshes on its own interval, so force a refresh only to get one early.
  • Tweaking config: edit corporate/daemon/config.yaml, commit, run /push-updates. /bridge-health is read-only.

Read the full file on GitHub · 170 lines

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. 8d ago Changed · +7 lines scan A → B 88b9eee664d2
  2. 12d ago First seen · 163 lines · 86 tokens per session scan A 63e8ce3b1f17

Subscribe to this mod's changes

bridge-health is a skill published in the GitHub repository mishahanin/heading-os (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 86 tokens to every session and 2,089 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.