/onex:adversarial_pipelinefrom onex
Runs an autonomous 3-stage adversarial pipeline that stress-tests design plans before converting them to tickets. Catches wrong-approach patterns like ONEX-not-Docker or typed-Pydantic-not-strings.
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.
None: SKILL.md is the whole skill.
DISABLED: This skill chains into
hostile_reviewer(Stage 2 gate), which is currently disabled pending eval framework validation. Do NOT invoke this skill. It will produce incorrect results (silent-pass gate). Re-enable when the eval framework validation closes.
Three-stage autonomous pipeline that catches wrong-approach patterns before tickets are created. Chains design_to_plan, hostile_reviewer, and plan_to_tickets as background agents. The adversarial gate blocks ticket creation until the plan has been stress-tested.
Anti-patterns caught: ONEX not Docker, typed Pydantic not strings, contracts not hardcoding, OAuth not SSO, topics from contract.yaml not topics.py. See plugins/onex/prompts/adversarial-rubric.md for the full rubric.
Dispatch a background agent to run design_to_plan on the provided topic.
/onex:dispatch_worker role=designer
Invoke /design_to_plan --topic "<topic>" --no-launch
Save the output plan path to checkpoint key: adversarial_pipeline.plan_path
Report: plan file path saved to checkpoint
Wait for Stage 1 agent to complete. Read adversarial_pipeline.plan_path from checkpoint before proceeding.
Dispatch a background agent to run hostile_reviewer --static on the plan output.
/onex:dispatch_worker role=adversarial-reviewer
Read plan path from checkpoint key: adversarial_pipeline.plan_path
Invoke /hostile_reviewer --pr <PR_number> --repo <owner/repo>
# Note: --static mode does not accept --file or --rubric; use PR mode for plan review.
Count findings in reviewer output.
IF findings < 3:
ESCALATE to user: "Adversarial gate: fewer than 3 issues found — plan may be under-scrutinized. Attach reviewer output and pause pipeline."
DO NOT proceed to Stage 3.
ELSE:
Save findings summary to checkpoint key: adversarial_pipeline.findings
Save plan path to checkpoint key: adversarial_pipeline.gated_plan_path
Report: gate passed, N findings recorded
Wait for Stage 2 agent to complete. Read adversarial_pipeline.findings and adversarial_pipeline.gated_plan_path from checkpoint. If gate did not pass (escalation fired), surface findings to user and stop — do not proceed to Stage 3.
Only dispatched after Stage 2 gate passes.
/onex:dispatch_worker role=ticket-creator
Read plan path from checkpoint key: adversarial_pipeline.gated_plan_path
Invoke /plan_to_tickets --plan-file <plan_path> [--project <project>] [--dry-run if --dry-run set]
Report: Linear epic URL and ticket count
dispatch_worker. No foreground implementation./onex:checkpoint to pass state between stages. Never pass paths via inline text substitution.design_to_plan, hostile_reviewer, or plan_to_tickets logic here. Invoke the skills./adversarial-pipeline "design a cross-repo dependency analyzer"
/adversarial-pipeline "design a real-time alerting system" --project "Platform"
/adversarial-pipeline "design a unified auth layer" --dry-run
plugins/onex/prompts/adversarial-rubric.md.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onexOther plugins' skills for the same job
128 skills in this plugin
/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/onex:aislop_sweep — one command, one typed resultDetect AI-generated quality anti-patterns across all repos — phantom callables in skill markdown, backwards compat shims, prohibited env var patterns, hardcoded topic strings, hardcoded absolute paths and LAN IPs, agent-left TODO/FIXME markers, and empty implementations./