# Send Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-watchdog",
    "name": "Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/chapati23/claude-watchdog",
    "canonicalUrl": "https://clawhub.ai/chapati23/claude-watchdog",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/claude-watchdog",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-watchdog",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/latency-probe.py",
      "scripts/setup.sh",
      "scripts/status-check.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claude-watchdog"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-watchdog",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-watchdog",
    "agentUrl": "https://openagent3.xyz/skills/claude-watchdog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-watchdog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-watchdog/agent.md"
  }
}
```
## Documentation

### Claude Watchdog 🐕

Monitor the Anthropic/Claude API for outages and latency spikes. Sends rich alerts to Telegram — no agent tokens consumed for status checks.

### Status Monitor (status-check.py)

Polls status.claude.com every 15 minutes via cron
Alerts with incident name, latest update text, per-component status
Tags incidents as "(not our model)" if e.g. Haiku is affected but you use Sonnet
Sends all-clear on recovery
Zero token cost

### Latency Probe (latency-probe.py)

Sends a minimal request through OpenClaw's local gateway every 15 minutes
Measures real end-to-end latency to Anthropic API
Maintains rolling baseline (median of last 20 samples)
Alerts with 🟡/🟠/🔴 severity based on spike magnitude
Sends all-clear when latency recovers
~$0.000001 per probe

### Setup

Run the interactive setup script:

bash /path/to/skills/claude-watchdog/scripts/setup.sh

You'll need:

Telegram Bot Token — from @BotFather
Telegram Chat ID — send a message to your bot, then check https://api.telegram.org/bot<TOKEN>/getUpdates
OpenClaw Gateway Token — run:
python3 -c "from pathlib import Path; import json; print(json.load(open(Path.home() / '.openclaw/openclaw.json'))['gateway']['auth']['token'])"


Gateway Port — default 18789

The setup script writes config, installs cron jobs, and runs an initial check.

To uninstall (removes cron jobs, optionally config/state):

bash /path/to/skills/claude-watchdog/scripts/setup.sh --uninstall

### Config

Stored in ~/.openclaw/skills/claude-watchdog/claude-watchdog.env. To reconfigure, either re-run setup.sh or edit this file directly — changes take effect on the next cron run (within 15 minutes).

TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...
OPENCLAW_GATEWAY_TOKEN=...
OPENCLAW_GATEWAY_PORT=18789
MONITOR_MODEL=sonnet
PROBE_MODEL=openclaw
PROBE_AGENT_ID=main

VariableDefaultDescriptionTELEGRAM_BOT_TOKEN(required)Telegram bot token from @BotFatherTELEGRAM_CHAT_ID(required)Target chat for alertsOPENCLAW_GATEWAY_TOKEN(required)Auth token for the local OpenClaw gatewayOPENCLAW_GATEWAY_PORT18789Port the OpenClaw gateway listens onMONITOR_MODELsonnetModel name to match in status incidents (e.g. "sonnet", "haiku")PROBE_MODELopenclawModel alias sent to the gateway for latency probes. openclaw uses the gateway's default model routingPROBE_AGENT_IDmainValue of the x-openclaw-agent-id header sent with probesFILTER_KEYWORDS(none)Comma-separated keywords to filter out of status alerts (e.g. "skills,Artifacts,Memory"). Empty = receive all alerts

Scripts also accept these as environment variables (env file takes priority).

### Security Note

The env file contains sensitive tokens (Telegram bot token, gateway token). The setup script sets permissions to 600 (owner-only read/write). If you create or edit the file manually, ensure restricted permissions:

chmod 600 ~/.openclaw/skills/claude-watchdog/claude-watchdog.env

### Alert Examples

Status incident:

🟠 Anthropic Status: Partially Degraded Service

📌 Elevated error rates on Claude 3.5 Haiku (not our model)
Status: Investigating
Update: "We are investigating increased error rates..."

Components:
  🟠 API: partial outage

🔗 https://status.claude.com

Latency spike:

🟡 Anthropic API — High Latency Detected

Current: 12.3s
Baseline: 3.1s (median of last 19 samples)
Ratio: 4.0×

Slow responses are expected right now.

Recovery:

✅ Anthropic API — Latency Back to Normal

Current: 2.8s
Baseline: 3.1s
Was: 12.3s when alert fired

### State & Logs

All state and log files are stored in ~/.openclaw/skills/claude-watchdog/:

FilePurposeclaude-watchdog-status.jsonStatus check stateclaude-watchdog-latency.jsonLatency probe state & samplesclaude-watchdog-status.logStatus check logclaude-watchdog-latency.logLatency probe log

### Tuning Thresholds

Edit constants at the top of latency-probe.py:

ConstantDefaultMeaningALERT_MULTIPLIER2.5Alert if latency > N× baseline medianALERT_HARD_FLOOR10.0sAlways alert above this absolute thresholdRECOVER_MULTIPLIER1.5Clear alert when below N× baselineBASELINE_WINDOW20Rolling sample window sizeBASELINE_MIN_SAMPLES5Minimum samples before alerting startsPROBE_TIMEOUT45sGive up on probe after this long

### Requirements

Python 3.10+ (stdlib only, no pip dependencies)
OpenClaw gateway running locally
Telegram bot with access to the target chat
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: chapati23
- Version: 1.2.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/claude-watchdog)
- [Send to Agent page](https://openagent3.xyz/skills/claude-watchdog/agent)
- [JSON manifest](https://openagent3.xyz/skills/claude-watchdog/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/claude-watchdog/agent.md)
- [Download page](https://openagent3.xyz/downloads/claude-watchdog)