/onex:hook_health_alertfrom onex
Periodically checks hook error rates and sends Slack alerts when thresholds are exceeded. Supports dry-run mode and configurable time windows.
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.
Dispatches to node_platform_diagnostics for the HOOK_HEALTH dimension:
onex run node_platform_diagnostics -- --dimensions=HOOK_HEALTH
With dry-run (reads cached artifacts, no live HTTP):
onex run node_platform_diagnostics -- --dimensions=HOOK_HEALTH --dry-run
Returns ModelDiagnosticsResult with HOOK_HEALTH dimension status (PASS/WARN/FAIL),
error rate, actionable items.
Periodic check of hook error rates. Queries the omnidash API for hook health summary, evaluates against thresholds, and fires Slack alerts when tier 1 (interpreter) or tier 2 (degraded) errors exceed the configured threshold.
Designed as a skill-based interim solution. Will migrate to an ONEX effect node
(consuming onex.evt.omniclaude.hook-health-error.v1 directly) when the
runtime node system is operational.
GET /api/hook-health/summary?window={window}m from omnidash
(pending: omnidash endpoint not yet implemented; uses local hook_health_probe until then)probe_hook_health() folds in
omniclaude.hooks.alert_channel.probe_alert_channel(). A configured
channel that does not deliver sets alert_channel_status == "dead", makes
hook health unhealthy, and is reported on the durable failure log plus a
local (osascript / notify-send) notification — never through the dead
channel itself. Result is cached ~1h, so the check costs one round trip per
hour regardless of session count. Three states, not two: live, dead,
not_configured.SLACK_BOT_TOKEN / SLACK_CHANNEL_ID — the sole
channel (the incoming webhook is retired; no fallback){hook_name}:{error_tier}:{error_category}.onex_state/hook-health/last-check.json:red_circle: Hook Health CRITICAL
Interpreter errors detected (N in last 5m)
Hook: pre_tool_use_authorization_shim
Category: import_error
Message: ImportError: cannot import name 'UTC'...
Python: 3.9.6 (expected 3.12+)
Action: Rebuild plugin venv -- `cd plugins/onex/lib && uv sync`
/hook-health-alert --schedule 5m
This creates a CronCreate job that runs the check every 5 minutes.
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