/onex:executing_plansfrom onex
Reviews implementation plans critically, verifies live PR state, creates Linear tickets, and routes to the appropriate execution team based on ticket count.
Ships in onex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill has no deterministic node backing and is de-listed from event-bus / node-routed dispatch — deliberately, by design. Its generated orchestrator shell (node_skill_executing_plans_orchestrator) is a Polly-passthrough (maturity: stub in its contract.yaml), and no CLI or platform-service implementation exists elsewhere. Reviewing a plan, verifying live PR state, and routing to epic_team/ticket_pipeline is a Claude-session-native decision today.
The ticket-count routing decision (>=3 tickets → epic_team, else ticket_pipeline) is a plausible future COMPUTE-node extraction — tracked in — but the plan review and downstream dispatch stay session-native regardless.
Target: Agent Teams
Load a plan file, review it critically, create Linear tickets from it, then route to the appropriate execution skill based on ticket count.
Core principle: Linear-native routing. Plans become tickets; tickets drive execution.
Announce at start: "I'm using the executing-plans skill to implement this plan."
| Flag | Description |
|---|---|
--local | Skip Linear ticket creation; create local YAML ticket files in docs/tickets/local/ and route directly to implementation |
Load the plan file and review it critically before taking any action.
Plan file: If a plan path was passed as a positional argument (e.g., from design-to-plan Phase 3), use it directly. Do not re-discover or re-summarize the plan.
Do not proceed to ticket creation if the plan has unresolved questions.
If the plan references existing PRs or branches, verify their live state before proceeding. Plans often assume a PR is open and mergeable, but reality may have changed since the plan was written.
Delegate PR-state lookup to the repository lifecycle node or the session's approved repository tool surface. The skill records the outcome only; it does not embed direct GitHub CLI calls or PR iteration logic.
Classification and action:
| CI/Mergeability State | Classification | Action |
|---|---|---|
PENDING / checks still running | PENDING | Poll up to 3 times (30s interval). If still pending after 90s, report status and proceed -- do not block indefinitely. |
BEHIND (mergeable but needs rebase) | ACTIONABLE | Note in plan review; proceed. Rebase will happen during execution. |
CLEAN / UNSTABLE (mergeable, checks pass/flaky) | READY | Proceed normally. |
CONFLICTING (merge conflicts) | STOP | Stop and report: "PR #N has merge conflicts. Plan assumes it is mergeable. Please resolve conflicts or update the plan." |
Checks FAILURE (required checks failing) | STOP | Stop and report: "PR #N has failing required checks. Plan assumes CI is green. Please fix CI or update the plan." |
MERGED | STOP | Stop and report: "PR #N is already merged. Plan assumes it is open. Please update the plan to reflect current state." |
CLOSED (not merged) | STOP | Stop and report: "PR #N is closed without merge. Plan assumes it is open. Please update the plan." |
Rules:
Before ticket creation, verify Linear MCP availability (see _shared/linear-availability-check.md):
tracker.list_teams--local flag is set):
onex:ticket-work or
onex:ticket-pipeline — they require Linear ticket_id._shared/linear-availability-check.mdCall onex:plan-to-tickets with --dry-run to preview what tickets would be created.
/plan-to-tickets <plan-file> --dry-run [--repo <repo-label>] [--project <project>]
Review the dry-run output:
task_sections for plans produced by design-to-plan (## Task N: headers); other valid types: phase_sections (legacy ## Phase N:), numbered_h2, step_sections, milestone_table, priority_labels. If dry-run reports task_sections, that is correct — do NOT ask the user to reformat.If the preview looks wrong, stop and discuss with your partner before creating tickets.
Call onex:plan-to-tickets (without --dry-run) to create the Linear tickets under the epic.
/plan-to-tickets <plan-file> [--repo <repo-label>] [--project <project>] [--skip-existing]
After creation, record:
Common flags:
--repo <label> — enables architecture dependency validation (recommended)--project <name> — assigns tickets to a Linear project--skip-existing — skip tickets that already exist instead of prompting--no-create-epic — fail if the epic does not already existCompute routing from the plan file content, not just ticket count:
| Condition | Route | Why |
|---|---|---|
| Multiple repos touched | onex:epic-team | Cross-repo needs orchestration |
| Migrations or deploy steps present | onex:epic-team | Infrastructure changes need coordination |
| 3+ distinct subsystems affected | onex:epic-team | Broad blast radius |
| 3+ tickets (fallback) | onex:epic-team | Parallel execution needed |
| 1-2 tickets, single repo, no migrations | onex:ticket-pipeline | Lightweight |
Log the routing decision: "Routing to {skill} because: {reason}"
/epic-team <epic-id>
epic-team orchestrates a team of parallel worker agents, one per repo. It handles
ticket assignment, worktree creation, and lifecycle notifications automatically.
/ticket-pipeline <ticket-id>
Run onex:ticket-pipeline on the selected ticket sequence. Each pipeline handles the full
implement → review → PR → CI → merge workflow autonomously.
After routing, verify progress:
# Check epic status in Linear
# (use Linear MCP or Linear UI to view the epic and child tickets)
# If routed to epic-team — resume after session disconnect:
/epic-team <epic-id> --resume
# If routed to ticket-pipeline — check pipeline state:
cat $ONEX_STATE_DIR/pipelines/<ticket-id>/state.yaml
Execute end-to-end without stopping between tasks. If blocked on one task, record a skip note and continue to the next. Only pause for: (a) credentials not available in the session, (b) a destructive action not explicitly covered by the plan, or (c) an explicit user gate in the plan. Do not exit plan mode or stop to "await direction" in any other circumstance.
STOP executing immediately when:
plan-to-tickets fails with an architecture violation (before routing)Ask for clarification rather than guessing.
When all tickets/tasks close:
onex scm pr-list <owner>/<repo> (the PRs whose head is <branch>)pr-polishThis is an offer only — user must approve before dispatch.
epic-team at that threshold, otherwise use ticket-pipelineWhen running without the full omniclaude plugin (e.g., container-based Claude Code sessions):
general-purpose silently falls back to general-purpose. ONEX intelligence
integration, action logging, and observability will be inactive. Skill instructions still
execute correctly — only metadata and telemetry are affected.Skill(skill="onex:...")) requires the plugin's skill registry.
If skills are not registered, dispatch calls will fail. Verify: check if the skill
appears in the system-reminder skills list.--local mode (if applicable) for offline
ticket management.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onex128 skills in this plugin
/adversarial_pipelineAdversarial PipelineAutonomous 3-stage adversarial plan-to-ticket pipeline — design_to_plan → hostile_reviewer gate (≥3 issues required) → plan_to_tickets. All stages run as background agents. Zero foreground work./agent_healthcheck/onex:agent_healthcheck — dispatch-only shimDispatch-only shim for agent stall detection and recovery. All detection and recovery logic lives in node_worker_stall_recovery (omnimarket). The skill parses args, builds the input envelope, dispatches to the node, and renders the receipt./aislop_sweep