agentleFS
CreceraDigitalCreceraDigital/crecera-skills/skills/codex/SKILL.md

codex

Skill0 starsChanged 4 months agoMITView on GitHub

Talk to OpenAI Codex CLI for plan refinement, code review, research, and brainstorming. Use when user says "talk to codex", "ask codex", "have codex review", "continue with codex", or "follow up with codex". Uses gpt-5.4 with medium or high reasoning effort. Maintains conversation sessions for multi-turn discussions.

  • Installs packages

79 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use minecraft-modpack-server, pokemon-player and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • braxtonROSE4Skill

    pokemon-player

    Play Pokemon games autonomously via headless emulation. Starts a game server, reads structured game state from RAM, makes strategic decisions, and sends button inputs — all from the terminal.

    Also in 5 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 8 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 9 projects that use this

  • bergsideSkill

    sketch

    A friendly, hand-drawn sketch interface inspired by pencil illustrations on warm cream paper. Soft teal brand accents, hand-written display headings, rounded pill controls.

    Also in 9 projects that use this

  • +6 more from braxtonROSE4

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 66 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the script with a JSON prompt via stdin:

    line 25
  2. Distinctive:

    Always uses gpt-5.4. Reasoning effort strategy:

    line 41

“Common” is measured: kept by at least 6 in 10 of the 66 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex CLI Integration

This skill enables multi-turn conversations with OpenAI Codex CLI for:

  • Plan refinement and review
  • Code review and debugging
  • Research and brainstorming
  • Getting a second opinion on approaches

How to Use

Starting a Conversation

Run the script with a JSON prompt via stdin:

echo '{"prompt": "Review this implementation plan and suggest improvements..."}' | python3 scripts/codex_chat.py

Continuing a Conversation

The script stores session IDs automatically. To continue the last conversation:

echo '{"prompt": "What about edge cases?", "continue_session": true}' | python3 scripts/codex_chat.py

Reasoning Selection

Always uses gpt-5.4. Reasoning effort strategy:

  • First message of a conversation: always use high
  • Follow-up messages: choose based on conversation complexity so far
    • high — Complex threads, deep analysis, architecture decisions
    • medium — Simple follow-ups, clarifications, quick questions
echo '{"prompt": "...", "reasoning": "medium"}' | python3 scripts/codex_chat.py

Background Execution

For long-running Codex tasks, use the Task tool with background mode:

When Codex might take a while:
1. Use Task tool with run_in_background: true
2. Pass the Bash command that runs the script
3. Continue other work
4. Check TaskOutput when ready

Input JSON Schema

{
  "prompt": "Required - the prompt to send to Codex",
  "reasoning": "Optional - 'medium' or 'high' (default: high)",
  "continue_session": "Optional - true to continue last conversation",
  "working_directory": "Optional - project directory for context"
}

Output JSON Schema

{
  "response": "Codex's response text",
  "session_id": "ID for continuing this conversation",
  "model": "Model that was used",
  "reasoning": "Reasoning level that was used",
  "success": true
}

Session Management

Sessions are stored in ~/.codex-claude-session.json. Each new conversation creates a new session unless continue_session: true is passed.

Important: Session continuation requires being in a git repository. New sessions can start anywhere, but to continue a session you need to be in a git repo (use working_directory to specify a project path).

Exit Codes

  • 0: Success
  • 1: Input/configuration error
  • 2: Codex CLI error
  • 3: Codex not installed

Examples

Basic plan review

echo '{"prompt": "Review this plan for implementing user authentication. Look for security issues and suggest improvements."}' | python3 scripts/codex_chat.py

Quick question with medium reasoning

echo '{"prompt": "What are the pros and cons of this approach?", "reasoning": "medium"}' | python3 scripts/codex_chat.py

Continue a conversation

echo '{"prompt": "What about the error handling I mentioned earlier?", "continue_session": true}' | python3 scripts/codex_chat.py

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.