open-bridge: Instructions file for Codex

AGENTS.md

open-bridge AGENTS.md is an instructions file for Codex, OpenCode from bks-lab/open-bridge. It costs 8,304 tokens per session, scanned A, original, MIT.

Repository instructions for open-bridge, a central project that coordinates coding agents, repositories, and tools. AGENTS.md is the shared operating manual that different AI coding tools read.

In plain words
What is it for?
Use it when an agent starts work in open-bridge or needs to find the correct project, task rules, commands, or supporting documentation.
Why use it?
It gives agents one consistent set of startup steps, rules, safety limits, and navigation guidance. This reduces conflicting behavior between tools such as Claude Code and Codex.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is bks-lab/open-bridge's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/bks-lab/open-bridge

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bks-lab/open-bridge/agents-md"><img src="https://agentmods.dev/badge/instructions/bks-lab/open-bridge/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,304 This file is loaded in full into every session.
When invoked 8,304 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.08304 $0.08304
Opus 5.5 $0.03322 $0.03322
Sonnet 5.5 $0.01661 $0.01661
Haiku 4.5 $0.00830 $0.00830

Measured today against content hash 7ed54c3346c6, 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 AGENTS.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 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.

AGENTS.md · 635 lines

How it starts

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

BKS open-bridge: Operating Manual

This file is the canonical, tool-agnostic operating manual for this repo — session start flow, rules, task management, agents, standing orders, commands. It is for any AI coding agent (Claude Code, GitHub Copilot, Gemini CLI, Codex, Cursor, Windsurf, or any future tool). It is tool-agnostic with ONE exception — sub-agents are Claude Code only; every other feature works identically across tools. The filename follows the AGENTS.md convention (Linux Foundation); the content applies to all agents regardless of which name your tool looks for. CLAUDE.md and GEMINI.md are thin wrappers that point here.

This repo is your central command hub. From here you navigate to every repo, project, and tool in your ecosystem. Your agents handle analysis, deployment, security, communication, and monitoring — in parallel.

For humans: the README is the narrative + architecture overview with mermaid diagrams. Read it first if you're new to the project.

For you (the agent): this file is a lean router. It holds the behavioural invariants and guardrails, says what each system is and when it matters, and points at the rules/ and docs/ files that carry the mechanics.

Strategic status: bks-lab/open-bridge (OSS, MIT) is the public CORE layer. Downstream forks (org overlays, personal instances) add overlays via the /bridge-promote flow with scope: routing.

Required Reading

  1. This file (AGENTS.md) is the full operating manual. The name is a convention; the content applies to all agents.
  2. Read the session slice of bridge-config.yaml with python3 scripts/bridge-config.py --session (identity, purpose, user_profile, theme, language, work). The other fifteen blocks belong to the skill that owns them; read a block with --keys <block> when that skill runs.
  3. Index ecosystem.yaml if present — the project registry (repos, packages, infrastructure, workspaces). Created during onboarding, user-specific (ignored unless the origin is private, docs/structure.md), so absent on a fresh clone. It is not an @-import: Phase 1 runs python3 scripts/context-index.py ecosystem.yaml for the settings plus one line per entry, and --get <name> fetches an entry when the work names one — the split skills have always had, applied to a declared map (docs/context-index.md). ecosystem.example.yaml is present on a fresh clone as the registry template — onboarding uses it as the starting point (copy + auto-populate → ecosystem.yaml); do not hand-copy it.

Read the full file on GitHub · 635 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. today Changed · +3 lines · +54 tokens per session 7ed54c3346c6
  2. 2d ago Changed · -17 lines · -254 tokens per session 955050414b28
  3. 11d ago Changed · -1 lines · -6 tokens per session 652c68f13700
  4. 17d ago Changed · +15 tokens per session e7c18912d657
  5. 19d ago Changed · +1 lines · +29 tokens per session 00b51ea73b8b
  6. 22d ago Changed · +11 lines · +151 tokens per session 01dee11434bf
  7. 29d ago Changed · +1 lines · +28 tokens per session 2cbd6d29e5e4
  8. 1mo ago Changed · +1 lines · -1 tokens per session e5e45eca00f1
  9. 1mo ago Changed · +4 lines · +55 tokens per session ee128ba993eb
  10. 1mo ago First seen · 632 lines · 8,233 tokens per session scan A b8984d790f01

Subscribe to this mod's changes

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