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.
git clone --depth 1 https://github.com/bks-lab/open-bridgenpx agentmods add skills/bks-lab/open-bridge/bridge-attachWrote 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.
[](https://agentmods.dev/skills/bks-lab/open-bridge/bridge-attach)<a href="https://agentmods.dev/skills/bks-lab/open-bridge/bridge-attach"><img src="https://agentmods.dev/badge/skills/bks-lab/open-bridge/bridge-attach/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.
<a href="https://agentmods.dev/skills/bks-lab/open-bridge/bridge-attach"><img src="https://agentmods.dev/badge/skills/bks-lab/open-bridge/bridge-attach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.01022 |
| Opus 5.5 | $0.00046 | $0.00409 |
| Sonnet 5.5 | $0.00023 | $0.00204 |
| Haiku 4.5 | $0.00012 | $0.00102 |
Grade A, and why
bridge-attach 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bridge-attach
A Bridge session starts in the Bridge folder; the work happens in repos. This skill gives a
session in any repo exactly one Bridge, the one this skill lives in, at start or in the middle
of the work. Background, measurements and limits: docs/bridge-attach.md.
Paths.
$SKILL_DIRis this skill's folder (the Base directory). Run Bridge commands as"$SKILL_DIR/../../bin/bridge-run" <command>, written as a path from the session's own folder: the path resolves through the.claude/skillslink to the Bridge'sbin/, andbridge-runexecutes the command in the Bridge root. Nocdis needed; acdinto the Bridge moves this session's shell out of its repo, and spelled out by hand$SKILL_DIR/../..can end in.claude/. The attach text names the root.
When the skill runs
- If
BRIDGE_ATTACHis1in the environment, the session was started with the shortcut below and is attached already. Run step 2 only when the user asks for a fresh state. - Run
"$SKILL_DIR/../../bin/bridge-run" python3 scripts/bridge-attach.py slice --cwd "$PWD"and take its output as this session's attach text. It names the Bridge, the context tag of this repo, the manual, how Bridge commands and log rows are written, the memory folder, and the state of the repo's context: matching inbox items (all others only counted), board counts, recent log rows. Exit 3 means the Bridge is not attachable (not on auser/*branch, nobridge-config.yaml, or the folder is the Bridge itself): say why and stop. - Say in one line what this way does not attach: the Bridge's project hooks (log check, time tracking) and its memory as auto memory. The shortcut at start brings both.
Three ways in
| Way | How | What comes along |
|---|---|---|
| 1 · in the session, any time | /bridge-attach. The skill must be listed: the session was started with --add-dir <root>, or the user types /add-dir <root> first |
attach text as conversation content; /compact re-attaches this skill's own text, not the attach text, which is summarized with the rest of the conversation |
| 2 · at start | claude --add-dir <root> "/bridge-attach", or the shortcut <root>/bin/bridge-attach claude |
the shortcut puts the attach text into the system prompt (no size cap, survives compaction), replays the Bridge's own hooks and sets its memory; also codex (with the Bridge skills as bridge:<name>) and copilot |
| 3 · automatic | not built: a SessionStart hook cuts its text at 10,000 characters and a hook in the user's global settings fires in every headless run on the machine | a terminal app that starts agents can call bridge-attach.py plan instead |
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.
- today Changed feb9040f2676
- yesterday First seen · 61 lines · 115 tokens per session scan A 983ea47fdfd6
bridge-attach is a skill published in the GitHub repository bks-lab/open-bridge (16 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 1,022 once invoked, about $0.0005 per session on Opus 5.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-11-29.
bridge-attach compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bridge-attachbks-lab/open-bridge | Skill | 16 | today | MIT | A | 115 | Claude Code |
| agent-quorum-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |
| agent-agentruvnet/ruflo | Skill | 83k | today | MIT | A | 13 | Claude Code |
| agent-crdt-synchronizerruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agent-performance-benchmarkerruvnet/ruflo | Skill | 83k | today | MIT | A | 22 | Claude Code |
| agent-topology-optimizerruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| flow-nexus-platformruvnet/ruflo | Skill | 83k | today | MIT | A | 24 | Claude Code |