Skill
Development
Skill
/codex-use
Guide to calling OpenAI Codex as a full-featured sub agent
Install
$ npx -y skills add nekohasekai/my-codex-plugin --skill codex-use --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/codex-use
Context preview
The summary Claude sees to decide when to auto-load this skill.
Guide to calling OpenAI Codex as a full-featured sub agent
SKILL.md
codex-use.SKILL.mdname: codex-use
description: |-
Guide to calling OpenAI Codex as a full-featured sub agent
user-invocable: falseCodex is very affordable and fast, making it ideal for outsourcing all tasks that don't require design work.
`mcp__plugin_my-codex-plugin_codex__codex`( `prompt`: <Input Prompt> )
It returns a thread ID, allowing you to continue interacting after it completes (like SendMessage):
`mcp__plugin_my-codex-plugin_codex__codex-reply`( `threadId`: <Thread ID Returned By mcp__codex__codex> `prompt`: <Continued Prompt> )
- Codex has been configured to read CLAUDE.md, so you don't need to add extra commands; simply use it just as you would the Claude Agent.
- MUST NOT set any parameters other than `prompt`.

