{
  "schemaVersion": "1.0",
  "item": {
    "slug": "red-alert",
    "name": "Red Alert",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dannyshmueli/red-alert",
    "canonicalUrl": "https://clawhub.ai/dannyshmueli/red-alert",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/red-alert",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=red-alert",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/ENDPOINTS.md",
      "scripts/analyze.mjs",
      "scripts/listener-daemon.mjs",
      "scripts/listener.mjs",
      "scripts/package-lock.json"
    ],
    "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-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/red-alert"
    },
    "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/red-alert",
    "agentPageUrl": "https://openagent3.xyz/skills/red-alert/agent",
    "manifestUrl": "https://openagent3.xyz/skills/red-alert/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/red-alert/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": "Red Alert — Israel Emergency Alerts",
        "body": "Real-time and historical alert data for Israeli cities. Track rocket alerts, calculate shelter time, generate charts."
      },
      {
        "title": "Get an API Key",
        "body": "Sign up at https://redalert.orielhaim.com/ to get your API key. Store it as env var RED_ALERT_API_KEY.\n\nThis skill is a wrapper around the RedAlert API — it provides convenient CLI tools for querying, analyzing, and visualizing alert data."
      },
      {
        "title": "Endpoint Reference",
        "body": "For a full, exact endpoint map used by this skill (REST + Socket.IO + auth behavior), read:\n\nreferences/ENDPOINTS.md"
      },
      {
        "title": "Data Sources",
        "body": "SourceTypeAuthUse Forapi.tzevaadom.co.ilRESTNoneAlert history (last ~24h, 50 records)redalert.orielhaim.comSocket.IORED_ALERT_API_KEYReal-time alerts, status"
      },
      {
        "title": "Setup",
        "body": "# API key is stored as Fly secret: RED_ALERT_API_KEY\n# Socket.io client needed for real-time\ncd /data/clawd/skills/red-alert/scripts && npm install"
      },
      {
        "title": "Get Alert History (REST)",
        "body": "# Last ~24h of alerts nationwide (50 most recent alert groups)\ncurl -s \"https://api.tzevaadom.co.il/alerts-history\" -o /tmp/alerts.json\n\nResponse format:\n\n[{\n  \"id\": 5718,\n  \"description\": null,\n  \"alerts\": [{\n    \"time\": 1772352828,     // Unix timestamp\n    \"cities\": [\"כפר סבא\", \"תל אביב\"],\n    \"threat\": 0,            // 0=rockets, 1=aircraft, 5=infiltration\n    \"isDrill\": false\n  }]\n}]"
      },
      {
        "title": "Check System Status",
        "body": "curl -s -H \"Accept: application/json\" \"https://redalert.orielhaim.com/api/status\""
      },
      {
        "title": "Real-Time Alerts (Socket.IO)",
        "body": "node /data/clawd/skills/red-alert/scripts/realtime.mjs\n# Listens for: alert, rockets, hostileAircraftIntrusion, tsunami, earthquake"
      },
      {
        "title": "Analyze Shelter Time for a City",
        "body": "node /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\"\n# Outputs: alert count, shelter sessions, total shelter time, hourly data as JSON"
      },
      {
        "title": "Threat Types",
        "body": "CodeType (Hebrew)Type (English)Shelter Time0רקטות וטיליםRockets & Missiles15s-90s (varies by city)1חדירת כלי טיס עויןHostile Aircraft10 min2רעידת אדמהEarthquakeUntil safe3צונאמיTsunamiEvacuate coast5חדירת מחבליםTerrorist InfiltrationStay inside"
      },
      {
        "title": "Shelter Times by Region (for rockets)",
        "body": "RegionTimeGaza envelope15 secondsAshkelon, Sderot30 secondsBeer Sheva, Ashdod45 secondsTel Aviv, Kfar Saba, Netanya90 secondsHaifa, Hadera60 secondsNorth (border)30 seconds"
      },
      {
        "title": "Combining with Chart/Table Skills",
        "body": "# Generate hourly alert chart\nnode /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\" --format chart-json \\\n  | node /data/clawd/skills/chart-image/scripts/chart.mjs --type bar --dark --title \"Kfar Saba Alerts\" --output alerts.png\n\n# Generate shelter session table\nnode /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\" --format table-json \\\n  | node /data/clawd/skills/table-image/scripts/table.mjs --dark --title \"Shelter Sessions\" --output shelter.png"
      },
      {
        "title": "Architecture Notes",
        "body": "redalert.orielhaim.com — Oriel Haim's service. Polls Pikud HaOref, redistributes via Socket.IO. Has better-auth for API key management. REST endpoints blocked by Cloudflare challenge (except /api/status).\napi.tzevaadom.co.il — Free REST API, no auth needed, returns last ~24h of alert history.\nPikud HaOref direct (oref.org.il) — Blocked from cloud IPs (Akamai WAF)."
      },
      {
        "title": "Limitations",
        "body": "History limited to ~24h (50 groups) from tzevaadom\nFor longer history, would need to store alerts ourselves via socket.io listener\nReal-time requires persistent socket.io connection"
      }
    ],
    "body": "Red Alert — Israel Emergency Alerts\n\nReal-time and historical alert data for Israeli cities. Track rocket alerts, calculate shelter time, generate charts.\n\nGet an API Key\n\nSign up at https://redalert.orielhaim.com/ to get your API key. Store it as env var RED_ALERT_API_KEY.\n\nThis skill is a wrapper around the RedAlert API — it provides convenient CLI tools for querying, analyzing, and visualizing alert data.\n\nEndpoint Reference\n\nFor a full, exact endpoint map used by this skill (REST + Socket.IO + auth behavior), read:\n\nreferences/ENDPOINTS.md\nData Sources\nSource\tType\tAuth\tUse For\napi.tzevaadom.co.il\tREST\tNone\tAlert history (last ~24h, 50 records)\nredalert.orielhaim.com\tSocket.IO\tRED_ALERT_API_KEY\tReal-time alerts, status\nSetup\n# API key is stored as Fly secret: RED_ALERT_API_KEY\n# Socket.io client needed for real-time\ncd /data/clawd/skills/red-alert/scripts && npm install\n\nQuick Usage\nGet Alert History (REST)\n# Last ~24h of alerts nationwide (50 most recent alert groups)\ncurl -s \"https://api.tzevaadom.co.il/alerts-history\" -o /tmp/alerts.json\n\n\nResponse format:\n\n[{\n  \"id\": 5718,\n  \"description\": null,\n  \"alerts\": [{\n    \"time\": 1772352828,     // Unix timestamp\n    \"cities\": [\"כפר סבא\", \"תל אביב\"],\n    \"threat\": 0,            // 0=rockets, 1=aircraft, 5=infiltration\n    \"isDrill\": false\n  }]\n}]\n\nCheck System Status\ncurl -s -H \"Accept: application/json\" \"https://redalert.orielhaim.com/api/status\"\n\nReal-Time Alerts (Socket.IO)\nnode /data/clawd/skills/red-alert/scripts/realtime.mjs\n# Listens for: alert, rockets, hostileAircraftIntrusion, tsunami, earthquake\n\nAnalyze Shelter Time for a City\nnode /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\"\n# Outputs: alert count, shelter sessions, total shelter time, hourly data as JSON\n\nThreat Types\nCode\tType (Hebrew)\tType (English)\tShelter Time\n0\tרקטות וטילים\tRockets & Missiles\t15s-90s (varies by city)\n1\tחדירת כלי טיס עוין\tHostile Aircraft\t10 min\n2\tרעידת אדמה\tEarthquake\tUntil safe\n3\tצונאמי\tTsunami\tEvacuate coast\n5\tחדירת מחבלים\tTerrorist Infiltration\tStay inside\nShelter Times by Region (for rockets)\nRegion\tTime\nGaza envelope\t15 seconds\nAshkelon, Sderot\t30 seconds\nBeer Sheva, Ashdod\t45 seconds\nTel Aviv, Kfar Saba, Netanya\t90 seconds\nHaifa, Hadera\t60 seconds\nNorth (border)\t30 seconds\nCombining with Chart/Table Skills\n# Generate hourly alert chart\nnode /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\" --format chart-json \\\n  | node /data/clawd/skills/chart-image/scripts/chart.mjs --type bar --dark --title \"Kfar Saba Alerts\" --output alerts.png\n\n# Generate shelter session table\nnode /data/clawd/skills/red-alert/scripts/analyze.mjs --city \"כפר סבא\" --since \"2026-02-28T08:00\" --format table-json \\\n  | node /data/clawd/skills/table-image/scripts/table.mjs --dark --title \"Shelter Sessions\" --output shelter.png\n\nArchitecture Notes\nredalert.orielhaim.com — Oriel Haim's service. Polls Pikud HaOref, redistributes via Socket.IO. Has better-auth for API key management. REST endpoints blocked by Cloudflare challenge (except /api/status).\napi.tzevaadom.co.il — Free REST API, no auth needed, returns last ~24h of alert history.\nPikud HaOref direct (oref.org.il) — Blocked from cloud IPs (Akamai WAF).\nLimitations\nHistory limited to ~24h (50 groups) from tzevaadom\nFor longer history, would need to store alerts ourselves via socket.io listener\nReal-time requires persistent socket.io connection"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dannyshmueli/red-alert",
    "publisherUrl": "https://clawhub.ai/dannyshmueli/red-alert",
    "owner": "dannyshmueli",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/red-alert",
    "downloadUrl": "https://openagent3.xyz/downloads/red-alert",
    "agentUrl": "https://openagent3.xyz/skills/red-alert/agent",
    "manifestUrl": "https://openagent3.xyz/skills/red-alert/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/red-alert/agent.md"
  }
}