/onex:plan_auditfrom onex
Runs a health check over plan files in docs/plans/, verifying phase state, epic linkage, DoD completeness, ticket coverage, and staleness. Produces a PASS/WARN/FAIL report per plan.
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.
Health check over plan files in docs/plans/. Verifies five properties per plan
and produces a structured PASS/WARN/FAIL report.
Target: Node dispatch via handle_skill_requested
/plan-audit [args]
|
v
onex.cmd.omniclaude.plan-audit.v1 (Kafka)
|
v
NodeSkillPlanAuditOrchestrator
src/omniclaude/nodes/node_skill_plan_audit_orchestrator/
→ handle_skill_requested (omniclaude.shared)
→ claude -p (general-purpose agent executes skill)
|
v
onex.evt.omniclaude.plan-audit-completed.v1
All audit logic executes inside the general-purpose agent. This skill is a thin shell: parse args, dispatch to node, render results.
"I'm using the plan-audit skill to health-check all plan files."
Each plan must declare its current phase and that phase must be in a valid state.
Valid states: draft, in-review, approved, in-progress, completed, cancelled
A plan with no phase declaration fails this check.
A plan with an unrecognized phase value fails this check.
A plan marked completed or cancelled is exempt from checks 2–5.
Each active plan must reference at least one Linear epic ID (epic_id field or
OMN-XXXX pattern in the header frontmatter or first 10 lines).
Plans without an epic linkage cannot be traced to project scope and fail this check.
Each active plan must have a dod_evidence section listing at least one verifiable
definition-of-done item. A DoD item is verifiable if it specifies a check type
(file_exists, pr_merged, ci_green, command_output, or rendered_output).
Plans with a dod_evidence: [] or missing dod_evidence section fail this check.
Plans with DoD items that have no type field fail this check.
Each milestone or phase in the plan must map to at least one existing Linear ticket. Acceptable linkage patterns:
ticket: OMN-XXXX in a milestone blockOMN-XXXX reference anywhere in a milestone heading or bodyVerify via tracker.get_issue that each referenced ticket ID exists.
Milestones with no ticket reference are flagged as coverage gaps.
Referenced tickets that do not exist in Linear fail this check.
A plan is stale if:
git log modification date is older than --since-days (default: 14)completed or cancelledUse git log -1 --format=%ai -- <plan-file> for the authoritative modification date.
| Condition | Verdict |
|---|---|
| All 5 checks pass | PASS |
| 1–2 checks fail with low severity (staleness, missing DoD items) | WARN |
| Phase invalid, epic missing, or ticket 404 | FAIL |
Plan is completed or cancelled | PASS (exempt from checks 2–5) |
=== Plan Audit Report ===
Repo: <repo-name>
Plans scanned: N
PASS: X
WARN: Y
FAIL: Z
FAIL plans:
[FAIL] docs/plans/2026-03-15-deploy-agent.md
- Check 2 FAIL: No epic linkage found
- Check 4 FAIL: Milestone "Phase 3" has no ticket reference
WARN plans:
[WARN] docs/plans/2026-04-01-session-orchestrator.md
- Check 5 WARN: Last modified 2026-03-28 (16 days ago, threshold: 14)
PASS plans:
[PASS] docs/plans/2026-04-10-wave5-golden-chain.md
| Option | Default | Description |
|---|---|---|
--repo <name> | current repo | Repo to audit (resolved from git root) |
--since-days N | 14 | Staleness threshold in days |
--fail-only | false | Only emit FAIL lines (quiet mode) |
--dry-run | false | No ticket creation |
onex:platform_readiness as a plan health gateonex:dod_sweep — DoD evidence verification across ticketsonex:contract_sweep — Contract YAML healthWhat 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