{
  "schemaVersion": "1.0",
  "item": {
    "slug": "astrill-watchdog",
    "name": "Astrill VPN Watchdog",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/LittleJakub/astrill-watchdog",
    "canonicalUrl": "https://clawhub.ai/LittleJakub/astrill-watchdog",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/astrill-watchdog",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrill-watchdog",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "astrill-watchdog.sh",
      "CHANGELOG.md",
      "_meta.json",
      "setup.sh",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/astrill-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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/astrill-watchdog",
    "agentPageUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "astrill-watchdog",
        "body": "Monitors Astrill VPN on Ubuntu (deb GUI package) and automatically restarts it when the StealthVPN tunnel drops."
      },
      {
        "title": "What it does",
        "body": "Watches tun0 + ping every 30 seconds. On failure, performs a full Astrill restart:\n\npkill astrill kills the process tree (root-owned children asproxy/asovpnc die with the parent — no sudo needed)\nsetsid /autostart relaunches Astrill with the full desktop environment (DISPLAY, DBUS, WAYLAND_DISPLAY) so it can initialize its GUI/Wayland stack from a systemd service context\nAstrill auto-connects to the last used server\n\nOn restart failure: logs a CRITICAL block, resumes checking next cycle. Never exits."
      },
      {
        "title": "Requirements",
        "body": "Ubuntu Linux, Astrill deb GUI package (/usr/local/Astrill/astrill)\nping, ip, pgrep, pkill, setsid (Ubuntu defaults)\nActive desktop session (DISPLAY/DBUS/WAYLAND) — required for Astrill relaunch"
      },
      {
        "title": "Installation",
        "body": "bash setup.sh\n\nNo sudo. Installs the watchdog, creates a systemd user unit, and starts the service. Enabled on login automatically."
      },
      {
        "title": "Usage",
        "body": "astrill-watchdog.sh start    # start watchdog (also done by systemd on login)\nastrill-watchdog.sh stop     # stop watchdog\nastrill-watchdog.sh status   # health summary + last 20 log lines\nastrill-watchdog.sh once     # single health check + restart if needed, then exit"
      },
      {
        "title": "Files",
        "body": "PathPurpose~/.config/astrill-watchdog/astrill-watchdog.shWatchdog script~/.config/systemd/user/astrill-watchdog.serviceSystemd user unit~/.local/state/astrill-watchdog/watchdog.logLog file (rotates at 5000 lines)~/.local/state/astrill-watchdog/watchdog.pidPID file"
      },
      {
        "title": "Configuration",
        "body": "Edit the config block at the top of astrill-watchdog.sh:\n\nCHECK_INTERVAL=30      # seconds between health checks\nRECONNECT_WAIT=60      # seconds to wait after restart before health check\nPING_HOST=\"8.8.8.8\"\nPING_COUNT=3\nPING_TIMEOUT=3\nLOG_MAX_LINES=5000\n\nAfter editing, restart: systemctl --user restart astrill-watchdog.service"
      },
      {
        "title": "Diagnostics",
        "body": "# Live log tail\ntail -f ~/.local/state/astrill-watchdog/watchdog.log\n\n# Systemd journal\njournalctl --user -u astrill-watchdog.service -n 30\n\n# Full status summary\nastrill-watchdog.sh status"
      }
    ],
    "body": "astrill-watchdog\n\nMonitors Astrill VPN on Ubuntu (deb GUI package) and automatically restarts it when the StealthVPN tunnel drops.\n\nWhat it does\n\nWatches tun0 + ping every 30 seconds. On failure, performs a full Astrill restart:\n\npkill astrill kills the process tree (root-owned children asproxy/asovpnc die with the parent — no sudo needed)\nsetsid /autostart relaunches Astrill with the full desktop environment (DISPLAY, DBUS, WAYLAND_DISPLAY) so it can initialize its GUI/Wayland stack from a systemd service context\nAstrill auto-connects to the last used server\n\nOn restart failure: logs a CRITICAL block, resumes checking next cycle. Never exits.\n\nRequirements\nUbuntu Linux, Astrill deb GUI package (/usr/local/Astrill/astrill)\nping, ip, pgrep, pkill, setsid (Ubuntu defaults)\nActive desktop session (DISPLAY/DBUS/WAYLAND) — required for Astrill relaunch\nInstallation\nbash setup.sh\n\n\nNo sudo. Installs the watchdog, creates a systemd user unit, and starts the service. Enabled on login automatically.\n\nUsage\nastrill-watchdog.sh start    # start watchdog (also done by systemd on login)\nastrill-watchdog.sh stop     # stop watchdog\nastrill-watchdog.sh status   # health summary + last 20 log lines\nastrill-watchdog.sh once     # single health check + restart if needed, then exit\n\nFiles\nPath\tPurpose\n~/.config/astrill-watchdog/astrill-watchdog.sh\tWatchdog script\n~/.config/systemd/user/astrill-watchdog.service\tSystemd user unit\n~/.local/state/astrill-watchdog/watchdog.log\tLog file (rotates at 5000 lines)\n~/.local/state/astrill-watchdog/watchdog.pid\tPID file\nConfiguration\n\nEdit the config block at the top of astrill-watchdog.sh:\n\nCHECK_INTERVAL=30      # seconds between health checks\nRECONNECT_WAIT=60      # seconds to wait after restart before health check\nPING_HOST=\"8.8.8.8\"\nPING_COUNT=3\nPING_TIMEOUT=3\nLOG_MAX_LINES=5000\n\n\nAfter editing, restart: systemctl --user restart astrill-watchdog.service\n\nDiagnostics\n# Live log tail\ntail -f ~/.local/state/astrill-watchdog/watchdog.log\n\n# Systemd journal\njournalctl --user -u astrill-watchdog.service -n 30\n\n# Full status summary\nastrill-watchdog.sh status"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/LittleJakub/astrill-watchdog",
    "publisherUrl": "https://clawhub.ai/LittleJakub/astrill-watchdog",
    "owner": "LittleJakub",
    "version": "2.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/astrill-watchdog",
    "downloadUrl": "https://openagent3.xyz/downloads/astrill-watchdog",
    "agentUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrill-watchdog/agent.md"
  }
}