open-bridge: Instructions file for Claude Code

CLAUDE.md

open-bridge CLAUDE.md is an instructions file for Claude Code from bks-lab/open-bridge. It costs 624 tokens per session, scanned A, original, MIT.

Project instructions for Open Bridge, a setup that stores information about your repositories, clients, and working methods in plain Markdown and YAML files. An AI coding agent reads this context at the start of a session, regardless of which model or coding interface is used.

In plain words
What is it for?
Use it to guide session startup, task management, agent use, standing instructions, commands, and project lookup. It is also the Claude Code-specific supplement to the repository's main AGENTS.md manual.
Why use it?
It prevents the agent from starting each session without knowing the project background and working rules. A project registry is indexed so the agent can load details about a named repository or client without keeping every project in context all the time.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is bks-lab/open-bridge's own configuration. It tells Claude Code how to work on open-bridge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything open-bridge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bks-lab/open-bridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bks-lab/open-bridge/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bks-lab/open-bridge

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 open-bridge CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bks-lab/open-bridge/claude-md/github.svg)](https://agentmods.dev/instructions/bks-lab/open-bridge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bks-lab/open-bridge/claude-md"><img src="https://agentmods.dev/badge/instructions/bks-lab/open-bridge/claude-md/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 open-bridge CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bks-lab/open-bridge/claude-md"><img src="https://agentmods.dev/badge/instructions/bks-lab/open-bridge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 624 This file is loaded in full into every session.
When invoked 624 The same file — it is already loaded in full.
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.00624 $0.00624
Opus 5.5 $0.00250 $0.00250
Sonnet 5.5 $0.00125 $0.00125
Haiku 4.5 $0.00062 $0.00062

Measured 2d ago against content hash 8e673d51c9cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-bridge CLAUDE.md 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 2d 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.

CLAUDE.md · 41 lines

What it actually says

@AGENTS.md

Claude Code specifics

The canonical, tool-agnostic operating manual for this repo is AGENTS.md (Linux-Foundation convention, read natively by Codex/Cursor/Copilot/Gemini). Its size, and that of everything else a session loads, is reported by python3 scripts/measure-context.py rather than written down here, where it would go stale. AGENTS.md is inlined above via @AGENTS.md, so the full manual — session-start gate, rules, task management, agents, standing orders, commands — is already in your context. This file only adds the Claude-Code-specific bits.

The project registry (ecosystem.yaml, created at onboarding, per instance) is no longer @-imported. It is indexed: Phase 1 runs python3 scripts/context-index.py ecosystem.yaml, which emits the settings verbatim and one line per repo, customer and workspace; the entry itself arrives with --get <name> when somebody names one. The registry is the always-on file that grows with the instance rather than with this repo, and reading it whole meant carrying a paragraph about every project in order to know that the project exists. Details: docs/context-index.md.

That trade has a real cost worth naming: an @-import is resident for the whole session, while a Phase 1 read is ordinary conversation and can be compacted away later. The card is small enough to re-run, and --get is always available; a file large enough to matter here is too large to keep resident on that argument alone. Keeping the @-import beside a card: gets neither: measure-context.py fails it as contradiction, since the import loads the file whole.

Onboarding appends further @-imports here as it seeds the live USER files (e.g. identity/agent/SOUL.md + IDENTITY.md).

Run the Phase-0 session-start gate before responding. Belt-and-suspenders, so the gate survives even if the import above fails to resolve: Do not answer the first user message (even "hi", "status", "what can you do") before running Phase 0. Phase 0 mechanic, inlined here so it works even if @AGENTS.md is silently dropped: detect the current branch + whether a user/* branch exists + whether bridge-config.yaml is present, and route accordingly — on the core branch with no user/* and no bridge-config.yaml, trigger the NEW USER path (/bridge-onboard); otherwise route to the matching state (wrong-branch, orphan, broken-config, or normal task-management load).

If @AGENTS.md does not resolve in your harness, read AGENTS.md manually before responding.

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. 2d ago Changed · +3 lines · +73 tokens per session 8e673d51c9cf
  2. 1mo ago Changed d698eeca140c
  3. 1mo ago First seen · 38 lines · 551 tokens per session scan A 0a4e6e47be7d

Subscribe to this mod's changes

open-bridge CLAUDE.md is an instructions file published in the GitHub repository bks-lab/open-bridge (13 stars, last pushed yesterday), licensed MIT. It adds 624 tokens to every session, about $0.0025 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-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,786 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens