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

codex

Skill0 starsChanged 3 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

135 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ios-sync, compare-screenshots 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.
  • Saqlain-811Skill

    ios-sync

    Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)

    Also in 6 projects that use this

  • transitive-bullshitSkill

    compare-screenshots

    Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.

    Also in 5 projects that use this

  • dzhngSkill

    implement-spec-with-codex

    Run [implement-spec](../implement-spec/SKILL.md) with Codex doing the implementation passes while you orchestrate, integrate, and review. Use when the user asks to implement a spec with Codex, or to run implement-spec with Codex as the implementer.

    Also in 4 projects that use this

  • Saqlain-811Skill

    ios-clean

    Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

    Also in 5 projects that use this

  • john-data-chenSkill

    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

  • math-incSkill

    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

  • +1 more from Saqlain-811

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 111 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 111 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.