Install
openclaw skills install vercel-deployment-watchdogMonitor Vercel-hosted site deployments with automated health checks, cache freshness verification, and API validation. Use when you need to ensure deployments succeed and sites remain healthy after updates. Integrates with Vercel API to detect new deployments and run comprehensive post-deployment checks.
openclaw skills install vercel-deployment-watchdog⚠️ SECURITY & USAGE DISCLAIMER
This skill is designed exclusively for monitoring your own web applications and deployments. It must not be used to probe, scan, or monitor any systems you do not own or have explicit permission to test.
Permitted Use:
Prohibited Use:
By using this skill, you agree to use it only for legitimate monitoring of your own infrastructure.
Automated deployment monitoring for Vercel-hosted applications. This skill provides:
The skill includes multiple security measures:
URL Validation: All URLs are validated to:
http:// or https:// protocollocalhost, 127.0.0.1, 0.0.0.0)ALLOW_INTERNAL=true environment variable (requires explicit opt-in; no CLI bypass flags)ALLOW_INTERNAL=true if you need to monitor localhost/private IPs and have explicit permission. Enabling it allows network access to internal addresses.Credential Safety:
Network Restrictions:
This skill:
robots.txt and common web standardsYou must:
Violation of these terms may result in removal from ClawHub and suspension of your account.
# Check if curl and jq are installed
command -v curl >/dev/null 2>&1 && command -v jq >/dev/null 2>&1 || {
echo "Error: curl and jq are required but not installed."
echo "Install them using your system package manager:"
echo " Debian/Ubuntu: sudo apt-get install curl jq"
echo " macOS: brew install curl jq"
echo " For other systems, see: https://curl.se/ and https://stedolan.github.io/jq/"
exit 1
}
Create a .env file or set environment variables:
# Vercel API token (create at https://vercel.com/account/tokens)
export VERCEL_TOKEN="vcp_..."
# Target URLs to monitor
export HOMEPAGE_URL="https://your-site.com/"
export API_FEED_URL="https://your-site.com/api/feed"
# Optional: Telegram chat ID for OpenClaw cron notifications (not used by scripts)
export TELEGRAM_CHAT_ID="YOUR_TELEGRAM_CHAT_ID"
# Security: Only set ALLOW_INTERNAL=true if monitoring localhost/private IPs
# export ALLOW_INTERNAL="true"
# Make script executable
chmod +x scripts/watchdog-check.sh
# Run check
./scripts/watchdog-check.sh --homepage "$HOMEPAGE_URL" --api "$API_FEED_URL"
For safe and integrated scheduling, use OpenClaw's built-in cron system instead of system cron:
// Create an OpenClaw cron job (every 5 minutes)
{
"name": "Vercel Watchdog",
"schedule": { "kind": "every", "everyMs": 300000 },
"payload": {
"kind": "agentTurn",
"message": "Run deployment watchdog check for my site"
},
"delivery": {
"mode": "announce",
"channel": "telegram",
"to": "YOUR_TELEGRAM_CHAT_ID"
}
}
See the "Integration with OpenClaw" section below for more details.
age: 0 and x-vercel-cache: MISS headersThe skill can:
READY, ERROR, BUILDING)READYWhen checks fail, the skill can:
./scripts/watchdog-check.sh --homepage "https://your-site.com" --api "https://your-site.com/api/feed"
The script uses the VERCEL_TOKEN environment variable automatically, or you can pass it explicitly via --token.
# Check for new deployments in the last 10 minutes
./scripts/vercel-monitor.sh --project "your-project" --since 10m
scripts/watchdog-check.shMain health check script with the following options:
--homepage URL # Homepage URL to check (default: https://your-site.com/)
--api URL # API feed URL to check (default: https://your-site.com/api/feed)
--verbose # Enable verbose output
--json # Output results as JSON for programmatic use
scripts/vercel-monitor.shVercel API integration script:
--token TOKEN # Vercel API token (required)
--project NAME # Project name to monitor (default: auto-detect)
--since MINUTES # Check deployments from last N minutes (default: 5)
--team-id ID # Team ID for organization accounts
Note: This skill provides monitoring scripts that output results to stdout. Notifications are handled by OpenClaw's cron delivery system (delivery.mode: "announce") when configured, not by the scripts themselves. The scripts do not make external API calls for notifications.
Set up the skill to run periodically via OpenClaw's cron system:
// Example cron job configuration
{
"name": "Vercel Watchdog",
"schedule": { "kind": "every", "everyMs": 300000 }, // Every 5 minutes
"payload": {
"kind": "agentTurn",
"message": "Run deployment watchdog check and notify if any failures"
},
"delivery": {
"mode": "announce",
"channel": "telegram",
"to": "YOUR_TELEGRAM_CHAT_ID"
}
}
Spawn a sub-agent to handle monitoring:
# Use OpenClaw sessions_spawn to run monitoring in background
openclaw sessions spawn --task "Monitor your site deployment health for next hour" --runtime subagent --label deployment-watchdog
Vercel API authentication fails:
deployment:read scopeCache freshness indicators missing:
API feed validation fails:
jq . <(curl -s API_URL)Enable verbose output to see detailed check results:
./scripts/watchdog-check.sh --verbose
scripts/watchdog-check.sh--verbose flaghimalaya CLI or gog skillSee references/ directory for: