harness-bridge: Skill for Claude Code

.claude/skills/setup/SKILL.md

setup is a skill for Claude Code from rbutera/harness-bridge. It costs 19 tokens per session (696 once invoked), scanned B, original, MIT.

A setup helper for connecting Claude Code and Codex CLI so they can call each other as MCP partners. MCP is a standard way for AI tools to communicate with external services or other agents.

In plain words
What is it for?
Letting Claude call Codex, letting Codex call Claude, or optionally adding Codex as a Claude Code teammate.
Why use it?
It removes the manual configuration needed to register the bridge and check that the connection works.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; reads ~/.codex paths.

This is rbutera/harness-bridge's own configuration. It tells Claude Code how to work on harness-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 harness-bridge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rbutera/harness-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/rbutera/harness-bridge/main/.claude/skills/setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rbutera/harness-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 setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rbutera/harness-bridge/setup"><img src="https://agentmods.dev/badge/skills/rbutera/harness-bridge/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 696 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00019 $0.00696
Opus 5.5 $0.00008 $0.00278
Sonnet 5.5 $0.00004 $0.00139
Haiku 4.5 $0.00002 $0.00070

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

Security

Grade B, and why

setup scanned grade B with 1 finding 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 2mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. First check if `~/.codex/config.toml` exists. If not, create the directory and file.
.claude/skills/setup/SKILL.md · 81 lines

How it starts

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

Set up claude-codex-bridge so Claude Code and Codex CLI can call each other as MCP partners.

The user may pass an argument: both (default), claude, or codex.

Setup Claude Code -> Codex (let Claude call Codex)

Run this command to register the codex MCP server:

claude mcp add codex -s user -- npx claude-codex-bridge serve codex

After running, verify it was added by checking:

claude mcp list

Confirm that codex appears in the list.

Setup Codex -> Claude (let Codex call Claude)

  1. First check if ~/.codex/config.toml exists. If not, create the directory and file.

  2. Read the existing file content. Then append or add the following TOML block (only if [mcp_servers.claude] is not already present):

[mcp_servers.claude]
command = "npx"
args = ["claude-codex-bridge", "serve", "claude"]
tool_timeout_sec = 600

Be careful not to duplicate the section if it already exists. If it exists, ask the user if they want to update it.

Install Codex Teammate Agent (optional)

The codex-teammate agent lets you spawn Codex as a Claude Code subagent/teammate. It knows how to use all 6 codex bridge tools automatically.

Run:

npx claude-codex-bridge install agent --global

Or for project-local:

npx claude-codex-bridge install agent --local

Verify the agent is available by starting a new Claude Code session. The agent will appear as codex-teammate subagent type in the Task tool.

Install /codex Skill for Claude Code (optional)

npx claude-codex-bridge install skill claude --global

Install /claude Skill for Codex (optional)

npx claude-codex-bridge install skill codex --global

After Setup

Tell the user:

  • For Claude Code: restart Claude Code or start a new session for the MCP server to be available
  • For Codex: restart Codex for the MCP server to be available
  • Available tools: codex_query, codex_review_code, codex_review_plan, codex_explain_code, codex_plan_perf, codex_implement (from Claude), and claude_query, claude_review_code, claude_review_plan, claude_explain_code, claude_plan_perf, claude_implement (from Codex)
  • Codex Teammate Agent: If installed, you can spawn Codex as a teammate with Task(subagent_type: "codex-teammate", prompt: "your task here")

Read the full file on GitHub · 81 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. 2mo ago First seen · 81 lines · 19 tokens per session scan B e3102c4ba1eb

Subscribe to this mod's changes

setup is a skill published in the GitHub repository rbutera/harness-bridge (1 stars, last pushed 20d ago), licensed MIT. It adds 19 tokens to every session and 696 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

trusty-squire

Use when a coding agent needs to sign up for a website or SaaS, provision an OAuth client or API key, pay a checkout, or otherwise act on a real website on the user's behalf — and the secret or card must NOT land in chat, source code, or a .env file. Trusty Squire is an MCP server that drives a real browser through…

Trusty-Squire/trusty-squire · 208 tokens

identityforge

Use Identity Forge to choose, inspect, apply, or evolve a complete design system; create brand projects; research names, domains, or EUIPO trademarks; and retrieve implementation-ready DESIGN.md guidance and tokens.

KasayoDotCom/identityforge-mcp · 44 tokens

context-research

Develop and resume project ideas using Context Router research records, preserving discussion stages, decisions and open questions, then turn agreed conclusions into linked backlog drafts. Use for idea exploration before implementation.

ukolov-dev/mcp-project-context-router · 40 tokens

project-context-workflow

Use Project Context Router task contracts, scoped context and verification when implementing features or fixing bugs in a configured repository. Use for implementation work; idea exploration belongs in context-research.

ukolov-dev/mcp-project-context-router · 40 tokens

adaptorch

Use when the user wants to hand a multi-step coding task to AdaptOrch, check or cancel an AdaptOrch run, fetch its artifacts, or see their AdaptOrch plan and usage. The tools come from this plugin's adaptorch MCP server.

dmae97/Adaptorch-MCP · 55 tokens

Session Handoff

Preserve and resume coding-session context with Session Handoff. Use at the start of repository work, before clearing context, before handoff, or when completing a spec or substantial stage.

Dev-Russo/session-handoff-mcp · 41 tokens