Skip to content
Development
Skill

/codex-use

Guide to calling OpenAI Codex as a full-featured sub agent

From plugin
my-codex-plugin
212 skills1 agent1 MCP
Install
$ npx -y skills add nekohasekai/my-codex-plugin --skill codex-use --agent claude-code

How 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.md
name: codex-use
description: |-
    Guide to calling OpenAI Codex as a full-featured sub agent
user-invocable: false

Codex 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`.
Ships withmy-codex-plugin

Better Codex plugin for Claude Code

Get the whole plugin
Stats
21
Stars
5
Forks
Active
Maintenance
6d ago
Last commit
2mo ago
Created

Repo: nekohasekai/my-codex-plugin

Other skills on my-codex-plugin.