claude_bridge

claude_bridge is a skill for Claude Code, Codex from ellmos-ai/bach. It costs 71 tokens per session (462 once invoked), scanned A, original, MIT.

An HTTP server that connects Claude Code sessions to the BACH system. It loads available skills and protects the API with token authentication.

In plain words
What is it for?
Use it to run the bridge as a FastAPI server, load skills, and connect Claude Code sessions through its API.
Why use it?
It provides a controlled connection between Claude Code and BACH instead of exposing an unauthenticated service. The required token and allowed browser origins are configurable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run the bridge as a FastAPI server, load skills, and connect Claude Code sessions through its API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ellmos-ai/bach/claude_bridge
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ellmos-ai/bach --skill claude_bridge
Clone the repo
git clone --depth 1 https://github.com/ellmos-ai/bach

Made for: Claude Code, Codex.

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 claude_bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/ellmos-ai/bach/claude_bridge/github.svg)](https://agentmods.dev/skills/ellmos-ai/bach/claude_bridge)
Your own site
<a href="https://agentmods.dev/skills/ellmos-ai/bach/claude_bridge"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/claude_bridge/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 claude_bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/ellmos-ai/bach/claude_bridge"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/claude_bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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.00071 $0.00462
Opus 5.5 $0.00028 $0.00185
Sonnet 5.5 $0.00014 $0.00092
Haiku 4.5 $0.00007 $0.00046

Measured 1mo ago against content hash 3f7ae70dbdd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude_bridge 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 1mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (__init__.py, bridge_daemon.py, bridge_fackel_wrapper.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

system/hub/_services/claude_bridge/SKILL.md · 48 lines

What it actually says

Claude Bridge

Kategorie: Systemdienst (HTTP-Bridge)

Zweck

Der Ordner enthaelt die Claude Bridge: einen FastAPI/uvicorn-Server, der Claude-Code-Sessions an BACH anbindet. bridge_daemon.py startet den Server (server_api.py), skill_loader.py laedt die Skills, security.py kapselt die Authentifizierung und fackel.py enthaelt Schutzfunktionen.

Wichtig: auth_token in config.json ist Pflicht — ohne Token laeuft die API unauthentifiziert. cors_origins ist konfigurierbar. Einzelheiten zum Deployment (Hetzner CCX33, SSH-Tunnel) stehen in DEPLOYMENT.md im Ordner und werden hier nicht dupliziert.

Nutzung

# Server starten
PYTHONIOENCODING=utf-8 python bridge_daemon.py --server

# oder: config.json mit "mode": "server" (host 127.0.0.1:8080)

Dateien

  • bridge_daemon.py — Start und Steuerung
  • server_api.py — FastAPI-Server
  • skill_loader.py — Skill-Loader
  • security.py — Authentifizierung
  • fackel.py — Schutzfunktionen
  • DEPLOYMENT.md — Deployment (Hetzner CCX33, SSH-Tunnel)
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. 1mo ago First seen · 48 lines · 71 tokens per session scan A 3f7ae70dbdd4

Subscribe to this mod's changes

claude_bridge is a skill published in the GitHub repository ellmos-ai/bach (9 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 462 once invoked, about $0.0003 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-10-31.

Related

claude_bridge compared with skills from other repositories

claude_bridge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude_bridgeellmos-ai/bachSkill9todayMITA71Claude Code, Codex
django-patternsaffaan-m/ECCSkill314kyesterdayMITA32Claude Code, Kiro
x402browser-use/browser-useSkill122kyesterdayMITA166Claude Code
fastapi-patternsaffaan-m/ECCSkill314kyesterdayMITA35Claude Code, Kiro
open-sourcebrowser-use/browser-useSkill122kyesterdayMITA101Claude Code
mem0-statusmem0ai/mem0Skill70k3d agoApache-2.0A44Claude Code, Codex
statusmem0ai/mem0Skill70k3d agoApache-2.0A54Claude Code