Files
openclaw-skill/openclaw-knowhow-skill/output/openclaw-docs_data/pages/Auth_Monitoring_308408bee5.json
Selig 4c966a3ad2 Initial commit: OpenClaw Skill Collection
6 custom skills (assign-task, dispatch-webhook, daily-briefing,
task-capture, qmd-brain, tts-voice) with technical documentation.
Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
2026-03-13 10:58:30 +08:00

19 lines
1.7 KiB
JSON
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"title": "Auth monitoring",
"content": "OpenClaw exposes OAuth expiry health via `openclaw models status`. Use that for\nautomation and alerting; scripts are optional extras for phone workflows.\n\n## Preferred: CLI check (portable)\n\n* `0`: OK\n* `1`: expired or missing credentials\n* `2`: expiring soon (within 24h)\n\nThis works in cron/systemd and requires no extra scripts.\n\n## Optional scripts (ops / phone workflows)\n\nThese live under `scripts/` and are **optional**. They assume SSH access to the\ngateway host and are tuned for systemd + Termux.\n\n* `scripts/claude-auth-status.sh` now uses `openclaw models status --json` as the\n source of truth (falling back to direct file reads if the CLI is unavailable),\n so keep `openclaw` on `PATH` for timers.\n* `scripts/auth-monitor.sh`: cron/systemd timer target; sends alerts (ntfy or phone).\n* `scripts/systemd/openclaw-auth-monitor.{service,timer}`: systemd user timer.\n* `scripts/claude-auth-status.sh`: Claude Code + OpenClaw auth checker (full/json/simple).\n* `scripts/mobile-reauth.sh`: guided reauth flow over SSH.\n* `scripts/termux-quick-auth.sh`: onetap widget status + open auth URL.\n* `scripts/termux-auth-widget.sh`: full guided widget flow.\n* `scripts/termux-sync-widget.sh`: sync Claude Code creds → OpenClaw.\n\nIf you dont need phone automation or systemd timers, skip these scripts.",
"code_samples": [],
"headings": [
{
"level": "h2",
"text": "Preferred: CLI check (portable)",
"id": "preferred:-cli-check-(portable)"
},
{
"level": "h2",
"text": "Optional scripts (ops / phone workflows)",
"id": "optional-scripts-(ops-/-phone-workflows)"
}
],
"url": "llms-txt#auth-monitoring",
"links": []
}