/core:codex-agent-setupfrom core
Generates and installs Codex agent adapters so plugin personas are invocable from the Codex CLI. Use for setting up, updating, checking, or uninstalling agents.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Installs the plugin's generated Codex custom-agent adapters as regular files into a Codex agents directory. Explicit invocation only — do not run unless the user asked to install, update, check, or uninstall these agents.
~/.codex/config.toml or any global Codex config..codex/agents/), not user-global.--check first when the user asks what would change.Run via the bundled launcher (resolves checkout or installed plugin cache):
bash "${SKILL_DIR}/scripts/setup.sh" [options]
If SKILL_DIR is unknown, resolve from this skill's path or set
BOPEN_PLUGIN_ROOT to the plugin root and run:
python3 "${BOPEN_PLUGIN_ROOT}/scripts/codex-agents/install.py" [options]
| User intent | Command |
|---|---|
Install curated roster into project .codex/agents/ | bash scripts/setup.sh |
Install curated roster into user ${CODEX_HOME:-~/.codex}/agents/ | bash scripts/setup.sh --user |
| Install all generated agents (project) | bash scripts/setup.sh --all |
| Install all into user scope | bash scripts/setup.sh --user --all |
| Dry-run / drift check | bash scripts/setup.sh --check (add --user / --all as needed) |
| Uninstall managed agents | bash scripts/setup.sh --uninstall (add --user if installed user-scope) |
| Overwrite an unmanaged name collision | bash scripts/setup.sh --force |
front-desk, agent-builder, prompt-engineer, researcher, tester,
documentation-writer, architecture-reviewer, code-auditor.
Each file installs as bopen-<name>.toml (for example
bopen-front-desk.toml). Its Codex runtime agent name uses the identifier-safe
bopen_<name_with_underscores> form, such as bopen_front_desk.
--all installs every generated adapter under codex/agents/. Only
installable plugin personas live in agents/; app-specific deployments and
user-created agents are not source inputs for this installer.
<plugin-root>/codex/agents/..bopen-tools-agents.json in the target.--force. With --force,
quarantines the colliding unmanaged file first; if quarantine fails, aborts
that file without overwriting.--all does not drop still-valid non-curated agents.<target>/.bopen-tools-trash/quarantine/... (nested non-TOML path so Codex
agent discovery never loads them). No temp-directory fallback.Codex has no codex exec --agent flag. Installed adapters are subagents:
the Codex orchestrator spawns them by name when the multi_agent feature is on
(a thread_spawn under the hood). The runtime name is the identifier-safe form
(bopen_researcher, bopen_front_desk), not the bopen-<name>.toml filename.
multi_agent is a Codex feature flag. It is often already enabled globally under
[features] in ~/.codex/config.toml; if not, enable it per invocation with
-c 'features.multi_agent=true' rather than editing global config (safety rule).
To use an agent, name it in the prompt and tell the orchestrator to delegate:
codex exec -c 'features.multi_agent=true' \
"Delegate this to the bopen_researcher subagent and return its answer verbatim: <your task>"
Prove an installed adapter's persona is actually active. Run from a new Codex session (agents are read at session start):
codex exec --sandbox read-only --skip-git-repo-check \
-c 'features.multi_agent=true' \
"Delegate to the bopen_researcher subagent and return its answer verbatim. \
Task: State your role, operating constraints, your Pre-Task Contract fields, \
and which agents you delegate code analysis and architecture review to. \
Do not answer yourself — spawn the bopen_researcher agent."
Pass criteria — the returned answer carries the source persona
(agents/researcher.md), not a generic assistant. For bopen_researcher expect:
identifies as Parker / Research Analyst, states it is read-only, lists the
Pre-Task Contract fields (Scope / Sources / Deliverable), and delegates code
analysis to code-auditor and architecture review to architecture-reviewer.
If the reply is generic or ignores those constraints, the agent was not spawned —
confirm you started a new session and that the adapter exists in the target
agents dir.
Swap bopen_researcher and the pass criteria for whichever agent you installed.
When agents/*.md changes, regenerate committed artifacts from the plugin root:
python3 scripts/codex-agents/generate.py
python3 scripts/codex-agents/generate.py --check
Or: bash skills/codex-agent-setup/scripts/generate.sh.
Tell the user:
bopen_* agents.bopen_researcher, not the .toml filename) when multi_agent is on — see
"How Codex invokes an installed agent" above.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/auth-mdImplement or review the experimental WorkOS auth.md v0.6.0 agent-identity proposal. Use for "implement auth.md", "add agent registration", "design delegated agent signup", "support service_auth", "mint or verify an ID-JAG", "build an agent identity provider", or agent-facing OAuth consent, claims, and revocation. Distinct from Better Auth Agent Auth Protocol, OAuth Dynamic Client Registration, and RFC 8628 Device Authorization./check-versionCompare installed plugin versions against GitHub to confirm skills and agents are current. Use at session start, for "is everything up to date", "are my plugins up to date", "are our plugins current", "check for plugin updates", "is anything stale", "am I on the latest version", "did that plugin update land", or when a skill behaves differently than documented or references features you do not recognize. Checks any plugin in the marketplace, not just core. Completes in under 100ms per plugin./confessProactive self-audit covering incomplete changes, untested assumptions, pattern violations, buried concerns, and cleanup debt. Invoke before ending a session, marking a task done, or saying "complete", and when the user asks "are you sure?", "did you miss anything?", "anything else?", or "audit your work". Do not wait to be asked./front-deskRoute to the right agent, skill, or service provider. Use for "who handles X?", "what agents are available?", "team roster", "what skills are available?", "where do I find skill X?", "who should I talk to about Z?", "install in Grok Bot", "stand up the roster", or "Grok Bot teammates". Also covers agent-adapter availability, installing skills, and org email drafting. Route SOC 2 and audit readiness to Anthony in product-skills./hammertimeThis skill should be used when the user mentions a behavioral rule they want enforced, says "always do X", "never do Y", "stop doing Z", "from now on", asks about HammerTime rules, wants to create a stop hook rule, mentions behavioral guardrails, or wants to understand how the HammerTime stop hook system works. Teaches how to write rules for the HammerTime stop hook system./hook-managerList, enable, or disable individual core hooks and check their prerequisites. Use for "list hooks", "enable a hook", "disable a hook", "hook setup", "hooks config", or a [BOPEN-HOOKS-SETUP] directive. For the full harness view, use setup.core@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin coreOther plugins' skills for the same job