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.
npx agentmods add skills/aecru/codex-capability-bridge/lhr-use-codex-capabilitiesnpx skills add AEcru/codex-capability-bridge --skill lhr-use-codex-capabilitiesgit clone --depth 1 https://github.com/AEcru/codex-capability-bridgeWrote 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.
[](https://agentmods.dev/skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities)<a href="https://agentmods.dev/skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities"><img src="https://agentmods.dev/badge/skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.00859 |
| Opus 5 | $0.00031 | $0.00430 |
| Sonnet 5 | $0.00012 | $0.00172 |
| Haiku 4.5 | $0.00006 | $0.00086 |
Grade A, and why
lhr-use-codex-capabilities 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use Codex Capabilities
Use the codex-capability-bridge MCP tools to route work into Codex. Do not guess that a discovered capability is executable: inspect its runtime status first.
Routing workflow
- Call
search_codex_capabilitieswith the user's wording and required output type. - If the top result is ambiguous or reports a runtime limitation, call
describe_codex_capability. - Call
run_codex_capabilitywith:- the selected capability ID;
- the complete user task;
- the current working directory when files should be created there.
- If Codex requests clarification or additional work, call
continue_codex_taskwith the returned thread ID. - Report actual artifact paths returned by the bridge. Never claim that an image or file exists unless the bridge returned it or it is present on disk.
Selection rules
- Prefer exact capability-name matches such as
imagegen,browser,documents, orspreadsheets. - Prefer capabilities marked
executableover metadata-only discoveries. - Treat host-only capabilities as unavailable from Claude Code unless the bridge reports a tested backend.
- Do not install extra Codex plugins, authenticate accounts, elevate permissions, or change Codex configuration without explicit user approval.
- For file-producing work, use
workspace-write; otherwise default to the least privilege that can complete the task.
Example requests
- “使用 codex 的 imagegen 插件生成一张猫咪的图片”
- “使用 codex 的插件生成一张猫咪的图片”
- “让 codex 自动选择合适的能力完成这个 Word 文档”
For the second example, search with both the task text and outputKind: image. Select imagegen only when the doctor/runtime status says it can be executed in the current environment.
Failure handling — self-repair loop
Bridge errors include recovery steps in their text. Read the error, execute the suggested verification, then retry. Follow this decision table before asking the user for help:
| Error pattern | Recovery action |
|---|---|
Unknown capability with Did you mean: <ids> |
Retry with one of the suggested ids, preferring an executable match. |
Unknown capability without suggestions |
Call search_codex_capabilities with the task wording to obtain real ids, then describe_codex_capability to confirm before running. |
Capability name is ambiguous |
Use one of the full ids listed in the error. |
discoverable but not executable |
Call describe_codex_capability and check enabled/backend; if it comes from a disabled plugin cache, tell the user which plugin to enable in Codex, or pick an executable alternative from search results. |
No runnable Codex CLI / missing required tool |
Call codex_bridge_doctor, report the probe result, and relay the suggested environment fix (CODEX_CLI_PATH, update Codex) to the user. |
Working directory is outside the allowed project roots |
Retry with a cwd inside the current project; only suggest CODEX_BRIDGE_ALLOWED_ROOTS to the user for paths that must stay outside. |
timed out |
Retry once with a smaller or more specific task; if it still times out, tell the user the task needs CODEX_BRIDGE_TIMEOUT_MS raised. |
continue_codex_task fails on an old threadId |
Start a fresh run_codex_capability with the full task context instead. |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 53 lines · 62 tokens per session scan A 99bc9cedb497
lhr-use-codex-capabilities is a skill published in the GitHub repository AEcru/codex-capability-bridge (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 62 tokens to every session and 859 once invoked, about $0.0003 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.
Other skills, from other repositories
ideogram-ultra
Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.
model-compatibility
Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.
flux-txt2img
Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.
panel-node-pack-sync
Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (installcomfyui (action:"selfupdate"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way…
civitai
Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).
chief-strategy-officer
Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…