codex-bridge
Skill38 starsChanged 3 months agoApache-2.0View on GitHub
Answers questions about and routes tasks for the hushh-research codebase. Use whenever the user asks about or wants to change anything this repo owns, including consent-protocol, Operons, HCT, Kai, MCP, IAM, PKM, vault, backend, frontend, mobile, security, docs, comms, ops, skill authoring, and any new specialist added under .codex/ later. Reads .codex/skills/, .codex/workflows/, and .codex/agents/ at invocation time, composes a briefing the way codex route-task does (workflow plus owner_skill plus default_spoke unioned), surfaces .codex/agents/* as advisory delegation lanes, and auto-discovers anything added to the tree without a bridge edit.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- RomeoRaven/codex-bridge-plugintheir own version, first seen Aug 23, 2026
- 651002/codex-eyes-handstheir own version, first seen Aug 15, 2026
- zirui-song/claude-skillstheir own version, first seen Aug 12, 2026
- yaohui325/codex-bridgetheir own version, first seen Aug 11, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- yaohui325/codex-bridge★ 49same name
- zirui-song/claude-skills★ 17same name
- 651002/codex-eyes-hands★ 4same name
- RomeoRaven/codex-bridge-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hushh-webapp/AGENTS.mdAGENTS.md
- hushh-webapp/CLAUDE.mdCLAUDE.md
- hushh-icon-themeSkill
- access-explainedSkill
- animateSkill
- animation-vocabularySkill
- apple-designSkill
- brandkitSkill
- client-env-paritySkill
- deploy-uatSkill
- design-taste-frontendSkill
- design-taste-frontend-v1Skill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- full-output-enforcementSkill
- gcp-accessSkill
- gpt-tasteSkill
- high-end-visual-designSkill
- hushh-icon-themeSkill
- hushh-research-shipSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- impeccableSkill
- improve-animationsSkill
- industrial-brutalist-uiSkill
- kg-feature-deliverySkill
- location-header-systemSkill
- minimalist-uiSkill
- mobile-bug-logSkill
- pick-ui-librarySkill
- prototypeSkill
- redesign-existing-projectsSkill
- release-ios-appstoreSkill
- review-animationsSkill
- run-ios-simSkill
- safe-changesSkill
- senior-engineeringSkill
- ship-disciplineSkill
- ship-ios-testflightSkill
- ship-testflightSkill
- ship-without-actionsSkill
- stitch-design-tasteSkill
- wire-voice-actionSkill
- wire-voice-navigationSkill
- hushh-icon-themeSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
When you cannot reach .codex/ to fetch the routing contracts, report that routing is unavailable and inherit the communication rules in …
- Distinctive: line 20
If the briefing header shows a disambiguation table or a catalog, do not fabricate a signature, invoke the bridge again with the chosen …
- Distinctive: line 32
Treat it as the instruction set:
- Very specific: line 37
Run the composed Required Checks: before declaring done. The Bash(python3 *) grant covers Python-based checks.
- Very specific: line 38
Hand off on drift: If work expands, stop and /codex-bridge <next> — usually the next entry in handoff_chain.
- Very specific: line 54
No strong match. Pick by description, re-invoke /codex-bridge <name>.
- Very specific: line 61
If delegation fits, confirm with the user before invoking the corresponding /agent <name>.
- Very specific: line 62
When the briefing appears as a Suggested delegation lanes footer on a skill or workflow briefing, treat it as context only.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Bridge
Reads .codex/ at invocation time and composes a briefing the way ./bin/hushh codex route-task does: workflow → owner_skill + default_spoke → union of required_reads, required_commands, handoff_chain, verification_bundle, risk_tags.
Response rules
The repository routing contracts are the source of truth. The enforceable rules live in .codex/skills/comms-community/references/reply-rules.md and are injected into the routed briefing when the turn is a community reply — the route lands on comms-community / community-response, or the prompt names the channel outright (see scripts/route.py). They are deliberately not injected into engineering questions: they are a 180-line Discord tone contract, and a question mark in a bug report is not a request for Discord voice. Follow that file literally when it does load. If it conflicts with anything written here, it wins.
Host invocation guidance:
- When you cannot reach
.codex/to fetch the routing contracts, report that routing is unavailable and inherit the communication rules in rootAGENTS.md. Do not substitute a channel-specific style or fabricate a routed lane. - Pull the signature values (
<skill-id>,<workflow-id>) from the routed briefing header (# Routed workflow: .../# Routed skill: ...). - If the briefing header shows a disambiguation table or a catalog, do not fabricate a signature, invoke the bridge again with the chosen name first.
Anything stylistic beyond this belongs in reply-rules.md, not here. Edit the codex file and the bridge will pick it up on the next invocation.
Routed briefing
!python3 ${CLAUDE_SKILL_DIR}/scripts/route.py $ARGUMENTS
How to execute what's above
A single skill or workflow briefing
Treat it as the instruction set:
- Scope check. Honor the skill's "Do Use" / "Do Not Use",
primary_scope,owned_paths. If the task falls outside, invoke/codex-bridge <handoff-target>instead of improvising. - Read first. Open every
.mdunder "Read First (composed)" before touching code. The composed list already includes the workflow's, the owner's, and the spoke's required_reads. - Follow the Workflow / Playbook section verbatim. That's what codex has already decided works.
- Run the composed Required Checks before declaring done. The
Bash(python3 *)grant covers Python-based checks; other bash tools will prompt once. - Hand off on drift. If work expands, stop and
/codex-bridge <next>— usually the next entry inhandoff_chain.
A compact pointer (Routed lane (compact))
The match was plausible but not confident, so the bridge sent the pointer instead
of the full playbook: lane name, owner/spoke, read-first paths, required checks,
and the runner-up candidates. Treat it as a suggestion. If it is the right lane,
run /codex-bridge <name> to load the full briefing; if it is not, ignore it and
proceed with the user's request as stated.
An ambiguity / disambiguation table
Multiple skills scored close. Prefer the spoke over the owner when both match; prefer a workflow over a bare skill when a workflow is listed (workflows compose across owner + spoke).
A catalog
No strong match. Pick by description, re-invoke /codex-bridge <name>.
An agent briefing
The matched entry is a repo-scoped custom agent (under .codex/agents/), not a skill or workflow. Treat it as a delegation lane, not instructions to execute directly:
- Decide whether the current turn actually benefits from delegation. Most single-lane requests do not.
- If delegation fits, confirm with the user before invoking the corresponding
/agent <name>. Subagent use is explicit only per .codex/skills/agent-orchestration-governance/references/delegation-contract.md. - When the briefing appears as a
Suggested delegation lanesfooter on a skill or workflow briefing, treat it as context only. Execute the primary briefing normally.
A --check report
Surface findings to the user. Don't auto-fix — --check is a health report, not a migration.
Invocation patterns
/codex-bridge # catalog of owners, spokes, workflows, agents
/codex-bridge backend-api-contracts # compose skill briefing
/codex-bridge security-consent-audit # compose workflow briefing (owner+spoke unioned)
/codex-bridge governor # compose agent briefing (delegation lane)
/codex-bridge "how does Kai maintain session continuity" # free-text → token scoring
/codex-bridge --check # structural lint of .codex treeDesign
- Source of truth:
.codex/skills/*,.codex/workflows/*, and.codex/agents/*. Edit there; the bridge re-reads every invocation. - Composition mirrors codex. Routing emits the same union of fields that
repo_scan.py::build_route_taskproduces, so Claude makes the same scope decisions codex would. - Agents are advisory lanes, not winners. Exact agent name routes to an agent briefing. Free-text never elevates an agent above a matching skill or workflow. On explicit skill or workflow invocations, matching agents appear as a compact
Suggested delegation lanesfooter (suppressed on Q&A turns and on close-scoring ties). - Progressive disclosure. Only the routed briefing enters context, not the full corpus. The
--hookpath adds a second axis: silence below the gate, a compact pointer at medium confidence or when a rival lane scores within 2 points, and the full composed briefing only when the match is both strong and unambiguous. - Rarity-weighted matching. Token overlap is weighted by how rare the token is in the corpus, so shared words (
audit,review,contract) stop deciding the route and a path the user actually typed outranks any amount of prose overlap. Fixtures in fixtures/routing_cases.json pin the expected lane for representative prompts and cap total injected size;scripts/test_route_hook.pyenforces both in CI. - Path-aware auto-trigger.
paths: .codex/**, consent-protocol/**, hushh-webapp/**, docs/**covers the repo surfaces where a specialist applies.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

