Interface with the Codex agent for operations requiring the Codex model.
Interact with the Codex agent. This skill wraps input in strict JSON enforcement prompts and handles retries.
Triggers: "ask codex", "codex help", "consult codex"
# Usage: .claude/skills/codex/codex-agent.sh "Your prompt here"
.claude/skills/codex/codex-agent.sh "Summarize the history of AI."You can pass a JSON object with prompt, context, and schema.
{
"prompt": "Generate a user profile",
"schema": {
"type": "object",
"properties": {
"username": {"type": "string"},
"age": {"type": "integer"}
}
}
}.claude/skills/codex/codex-agent.sh '{"prompt": "...", "schema": {...}}'Success:
{
"key": "value",
...
}Error:
{
"ok": false,
"error": {
"code": "error_code",
"message": "Description"
}
}codex/SKILL.md
1721217
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.