Bang-isme/CodexAI---Skills/skills/codex-workflow-autopilot/SKILL.md
codex-workflow-autopilot
Use after intent is known to route build, fix, review, debug, docs, or Scrum requests into ordered workflow steps with exit criteria.
- Source repository stars
- 7
- Declared platforms
- 1
- Static risk flags
- 1
- Last source update
- 2026-08-18
- Source checked
- 2026-08-25
Decision brief
What it does: where it fits
Route tasks by complexity: complex - Thinking Partner + Devil's Advocate, teaching - Teaching Mode + explaincode.py, simple - direct execution. Map intent to workflow (build/fix/review/debug/docs). Use BMAD 4-phase for complex. Always end with Phase X quality gate.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Declared | Source record | Install path and trigger |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/Bang-isme/CodexAI---Skills --skill "skills/codex-workflow-autopilot"Inspect the Agent Skill "codex-workflow-autopilot" from https://github.com/Bang-isme/CodexAI---Skills/blob/7bba6b1e98b2d56be7c8b9291bf7f379208f3b88/skills/codex-workflow-autopilot/SKILL.md at commit 7bba6b1e98b2d56be7c8b9291bf7f379208f3b88. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow Autopilot
1. Activate after intent analysis is confirmed. 2. Activate on explicit $codex-workflow-autopilot or $route. 3. Activate teaching mode on $teach, "explain", or "walk me through". 4. Activate Scrum overlay on backlog, story, sprint, review, retrospective, release-readiness, or sh…
Activate after intent analysis is confirmed.Activate on explicit $codex-workflow-autopilot or $route.Activate teaching mode on $teach, "explain", or "walk me through". - 02
Intent to Workflow
Review the “Intent to Workflow” section in the pinned source before continuing.
Review and apply the “Intent to Workflow” source section. - 03
Phase 1: Analysis (no code)
confirm requirements and constraints
confirm requirements and constraintsinspect existing patternscapture key decisions - 04
Phase 2: Planning (no code)
Checkpoint: wait for explicit user approval before Phase 3.
create plan via $codex-plan-writer or $plandefine task-level input/output/verify- create plan via $codex-plan-writer or $plan - define task-level input/output/verify - 05
Phase 3: Solutioning (no code)
finalize architecture and data flow decisions
finalize architecture and data flow decisionsidentify cross-file impacts- finalize architecture and data flow decisions - identify cross-file impacts
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
Always run `--help` before invoking a script.Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 95/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- Bang-isme/CodexAI---Skills
- Skill path
- skills/codex-workflow-autopilot/SKILL.md
- Commit
- 7bba6b1e98b2d56be7c8b9291bf7f379208f3b88
- License
- MIT
- Collected
- 2026-08-25
- Default branch
- main
View the original SKILL.md
TL;DR
Route tasks by complexity: complex -> Thinking Partner + Devil's Advocate, teaching -> Teaching Mode + explain_code.py, simple -> direct execution. Map intent to workflow (build/fix/review/debug/docs). Use BMAD 4-phase for complex. Always end with Phase X quality gate.
Workflow Autopilot
Activation
- Activate after intent analysis is confirmed.
- Activate on explicit
$codex-workflow-autopilotor$route. - Activate teaching mode on
$teach, "explain", or "walk me through". - Activate Scrum overlay on backlog, story, sprint, review, retrospective, release-readiness, or shorthand commands such as
$sprint-plan,$story-ready-check,$retro, and$release-readiness. - Activate reasoning rigor on
$codex-reasoning-rigor,$rigor, "don't be generic", "go deeper", "make it specific", or "use the repo, not generic advice". - Activate on alias triggers:
$plan,$debug,$create,$prototype,$review,$deploy,$handoff,$refactor. - When activated via alias, load the corresponding
.workflows/<name>.mdfile before executing the flow. - Activate brainstorm mode on
$brainstorm, "brainstorm", "think through options", or "explore approaches". - Activate review-feedback routing on
$review-feedback, "address review feedback", or "respond to code review". - Route "prototype", "MVP", "fullstack", "from scratch", or "build whole app" to
$prototypeand requirecodex-spec-driven-developmentbefore implementation. - Activate project pulse on
$today,$pulse,$daily,$status,$brief, "hôm nay thế nào?", "what's next?", "what should I work on?", or "project status". Route tocodex-project-pulse.
Behavioral Protocol Decision Tree
Agent context loaded?
|- Yes -> apply agent behavioral rules + file_ownership boundaries
| `- Then route to the matching workflow mode or alias file
|
`- No -> fallback to existing keyword-based mode detection
|
`- Task complexity?
|- Complex (architecture/design/multi-file) -> activate Thinking Partner mode
| `- Before presenting solution -> activate Devil's Advocate mode
|
|- Teaching request -> activate Teaching Mode + explain_code.py
|
`- Simple (single file fix) -> direct execution
Behavioral Modes
| Signals | Mode | Behavior |
|---|---|---|
| what if, ideas, options | brainstorm | ask clarifying questions and present alternatives, no code |
| think with me, compare options, help me decide | thinking-partner | co-think with tradeoff-first framing and explicit decision criteria |
| build, create, implement | implement | execute quickly with production-focused output, enforce TDD |
| prototype, MVP, fullstack, from scratch | prototype | run $hook -> $init-profile if needed -> $genome/$init-docs -> $spec -> $plan -> implementation -> $check-full |
| test first, TDD, red-green, failing test | tdd | enforce RED-GREEN-REFACTOR cycle via $tdd, no production code without failing test |
| error, bug, broken | debug | 4-phase systematic debugging via $root-cause: root cause → pattern → hypothesis → fix |
| review, audit, check | review | inspect and report findings by severity |
| challenge this, poke holes, red team, counterargument | devils-advocate | stress-test assumptions, expose risks, and propose mitigations |
| explain, teach, learn | teach | explain progressively with examples |
| deploy, release, ship | ship | prioritize stability and complete checks |
Scrum Overlay Trigger
Trigger Scrum overlay when the request mentions:
- backlog, user story, acceptance criteria, refinement
- sprint planning, sprint backlog, sprint goal, daily scrum
- sprint review, retrospective, release readiness
- product owner, scrum master, cross-functional handoff
- Scrum shorthand aliases such as
$scrum-install,$scrum-update,$sprint-plan,$story-ready-check,$story-delivery,$retro, and$release-readiness
Load and apply: references/workflow-scrum.md.
Keep the routing contract in sync with references/workflow-routing-contract.json.
Rules:
- keep the base workflow (
build,fix,debug,review, ordeploy) for the actual engineering work - add a Scrum coordination layer when the request depends on ceremony output or multi-role handoffs
- recommend
codex-scrum-subagentswhen the project needs a local.agentkit for repeatable role briefs and workflows - if a story is not ready, route back to refinement instead of coding immediately
Reasoning Rigor Trigger
Trigger this overlay when the user asks for:
- deeper thinking or stronger tradeoffs
- less generic output
- more evidence, monitoring, or explicit risks
- repo-grounded recommendations instead of generic best practices
Load and apply: codex-reasoning-rigor.
Rules:
- force a task contract before solutioning
- compare at least 2 options when tradeoffs are non-trivial
- add evidence, risks, and next-step contract to the output
- recommend
$output-guardbefore finalizing high-stakes written deliverables
Thinking-Partner Trigger
Trigger this mode when user asks for collaborative reasoning rather than immediate implementation.
- Signal examples: "think with me", "compare options", "which approach is better", "help me decide".
- Load and apply:
references/thinking-partner-mode.md. - Ask focused clarifying questions before proposing workflow.
- Present option matrix with tradeoffs, risks, and recommended path.
- Convert selected path back to workflow steps and exit criteria.
Devil's Advocate Trigger
Trigger this mode when user asks for challenge, risk probing, or plan hardening.
- Signal examples: "be critical", "find blind spots", "red team this plan", "play devil's advocate".
- Load and apply:
references/devils-advocate-mode.md. - Attack assumptions explicitly and rank findings by impact/likelihood.
- Provide mitigation actions and clear stop/ship criteria.
- Return to normal workflow mode only after key risks are addressed or explicitly accepted.
Teaching Mode Trigger
Trigger this mode when user asks to understand project code, not to modify it.
- Signal examples:
$teach, "explain this", "teach me", "how does this work", "walk me through". - Load and apply:
references/teaching-mode-spec.md. - Prefer project-specific explanation over generic language/framework theory.
- Use
scripts/explain_code.pyas optional context helper for functions/imports/imported-by mapping. - Output in four layers: what, how, why, connections, then gotchas.
- Keep scope tight to user request (function/file/module) and avoid unnecessary full-file dumps.
Intent to Workflow
| Intent | Steps | Exit Criteria |
|---|---|---|
| build | analyze → plan ($plan) → isolate ($worktree) → TDD implement ($tdd) → test → gate | tests pass, TDD verified, gate pass |
| prototype | preflight ($hook) -> profile/context/docs -> spec ($spec) -> plan ($plan) -> TDD implementation -> role-doc/knowledge update -> full gate | spec exists, acceptance criteria pass, full gate pass or advisory warnings listed |
| fix | systematic debug ($root-cause) → root-cause → regression test ($tdd) → fix → gate | root cause found, regression test pass, gate pass |
| review | inspect → categorize findings → recommend actions | findings documented with severity |
| debug | systematic debug ($root-cause) → Phase 1-4 → test → gate | verified fix with evidence, gate pass |
| docs | scope change → update docs → verify links/accuracy → gate | docs updated and verified |
Scrum Ceremony Routing
| Scrum Signal | Suggested Ceremony | Base Workflow | Recommended Roles |
|---|---|---|---|
| vague backlog item, user story, acceptance criteria | backlog refinement | build | product-owner -> scrum-master |
| sprint planning, sprint goal, forecast | sprint planning | build | scrum-master -> product-owner -> delivery leads |
| blocker, dependency, daily sync | daily scrum | debug | scrum-master |
| ready story in sprint | story delivery | build or fix | scrum-orchestrator + delivery roles + qa-engineer |
| sprint demo, stakeholder feedback | sprint review | review | product-owner + scrum-master + qa-engineer |
| process issue, improvement experiment | retrospective | review | scrum-master + squad |
| ship decision, rollback, release gate | release readiness | deploy | scrum-master + qa-engineer + security-engineer + devops-engineer |
BMAD for Complex Requests
Use BMAD when intent analysis marks complexity: complex.
Phase 1: Analysis (no code)
- confirm requirements and constraints
- inspect existing patterns
- capture key decisions
Phase 2: Planning (no code)
- create plan via
$codex-plan-writeror$plan - define task-level input/output/verify
Checkpoint: wait for explicit user approval before Phase 3.
Phase 3: Solutioning (no code)
- finalize architecture and data flow decisions
- identify cross-file impacts
Phase 4: Implementation (code)
- For complex tasks: Set up isolated workspace via
$worktree - For plan with independent tasks: Use subagent execution via
$sdd - For all code changes: Follow TDD cycle via
$tdd - implement task by task
- run tests/docs as workflow requires
Phase X: Verification (always last)
- Run
$codex-execution-quality-gateor$gate. - If gate fails, fix blockers and rerun.
- Do not declare completion before gate decision.
- Use
$finishto handle branch completion if using worktree.
Reference Files
references/workflow-routing-contract.json: machine-checkable routing contract for modes, overlays, and output fields.references/thinking-partner-mode.md: use only when collaborative option analysis is requested.references/devils-advocate-mode.md: use only when explicit challenge/risk probing is requested.references/teaching-mode-spec.md: use when user asks for code walkthrough, explanation, or teaching.references/workflow-scrum.md: use when the request maps to Scrum ceremonies, story readiness, or release readiness.references/workflow-create.md: execution template for new feature workflows.../.workflows/prototype.md: alias workflow for MVP/fullstack prototype execution.references/workflow-debug.md: execution template for debugging workflows.references/workflow-review.md: execution template for review workflows.references/workflow-refactor.md: execution template for refactoring workflows.references/workflow-deploy.md: execution template for deployment workflows.references/workflow-handoff.md: execution template for session handoff workflows.references/workflow-plan.md: execution template for planning and BMAD Phase 1-2 workflows.../.workflows/plan.md: alias workflow for planning and BMAD Phase 1-2.../.workflows/debug.md: alias workflow for 4-phase debugging.../.workflows/create.md: alias workflow for build-mode execution.../.workflows/review.md: alias workflow for review plus written-output quality checks.../.workflows/deploy.md: alias workflow for ship preparation and full gate.../.workflows/handoff.md: alias workflow for session transfer and summary generation.../.workflows/refactor.md: alias workflow for restructuring and simplifying code.
Helper Script
scripts/explain_code.py: optional context helper for functions, imports, and imported-by mapping.- See
skills/.system/REGISTRY.mdfor full script paths.
Script Invocation Discipline
- Always run
--helpbefore invoking a script. - Treat scripts as black-box helpers and prefer direct execution over source inspection.
- Read script source only when customization or bug fixing is required.
Overrides
- "skip test": remove test step and warn quality confidence is reduced.
- "no docs": remove docs step and warn maintainability confidence is reduced.
- "just do it": default to build workflow and still show brief step plan.
- "skip plan": allow for simple scope; for complex scope warn and reconfirm.
Scope Heuristic
- small: 1-3 files, single concern
- medium: 4-10 files, multiple concerns
- large: 10+ files or architectural impact
Output Contract
Return fenced JSON in conversation:
{
"mode": "brainstorm | thinking-partner | implement | tdd | debug | review | devils-advocate | teach | ship",
"workflow_type": "build | fix | review | debug | docs | refactor | deploy | handoff",
"steps": ["step1", "step2"],
"exit_criteria": ["criterion1"],
"estimated_scope": "small | medium | large",
"phase": "analysis | planning | solutioning | implementation | verification",
"coordination_overlay": "none | scrum",
"ceremony": "none | backlog-refinement | sprint-planning | daily-scrum | story-delivery | sprint-review | retrospective | release-readiness"
}
Primary execution remains sequential by default. Native Codex custom agents can participate when they are installed and explicitly selected.
Frequently asked questions
What to verify before installation and use
What does the codex-workflow-autopilot source document cover?
Route tasks by complexity: complex - Thinking Partner + Devil's Advocate, teaching - Teaching Mode + explaincode.py, simple - direct execution. Map intent to workflow (build/fix/review/debug/docs). Use BMAD 4-phase for complex. Always end with Phase X quality gate.
How do I install codex-workflow-autopilot?
The source record exposes this install command: npx skills add https://github.com/Bang-isme/CodexAI---Skills --skill "skills/codex-workflow-autopilot". Inspect the command and pinned source before running it.
Which Agent platforms does the source record declare?
The pinned source record declares support for: codex.
Which permission-related actions were detected?
Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
vasilyu1983/AI-Agents-public
research-git
Scans public GitHub repos for agent skills, dev practices, and code patterns. Use when enriching skills, setting team policy, or researching a build domain.
upex-galaxy/agentic-qa-boilerplate
test-documentation
Analyze, prioritize, and document test cases in TMS (Jira/Xray), or repair an existing Story-ATS-ATP-ATR-TC cascade through a sealed explicit mode. Use for Test/ATP/ATR artifacts, ROI and automation verdicts, maintaining traceability, fix-traceability, or broken TMS links. The repair-traceability mode audits, plans, waits for explicit approval, applies, and verifies without launching the general documentation workflow. Do NOT use for writing test code (test-automation) or running suites (regress
alirezarezvani/claude-skills
research-summarizer
Structured research summarization agent skill for non-dev users. Handles academic papers, web articles, reports, and documentation. Extracts key findings, generates comparative analyses, and produces properly formatted citations. Use when: user wants to summarize a research paper, compare multiple sources, extract citations from documents, or create structured research briefs. Plugin for Claude Code, Codex, Gemini CLI, and OpenClaw.
NintendaDev/unikit-ai
unikit-docs
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th