skills/omni-plan/SKILL.md
ProductionOS flagship — 13-step orchestrative pipeline with tri-tiered evaluation, recursive convergence, CEO/Eng/Design review chain, CLEAR framework evaluation, multi-model judge tribunal, and autonomous PIVOT/REFINE/PROCEED decisions. Targets 100% production-ready output.
npx skillsauth add ShaheerKhawaja/ProductionOS omni-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the Omni-Plan orchestrator — ProductionOS's flagship mode. You chain every tool in the system into a 13-step pipeline with tri-tiered evaluation at every gate, recursive convergence until 10/10, and autonomous decision loops.
Goal: 100% production-ready output through systematic multi-agent orchestration with self-review, recursive improvement, and business logic alignment.
target — Target directory, repo URL, or idea description. Optional.focus — Focus area: architecture | security | ux | performance | full (default: full). Optional.depth — Research depth: quick | standard | deep | exhaustive (default: deep). Optional.profile — Model profile: quality (default) | balanced | budget. Optional.| Profile | Prompt Layers | Judge Panel | Research Depth | ES-CoT | |---------|--------------|-------------|----------------|--------| | quality | All 10 layers | Full 3-judge (DOWN gate applies) | As configured | Off | | balanced | Layers 1-8 (skip L9) | DOWN gate only | Downgrade one level | Off | | budget | Layers 1-4 + L7 | Single judge, no panel | quick | On (~41% savings) |
Before executing, run the shared ProductionOS preamble:
.productionos/ for existing output.productionos/ for existing INTEL-.md, REVIEW-.md, JUDGE-*.md. Build on prior work.At each step transition:
[ProductionOS] Step {N}/13 — {step_name} ({elapsed}s) ██████░░░░ {percent}%
Invoke research-pipeline agent with configured depth:
Output: .productionos/INTEL-RESEARCH.md
Invoke /context-engineer:
Output: .productionos/INTEL-CONTEXT.md
Invoke /plan-ceo-review in 3 sequential modes:
Each mode reads the previous mode's output.
Output: .productionos/REVIEW-CEO.md
Invoke /plan-eng-review in 2 passes:
Receives CEO review as input context.
Output: .productionos/REVIEW-ENGINEERING.md
If frontend code detected (.tsx/.jsx/.vue/.svelte files):
Invoke /plan-design-review (external — skip if unavailable):
Output: .productionos/REVIEW-DESIGN.md
Invoke /agentic-eval:
Output: .productionos/EVAL-CLEAR.md
DOWN Gate (confidence-gated debate, 6x efficiency):
Full Panel (when DOWN gate triggers):
Each judge scores with confidence intervals: X.X +/- Y.Y
Consensus Protocol (confidence-calibrated):
Confidence gate: consensus grade < 7.0 means plan NOT ready. Return to Step 3 with judge feedback.
Output: .productionos/JUDGE-PANEL-{N}.md
Invoke dynamic-planner:
Output: .productionos/OMNI-PLAN.md
For each batch (up to 12 batches x 7 agents):
git stash push -m "productionos-batch-N-pre"git stash dropgit stash pop and log failureBefore committing any batch, rate every finding on evidence quality:
After each batch: linter, type checker, test suite. If fail: self-healer (10 rounds). If healer fails: rollback batch, defer fixes.
Same protocol as Step 7 on the MODIFIED codebase. Compare to pre-execution baseline.
.productionos/CONVERGENCE-DATA.jsonbun run scripts/convergence.tsDecision:
/document-release available: invoke for comprehensive doc sync/ship — test, version, commit, push, PR (skip if unavailable)Output: .productionos/OMNI-REPORT.md
| Resource | Per Loop | Total Session | |----------|----------|---------------| | Tokens | 800K | 5M | | Agents | 21 max | 147 max | | Judge panels | 2 | 14 | | Time | ~30 min | ~3.5 hours |
FAIL: {agent}, degrade gracefully, continueSKIP: {skill}, continue without it.productionos/
INTEL-RESEARCH.md
INTEL-CONTEXT.md
REVIEW-CEO.md
REVIEW-ENGINEERING.md
REVIEW-DESIGN.md
EVAL-CLEAR.md
JUDGE-PANEL-{N}.md
OMNI-PLAN.md
OMNI-LOG.md
OMNI-REPORT.md
REFLEXION-LOG.md
CONVERGENCE-LOG.md
CONVERGENCE-DATA.json
DECISION-{N}.md
tools
Implementation planning workflow that turns approved ideas into dependency-aware execution plans.
development
Local RAG and Graph RAG over the SecondBrain wiki vault. Progressive context loading (hot cache -> index -> domain -> entity). Graph traversal via wikilink resolution. Use when agents need cross-project context, when answering questions that span multiple domains, or when building context for planning tasks. Triggers on: "wiki context", "cross-project context", "what do we know about", "check the wiki", "graph context", "/wiki-rag".
devops
UX improvement pipeline — creates user stories from UI guidelines, maps user journeys, identifies friction, dispatches fix agents. The user-experience equivalent of /production-upgrade.
development
Test-driven development workflow that writes failing tests first, implements minimally, and refactors safely.