Agent skill
crank
Hands-free epic execution for Codex using wave-based sub-agents and lead-side validation. Triggers: "crank", "run epic", "execute epic", "run all tasks", "hands-free execution", "crank it".
Install this agent skill to your Project
npx add-skill https://github.com/boshu2/agentops/tree/main/skills-codex-overrides/crank
SKILL.md
$crank — Autonomous Epic Execution (Codex Tailoring)
This override captures the Codex-native execution model for multi-issue epic work.
Core Model
- The lead agent owns wave planning, validation, and issue state transitions.
- Workers are spawned with
spawn_agent(...). - Each worker gets a bounded task, explicit owned files, and validation steps.
- The lead agent uses
wait_agent(...)only when integration is blocked on a worker result.
Codex-Native Wave Loop
Step 1: Select the wave
Use bd ready --json when available, or the current plan artifact when beads is unavailable. Only include unblocked work with disjoint file ownership in the same wave.
Step 2: Prepare worker packets
For each issue, include:
- issue id and subject
- short implementation brief
- owned files
- validation commands
- reminder that the worker is not alone in the repo
Step 3: Spawn workers
Use one spawn_agent(...) call per issue with agent_type="worker".
Step 4: Monitor and correct
Collect worker results with wait_agent(...). If a worker needs rework, use send_input(...) with a focused correction or launch a new wave for the remaining work.
Step 5: Validate centrally
The lead agent reviews the combined diff, runs repo-level validation, and only then closes issues or advances the wave.
Step 6: Repeat
Continue until all children are closed or the epic is genuinely blocked.
Constraints
- Do not rely on batch-spawn, background-report, or timeout-specific wait APIs that are not present in Codex.
- Do not let workers commit, push, or mutate issue state unless the task explicitly requires it.
- Serialize overlapping file ownership into later waves instead of risking merge conflicts.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
swarm
Spawn isolated Codex sub-agents for parallel task execution using the current runtime primitives. Triggers: "swarm", "spawn agents", "parallel work", "run in parallel", "parallel execution".
council
Multi-perspective review for Codex using the current sub-agent runtime. Triggers: "council", "get consensus", "multi-model review", "multi-perspective review", "council validate", "council brainstorm", "council research".
openai-docs
Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions, Apps SDK, Agents SDK, Realtime, model capabilities or limits); prioritize OpenAI docs MCP tools and restrict any fallback browsing to official OpenAI domains.
pr-retro
Learn from PR outcomes. Analyzes accept/reject patterns and updates contribution lessons. Triggers: "pr retro", "learn from PR", "PR outcome", "why was PR rejected", "analyze PR feedback".
ratchet
Brownian Ratchet progress gates for RPI workflow. Check, record, verify. Triggers: "check gate", "verify progress", "ratchet status".
pre-mortem
Validate a plan or spec before implementation using multi-model council. Answer: Is this good enough to implement? Triggers: "pre-mortem", "validate plan", "validate spec", "is this ready".
Didn't find tool you were looking for?