codex-provider

codex-provider is a skill for Claude Code, Codex from get-bb/bb. It costs 29 tokens per session (1,529 once invoked), scanned A, original, MIT.

A skill for inspecting and troubleshooting BB sessions that use the Codex provider, including model selection, plans, message reruns, and context compaction. Codex is the underlying coding-agent service used by those sessions.

In plain words
What is it for?
Use it to inspect available Codex models on the target computer, clear a durable goal, edit or rerun eligible messages, or compact an idle or failed session.
Why use it?
It helps distinguish a session setting problem from a model-access problem and provides recovery actions for supported sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Use it to inspect available Codex models on the target computer, clear a durable goal, edit or rerun eligible messages, or compact an idle or failed session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-bb/bb/codex-provider
About the project

bb is an agentic IDE that lets users control, customize, and automate a software-development environment through a desktop app, web app, command-line interface, or HTTP API. Developers use it to run work in observable threads that can be steered or handed off to other agents. Its catalogue add-ons provide skills and instructions for working with bb.

get-bb/bb · 6,228 stars · on GitHub · getbb.app

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.

Any agent
npx skills add get-bb/bb --skill codex-provider
Clone the repo
git clone --depth 1 https://github.com/get-bb/bb

Made for: Claude Code, Codex.

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 codex-provider

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-bb/bb/codex-provider"><img src="https://agentmods.dev/badge/skills/get-bb/bb/codex-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00029 $0.01529
Opus 5.5 $0.00012 $0.00612
Sonnet 5.5 $0.00006 $0.00306
Haiku 4.5 $0.00003 $0.00153

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

Security

Grade A, and why

codex-provider 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 6d 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/provider-codex/skills/codex-provider/SKILL.md · 107 lines

How it starts

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

Codex provider

The provider requires Codex CLI 0.136.0 or newer. On Codex 0.145.0 and newer, Disable provider subagents disables native subagent tools through agents.enabled and overrides features.multi_agent_v2 to false for BB sessions. Older versions retain the legacy subagent settings.

Codex supports structured plan requests, editing and rerunning eligible messages, and compaction through the corresponding core bb thread commands. Stopping a running Codex thread pauses its active Goal, as Codex's own client does, so later messages and clearing do not restart it. Send /goal resume to make a paused, blocked, or usage-limited Goal active again; Codex starts working on it in that message's turn. /goal pause and /goal clear pause or remove the Goal without starting a turn, and any other /goal text goes to Codex as a normal prompt. bb thread clear-goal <id> also removes the thread's Goal, whatever its status, and waits for provider confirmation. Inspect the thread before recovery actions.

When switching between local Codex and Account Pooler routing, bb checks the provider returned by a successful resume and handles Codex's structured provider-mismatch and missing-pool errors. When migration is needed, bb forks the complete native history into the selected provider before sending a turn. BB retains the thread, workspace, visible history, and original native session. A copied Goal waits for the next explicit turn. A failed migration stops the turn and reports the provider error. This recovery applies to BB sessions.

The Codex app-server process receives the thread environment: machine and project variables, GitHub credentials, and plugin contributions such as the Account Pooler token. Codex's own shell_environment_policy decides which of them reach the agent's commands. Codex's default passes all of them, and an exclude such as ["*TOKEN*"] removes the matching ones. bb always sets its non-secret context variables there, so the bb CLI works under any policy: BB_THREAD_ID, BB_PROJECT_ID, BB_ENVIRONMENT_ID, BB_THREAD_STORAGE, BB_CLI, BB_SERVER_URL and BB_HOST_DAEMON_PORT.

Codex questions from request_user_input pause the turn until answered. Questions from request_user_input_async do not pause it: the plugin opens a question card for each one that stays open for up to an hour after the turn ends. Submitting sends the answer to the thread as a message (steering an active turn or starting a new one); dismissing sends nothing. From the CLI, find it with bb thread interactions list <thread> and answer with bb thread interactions respond <interactionId> <thread> --value '{"answers":{"question-1":{"selected":["option-2"]}}}'. Questions and options are numbered from 1 in order; use "freeText" for a typed answer.

Codex relays MCP elicitations (mcpServer/elicitation/request) as a provider-codex/mcp-elicitation interaction that pauses the turn. Every card names the requesting MCP server. Computer Use app access (only from Codex's cua_repl server; Computer Use metadata from any other server shows as a plain tool approval) shows the app name and native icon, keeps high-risk warnings visible, and offers Allow for this session or Always allow only when Codex offers that scope; Codex stores the grant. MCP tool-call approvals (codex_approval_kind: "mcp_tool_call") show the tool and its arguments and offer Allow, plus Allow for this session or Always allow when Codex offers them. These are separate from macOS Accessibility and Screen Recording permissions. Standard forms accept text, numbers, integers, booleans, and single or multiple choices with defaults, required fields, and supported constraints; answers are validated in the UI and again before reaching Codex. URL requests show the destination and open only on user action; acceptance means the URL opened, not that the external flow finished. Unsupported schemas offer only Decline. Answer from the CLI with bb thread interactions respond <interactionId> <thread> --value '<json>' (SDK: threads.interactions.respond), passing {"action":"accept","persist":"session"} (or "always" when scopes includes it) for app access, {"action":"accept"} or an offered persist for tool approvals, {"action":"accept","content":{...}} for forms, {"action":"accept"} for URLs after the user opens them, or {"action":"decline"} / {"action":"cancel"}. Invalid responses never grant access. Stopping the turn answers the request with cancel.

Read the full file on GitHub · 107 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. 6d ago Changed · +9 lines ebc7da269e6d
  2. 12d ago Changed · +8 lines e7ecd0273fab
  3. 13d ago Changed · +5 lines 5cfd4c5429c5
  4. 1mo ago Changed · +6 lines cd143febdff3
  5. 1mo ago Changed · +25 lines · +9 tokens per session a51db88d8f02
  6. 1mo ago Changed · +16 lines a2a9df40d68f
  7. 1mo ago Changed · +10 lines 529543a7f3fd
  8. 1mo ago Changed · +9 lines ddabf382c124
  9. 2mo ago First seen · 19 lines · 20 tokens per session scan A 0bb74562812f

Subscribe to this mod's changes

codex-provider is a skill published in the GitHub repository get-bb/bb (6,228 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 1,529 once invoked, about $0.0001 per session on Opus 5.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-09-07.

Related

codex-provider compared with skills from other repositories

codex-provider next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-providerget-bb/bbSkill6.2ktodayMITA29Claude Code, Codex
using-grovebearlike/GroveSkill913d agoMITA92Claude Code
working-in-grovebearlike/GroveSkill913d agoMITA100Claude Code
collaborating-on-diagramsbearlike/GroveSkill913d agoMITA68Claude Code
mocking-up-in-grovebearlike/GroveSkill913d agoMITA90Claude Code
leading-in-grovebearlike/GroveSkill913d agoMITA182Claude Code
configuring-grovebearlike/GroveSkill913d agoMITB92Claude Code