qcasares/saas-app/codex-orchestrator

Claude Code and agent skill by qcasares/saas-app

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Monitor, control, and orchestrate background Codex sessions. Use this skill to track progress, handle interruptions, and ensure task completion for long-running coding tasks.

Install

npx vskill@latest install qcasares/saas-app/codex-orchestrator

SKILL.md

The same SKILL.md was published earlier as kbarbel640-del/skills/codex-orchestrator.

Codex Orchestrator

This skill provides a workflow for supervising the Codex coding agent running in background processes.

Workflow

1. Start (Launch)

Always launch Codex in a background PTY session to maintain interactivity without blocking the main agent.

bash
bash pty:true workdir:<target_dir> background:true command:"codex exec --full-auto '<PROMPT>'"
  • Store the returned sessionId.
  • If sessionId is lost, find it via process action:list.
2. Monitor (Watch)

Check progress regularly (e.g., via cron or manual check).

bash
# Get last 2KB of logs to see current status
process action:log sessionId:<id> limit:2000

Signs of life:

  • Spinner animations or progress bars updating.
  • "Working...", "Thinking...", "Running...".
  • File edits (Edit ...).

Signs of blockage:

  • Interactive prompts (e.g., "Select directory", "Approve change [y/n]").
  • No log output for >5 minutes (process might be hung or waiting for hidden input).
3. Intervene (Control)

If Codex is stuck at a prompt:

bash
# Send 'y' and Enter
process action:submit sessionId:<id> data:"y"
# Send just Enter (default choice)
process action:submit sessionId:<id> data:""

If Codex is looping or hallucinating:

bash
# Kill the session
process action:kill sessionId:<id>
4. Report (Notify)

When a significant milestone is reached or the task is done:

  1. Summarize the work done (files changed, tests passed).
  2. Notify the user.

Standard Operating Procedures (SOPs)

"The Stuck Agent" Protocol
  1. Diagnose: Run process action:log sessionId:<id> limit:500.
  2. Analyze: Is it asking a question? Is it downloading?
  3. Action:
  • If asking: Provide answer via submit.
  • If downloading (slow): Wait.
  • If silent >10m: Send a "poke" (e.g. submit data:"\n" to refresh prompt) or kill/resume.
"The Resume" Protocol

If a session died or was killed:

  1. Run codex resume --last or codex resume <session_id> in a new background process.
  2. Verify it picked up the context.

Logs & Artifacts

  • Codex logs are ephemeral in the PTY buffer.
  • For persistent logs, instruct Codex to write to a file: codex exec "task..." > codex.log 2>&1 (Note: buffering may delay output).
  • Better: Use process action:log to snapshot the buffer periodically.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/qcasares/saas-app/codex-orchestrator/badge)](https://verified-skill.com/skills/qcasares/saas-app/codex-orchestrator)

Something wrong with this skill or its page? Tell us.