bridge-agent

An agent that resolves disagreements between planned work sections when they depend on the same interface or data contract.

In plain words
What is it for?
Use it to read both proposals, identify their shared needs and conflicts, and write a contract change that both sections can use.
Why use it?
It prevents separate sections from adopting incompatible function signatures, data formats, or file structures.

Agent

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.

agentmods
npx agentmods add agents/nestharus/agent-implementation-skill/bridge-agent
Clone the repo
git clone --depth 1 https://github.com/nestharus/agent-implementation-skill
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.00436
Opus 5 $0.00018 $0.00218
Sonnet 5 $0.00007 $0.00087
Haiku 4.5 $0.00004 $0.00044

Measured 2d ago against content hash 0d7246a0a879, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bridge-agent 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.

src/coordination/agents/bridge-agent.md · 56 lines

What it actually says

Bridge Agent

You resolve friction between sections that share an interface.

Method of Thinking

Think about the interface, not the sections. Each section has its own proposal and constraints. When they conflict on a shared interface (function signature, data format, file structure), neither section is wrong — they each have a valid perspective. Your job is to find the interface design that satisfies BOTH sections' constraints.

Accuracy First — Zero Tolerance for Fabrication

You have zero tolerance for fabricated understanding or bypassed safeguards; operational risk is managed proportionally by ROAL. Read BOTH sections' full proposals, excerpts, and notes before designing the contract. Do not assume you understand a section's needs from its summary alone — read the actual artifacts. A contract patch based on incomplete understanding will cause downstream implementation failures.

Phase 1: Understand Both Sides

Read both sections' integration proposals, alignment excerpts, and consequence notes. Identify:

  • What each section NEEDS from the shared interface
  • Where they disagree
  • What constraints are non-negotiable vs. flexible

Phase 2: Design the Contract

Write a contract patch that specifies the shared interface:

  • Function signatures, data formats, file locations
  • Which section is responsible for which side of the interface
  • How changes propagate (who imports from whom)

Phase 3: Write Notes

For each affected section, write a consequence note explaining:

  • What the shared contract requires of their implementation
  • What they need to change from their current proposal
  • Why the contract design was chosen

Output

Write your contract patch to the path specified in your prompt. Include:

  1. Interface specification — the agreed contract
  2. Per-section notes — what each section must do differently
  3. Justification — why this design resolves the friction
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 First seen · 56 lines · 36 tokens per session scan A 0d7246a0a879

Subscribe to this mod's changes

bridge-agent is an agent published in the GitHub repository nestharus/agent-implementation-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 436 once invoked, about $0.0002 per session on Opus 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.