lhr-use-codex-capabilities

lhr-use-codex-capabilities is a skill for Claude Code, Codex from AEcru/codex-capability-bridge. It costs 62 tokens per session (859 once invoked), scanned A, original, Apache-2.0.

Instructions for finding and running locally installed Codex skills, plugins, and MCP-backed capabilities. They explain how to search for a capability, check whether it can run, delegate the task, and report returned files.

In plain words
What is it for?
For routing tasks to capabilities such as image generation, browsing, document work, or spreadsheets, and for handling the resulting artifacts and follow-up requests.
Why use it?
They reduce the risk of choosing an unavailable capability or claiming that work was completed without evidence. They also define how to continue a delegated task when Codex asks for more work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the codex-capability-bridge plugin — 1 skill shipped together

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 skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities
Any agent
npx skills add AEcru/codex-capability-bridge --skill lhr-use-codex-capabilities
Clone the repo
git clone --depth 1 https://github.com/AEcru/codex-capability-bridge

Made for: Claude Code, Codex.

Or install codex-capability-bridge, the plugin that ships this one along with the rest of its 1 skill.

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 lhr-use-codex-capabilities

README.md
[![agentmods](https://agentmods.dev/badge/skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities.svg)](https://agentmods.dev/skills/aecru/codex-capability-bridge/lhr-use-codex-capabilities)
Your own site
<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>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 859 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.1 $0.00062 $0.00859
Opus 5 $0.00031 $0.00430
Sonnet 5 $0.00012 $0.00172
Haiku 4.5 $0.00006 $0.00086

Measured 5d ago against content hash 99bc9cedb497, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

plugins/codex-capability-bridge/skills/lhr-use-codex-capabilities/SKILL.md · 53 lines

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

  1. Call search_codex_capabilities with the user's wording and required output type.
  2. If the top result is ambiguous or reports a runtime limitation, call describe_codex_capability.
  3. Call run_codex_capability with:
    • the selected capability ID;
    • the complete user task;
    • the current working directory when files should be created there.
  4. If Codex requests clarification or additional work, call continue_codex_task with the returned thread ID.
  5. 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, or spreadsheets.
  • Prefer capabilities marked executable over 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.

Read the full file on GitHub · 53 lines

Files

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.

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. 5d ago First seen · 53 lines · 62 tokens per session scan A 99bc9cedb497

Subscribe to this mod's changes

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.

Related

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.

artokun/comfyui-mcp · 68 tokens

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.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

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…

artokun/comfyui-mcp · 206 tokens

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).

artokun/comfyui-mcp · 76 tokens

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…

cbrock84/headcount · 93 tokens