lemos999/codex-subagent-orchestrator/codex-parent-session-orchestrator
Claude Code and agent skill by lemos999/codex-subagent-orchestrator
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Run a structured scan/plan/implement/verify/review workflow inside the current parent Codex session without launching external workers or helper scripts. Use when the user wants a single-session workflow, wants to avoid subagents, or wants lower token overhead with disk-backed checkpoints and compact handoff files.
Install
npx vskill@latest install lemos999/codex-subagent-orchestrator/codex-parent-session-orchestratorSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as lemos999/codex-subagent-orchestrator/codex-parent-session-orchestrator.
Codex Parent Session Orchestrator
Overview
Use this skill when the parent Codex instance should keep execution inside the current session instead of delegating work to internal subagents.
The parent should:
- keep the whole task inside one Codex session
- preserve the good parts of subagent workflows as explicit phases
- keep state on disk so the chat does not carry full history
- reuse
AGENTS.mdby reference instead of restating it - reread
AGENTS.mdat the start of every turn before substantial work so the active workspace contract is refreshed continuously instead of being trusted from memory - keep summaries compact and delta-oriented
- end writable work with a read-only review pass
- use a bounded
fix -> re-verify -> re-reviewloop whenverifyorreviewopens an approved fix scope - apply
skills/karpathy-guidelines/SKILL.mdas the default local anti-overengineering overlay for coding phases so the parent favors explicit assumptions, the smallest complete design, surgical edits, and goal-driven verification - inherit the shared mandatory plan-first gate from
skills/agent-skills-integration/agent-skill-routing.mdand useskills/plan-mode-default/SKILL.mdplusskills/plan-mode-default/references/coding-plan-prompt-en.mdas the default planning contract before any implementation begins, unless the user explicitly overrides the contract format while preserving the understanding-report and explicit-approval gate - treat the approved full PLAN as a living disk artifact under repo-root
plan/, not as a chat code block dump - use the user's timezone from the active session context for all queried or recorded times, including plan headers, progress updates, score history, and other run artifacts
- keep score tracking in the active plan artifact and update it through the task, using explicit user scores when given and a conservative provisional score capped at
50when the user has not scored yet
Read In This Order
- read
AGENTS.mdat the start of every turn before relying on prior-turn memory - read
skills/agent-skills-integration/agent-skill-routing.mdfirst for the shared plan-first authority and vendored routing rules - read
skills/karpathy-guidelines/SKILL.mdnext for the default local anti-overengineering posture on coding phases - read
skills/plan-mode-default/SKILL.mdnext for the default workspace planning behavior - read
skills/plan-mode-default/references/coding-plan-prompt-en.mdafter that for the detailed planning contract text - read
references/parent-session-workflow.mdfor the phase model and operating rules - read
references/phase-spec-format.mdfor the manual run-kit format and starter files - read
references/token-efficiency-playbook.mdwhen the request emphasizes minimum token use
Operating Rules
- do not launch external workers or helper scripts for this workflow
- keep the parent responsible for decomposition, edits, validation, and final acceptance
- treat subagent roles as short-lived parent phases, not new sessions
- use vendored
agent-skillsas the execution-discipline layer for the active phase; keep local parent-session rules authoritative for acceptance, scope, and repair-loop behavior - for coding phases, treat
skills/karpathy-guidelines/SKILL.mdas the default local overlay for simplicity, surgical scope, and explicit assumption handling - reread
AGENTS.mdon every turn before continuing execution so the session stays aligned with the current workspace contract - for every coding request, satisfy the shared gate from
skills/agent-skills-integration/agent-skill-routing.mdbefore enteringimplementor making writable changes - do not treat urgency, tiny scope, direct edit language, or "just do it now" requests as a waiver of the plan-first gate
- do not treat minor subtasks, one-line fixes, tiny follow-up edits, or repair steps as exempt; every writable coding action must already fit the active approved plan record or reopen planning first
- write or update the approved full PLAN under repo-root
plan/beforeimplementbegins - keep the active approved plan file versioned, time-sortable, clearly typed, and updated with progress, completion state, blockers, next step, and scoreboard state as work advances
- use the user's timezone from the active session context for every queried or recorded time in plan artifacts, status updates, and other workflow records
- record explicit user scores as authoritative when available and otherwise maintain a conservative provisional score capped at
50instead of blocking for feedback or using a fixed default number - default runtime path:
scanplanimplementverifyreview- add
fix,re-verify, andre-reviewonly when a material issue is found - use
session-summary.mdas the durable checkpoint for accepted facts, current status, approved fix scope, and next step - treat the current phase file as the active instruction surface for the current step
- treat
active-context.mdas a bootstrap snapshot, not the long-lived run ledger - treat
phase-checklist.mdas the ordered phase index and manual progress aid, not the durable current-state record - keep context small:
- use
AGENTS.mdby reference - read only the files needed for the current phase
- update
session-summary.mdwith deltas instead of retelling the full history - if the session grows too large, refresh the on-disk checkpoint and continue from that file in a new parent session
- do not load all vendored skills at once; route only the minimum set needed for the current phase through
skills/agent-skills-integration/agent-skill-routing.md - every selected imported skill should have a short phase-local justification; if the parent cannot explain what a selected imported skill changes about the current phase, remove it
- for the
planphase, treatskills/plan-mode-default/SKILL.mdandskills/plan-mode-default/references/coding-plan-prompt-en.mdas the default behavior contract for planning output in this workspace unless the user explicitly asks for a different planning contract format; any override must still preserve the understanding-report and explicit-approval gate - for coding work, treat the
planphase as mandatory beforeimplement; direct implementation is not an allowed starting phase - keep chat summaries short after plan approval and point to the saved plan file instead of pasting the full plan body
Run Kit
The default run kit lives under parent-session-runs/<run-id>/.
Recommended files:
task-brief.mdactive-context.mdphase-checklist.mdsession-summary.mdphases/*.md
Use the templates under skills/codex-parent-session-orchestrator/assets/run-templates/ when you want a consistent starting point.
Phase Contract
Every phase should state:
- phase name
- role
- mode:
read-onlyorwrite - one concrete goal
- files to read first when phase-local inputs matter
- writable scope if any
- outputs to leave on disk when the phase updates run artifacts
- success criteria
- validation checks when the phase needs observable proof beyond the stop rule
- stop condition
When To Use
Use this skill when the user asks for:
- parent-only execution
- a single Codex session
- no subagents
- low-token workflows
- phase-based delivery with checkpoints
Do not use this skill when the user explicitly asks for /sub or for internal worker-team execution. In those cases use the subagent workflow.
Imported Discipline
The canonical imported-skill mapping lives in skills/agent-skills-integration/agent-skill-routing.md.
Use that file as the only source of truth for:
- phase defaults
- optional task-shaped add-ons
- specialist overlays and checklists
- release-only overlays that are not part of the default parent phase checklist
Do not restate a separate default mapping here.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codex-parent-session-orchestrator/SKILL.md
Popularity
- Repository stars
- 32
- Repository forks
- 7
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Apr 2026, 7 months ago.
Extension points
pluginCustom plugin integration
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
[](https://verified-skill.com/skills/lemos999/codex-subagent-orchestrator/codex-parent-session-orchestrator)