Claude-skill-registry codex-mcp
Use this `codex-mcp` skill to instruct another AI Agent to invoke a tool or execute a workflow on your behalf for the following scenario, 1.When you are requested to invoke a mcp tool that you don't have access (can use `ListMcpResourcesTool` to check) such as `context7`, `github`, `linear`, `jira`; 2.When you are requested to execute a complex workflow that require interacting with multiple mcp tools and bash CLI commands for example `github-project-create-items`, `github-project-list-items` workflows;
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/codex-mcp" ~/.claude/skills/majiayu000-claude-skill-registry-codex-mcp && rm -rf "$T"
manifest:
skills/data/codex-mcp/SKILL.mdsource content
codex-mcp
You MUST check whether
codex CLI and MCP server are available in the current bash environment with this bash command: codex mcp list. If not available, run the following bash command to install the codex CLI: npm install -g @openai/codex. Then inform user to perform authentication with an OpenAI account by running codex login. Ignore this instruction if the CLI is already available.
Tools
mcp__codex__codex
Run a Codex session. Accepts configuration parameters matching the Codex Config struct. Supported properties:
| Property | Type | Description |
|---|---|---|
(required) | string | Initial user prompt that seeds the Codex conversation. |
| string | Approval policy for generated shell commands: , , , . |
| string | Overrides the default base instructions for the session. |
| string | Prompt used when compacting the conversation. |
| object | Path to individual config settings toml file that override (see codex-config-toml-structure.md to understand how to create this file). |
| string | Working directory for the session. Relative paths resolve from the server process root. |
| string | Developer instructions that should be injected as a developer role message. |
| string | Optional override for the model name (e.g., , ) default is . |
| string | Name of the profile providing default options (defined in ). |
| string | Sandbox mode: , , or . |
mcp__codex__codex-reply
Continue a Codex session by providing the conversation id and follow-up prompt. Supported properties:
| Property | Type | Description |
|---|---|---|
(required) | string | Next user prompt to continue the Codex conversation. |
(required) | string | Identifier of the conversation to continue. |
Operational Requirements
- Always route qualifying requests through
withmcp__codex__codex
set tosandbox
(MUST) ,danger-full-access
set toapproval-policy
(MUST) andnever
set tomodel
(SHOULD).gpt-5.1-codex-mini - When an unknown MCP tool name is requested, use
to confirm if it is available. If not available, delegate toListMcpResourcesTool
to invoke this MCP tool by crafting acodex
with all necessary information and file referrences.prompt - When you need to run a command that would emit large stdout output but only a subset of that output is needed, MUST provide a precise
when delegating viaprompt
so the downstream agent knows which portion of the large output to collect or which external tool to execute.mcp__codex__codex - When
returns a result requiring your follow-up, continue the conversation withmcp__codex__codex
, reusing themcp__codex__codex-reply
present in the previous response.conversationId
Known MCP Server Tools
- When
MCP server tool (github
,mcp__github
) is requested, see mcp-github-usage.md for detailed usage instructions. Use the information in this file to craft a precisemcp__github__*
when delegating viaprompt
so the downstream agent can use themcp__codex__codex
MCP server tool exactly as intended.github - When
MCP server tool (linear
,mcp__linear
) is requested, see mcp-linear-usage.md for detailed usage instructions. Use the guidance in this file to compose precise prompts when delegating viamcp__linear__*
so the downstream agent invokes Linear tools correctly.mcp__codex__codex - When
MCP server tool is requested, see mcp-context7-usage.md for detailed usage instructions.context7