@made-by-moonlight/athene-plugin-notifier-openclaw
v0.13.0
Published
Notifier plugin: OpenClaw webhook notifications
Readme
notifier-openclaw
OpenClaw notifier plugin for AO escalation events.
Quick setup
athene setup openclawThis interactive wizard auto-detects your OpenClaw gateway, lets you reuse or change the URL, OpenClaw config path, and routing values, then writes the AO config. For non-interactive use (e.g., in CI/CD pipelines or automation scripts):
athene setup openclaw --url http://127.0.0.1:18789/hooks/agent --non-interactiveAO does not generate the token or write shell-profile exports. Local setup reads hooks.token from your OpenClaw config. For a remote OpenClaw gateway, you can pass --token and AO will store that token in agent-orchestrator.yaml.
Useful follow-up commands:
athene setup openclaw --refresh
athene setup openclaw --statusInteractive setup asks which notification priorities OpenClaw should receive.
For scriptable setup, pass --routing-preset urgent-only, urgent-action, or
all.
Required OpenClaw config (openclaw.json)
{
"hooks": {
"enabled": true,
"token": "<your-hooks-token>",
"allowRequestSessionKey": true,
"allowedSessionKeyPrefixes": ["hook:"]
}
}AO config (agent-orchestrator.yaml)
notifiers:
openclaw:
plugin: openclaw
url: http://127.0.0.1:18789/hooks/agent
openclawConfigPath: ~/.openclaw/openclaw.jsonBehavior
- Sends
POST /hooks/agentpayloads with per-session keyhook:ao:<sessionId>. - Defaults
wakeMode: nowanddeliver: true. - Retries on
429and5xxresponses with exponential backoff.
Token rotation
- Rotate
hooks.tokenin OpenClaw. - Restart OpenClaw so it picks up the new config.
- Run
athene setup openclaw --statusto verify the new token.
Known limitation (Phase 0)
- OpenClaw hook ingest is not idempotent by default. Replayed webhook payloads are processed as separate runs.
- Owner: AO integration.
- Follow-up: add stable event id/idempotency key support.
