CtrlK
BlogDocsLog inGet started
Tessl Logo

codex

Interface with the Codex agent for operations requiring the Codex model.

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

Codex Agent

Interact with the Codex agent. This skill wraps input in strict JSON enforcement prompts and handles retries.

Activation

Triggers: "ask codex", "codex help", "consult codex"

Features

  • Strict JSON Output: The agent is prompted to return ONLY valid JSON.
  • Retry Logic: Automatically retries with stricter prompts if the first response is not valid JSON.
  • Schema Validation: Supports passing a JSON schema to validate the output against (if supported by the underlying implementation).

Usage

Simple Prompt

# Usage: .claude/skills/codex/codex-agent.sh "Your prompt here"
.claude/skills/codex/codex-agent.sh "Summarize the history of AI."

JSON Request (Advanced)

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": {...}}'

Response Format

Success:

{
  "key": "value",
  ...
}

Error:

{
  "ok": false,
  "error": {
    "code": "error_code",
    "message": "Description"
  }
}
Repository
stephenfeather/claude-skills
Last updated
First committed

Is this your skill?

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.