/onex:golden_chain_sweepfrom onex
Validates end-to-end Kafka-to-DB-projection data flow for golden chains. Runs a node to check publish and projection latencies across 5 chains.
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.
Announce at start: "I'm using the golden-chain-sweep skill."
/golden-chain-sweep # Validate all 5 chains
/golden-chain-sweep --chains registration,routing # Filter chains
/golden-chain-sweep --timeout-ms 30000 # Override timeout
--chains → comma-separated chain names (default: all 5)--timeout-ms → per-chain timeout (default: 15000)--projected-rows → JSON dict of pre-collected projection dataonex node node_golden_chain_sweep -- \
[--chains <comma-list>] \
[--timeout-ms <ms>] \
[--projected-rows '<json>']
Capture stdout (JSON: GoldenChainSweepResult). Exit 0 = all chains pass, exit 1 = partial/fail.
On non-zero exit, a SkillRoutingError JSON envelope is returned — surface it directly, do not produce prose.
From the JSON output display:
| Failure | Cause |
|---|---|
timeout | omnidash consumer not running or DB unreachable |
fail | Assertion mismatch on expected fields |
error | Kafka unavailable or DB connection failure |
| Chain | Head Topic | Tail Table |
|---|---|---|
| registration | onex.evt.omniclaude.routing-decision.v1 | agent_routing_decisions |
| pattern_learning | onex.evt.omniintelligence.pattern-stored.v1 | pattern_learning_artifacts |
| delegation | onex.evt.omniclaude.task-delegated.v1 | delegation_events |
| routing | onex.evt.omniclaude.llm-routing-decision.v1 | llm_routing_decisions |
| evaluation | onex.evt.omniclaude.session-outcome.v1 | session_outcomes |
SKILL.md -> thin shell (this file)
node -> omnimarket/src/omnimarket/nodes/node_golden_chain_sweep/ (business logic)
contract -> node_golden_chain_sweep/contract.yaml
Routing contract: dispatch must use onex node <node_name> (not onex run). Non-zero exit emits a SkillRoutingError JSON envelope — callers must surface it verbatim, never paraphrase.
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/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./architectural_invariant_loopArchitectural Invariant LoopEvaluate architectural invariant contracts across repos — convert CLAUDE.md/doctrine principles into typed YAML invariant contracts and report violations across STATIC_ARCHITECTURE, CI_GATE, PRE_TOOL_USE, RUNTIME_VALIDATION, and CONTRACT_VALIDATION surfaces./authorizeGrant work authorization for Edit/Write operations in this session/auto_merge/onex:auto_merge — one command, one typed resultMerge a GitHub PR when all gates pass; proceeds automatically after CI is clean