{
  "schemaVersion": "1.0",
  "item": {
    "slug": "weather-query",
    "name": "Weather Query",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/JaceyMarvin99/weather-query",
    "canonicalUrl": "https://clawhub.ai/JaceyMarvin99/weather-query",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/weather-query",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=weather-query",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/forecast.sh",
      "scripts/realtime.sh"
    ],
    "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/weather-query"
    },
    "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/weather-query",
    "agentPageUrl": "https://openagent3.xyz/skills/weather-query/agent",
    "manifestUrl": "https://openagent3.xyz/skills/weather-query/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/weather-query/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": "Weather Query Skill",
        "body": "This skill enables AI agents to fetch real-time weather information and forecasts for locations in China using the provided shell scripts."
      },
      {
        "title": "When to Use This Skill",
        "body": "Use this skill when users:\n\nAsk about current weather conditions\nWant weather forecasts\nNeed temperature, humidity, wind information\nRequest air quality data\nPlan outdoor activities and need weather info"
      },
      {
        "title": "Get Real-time Weather",
        "body": "Use the realtime.sh script to get current conditions, air quality, daily life indices, and weather alerts.\n\n./scripts/realtime.sh <query> [--encoding <text|json|markdown>]"
      },
      {
        "title": "Get Weather Forecast",
        "body": "Use the forecast.sh script to get hourly and daily forecast data, along with sunrise/sunset times.\n\n./scripts/forecast.sh <query> [--encoding <text|json|markdown>] [--days <0-8>]\n\nquery (Required): The name of the city, district, or area in Chinese (e.g., 雨花台, 北京). Can be provided as a positional argument or with --query.\nencoding (Optional): Used to specify the returned data format. Can be text, json, or markdown.\ndays (Optional, forecast only): Used to specify the weather forecast date range. An integer between 0 and 8."
      },
      {
        "title": "Response Format",
        "body": "To balance information depth with token consumption, you MUST use the following rules for the encoding parameter:\n\nDefault Strategy (--encoding markdown)\n\nWhen to use: By default for standard weather inquiries.\nWhy: Provides well-structured, easy-to-read information with moderate token usage.\n\n\n\nBrief Information (--encoding text)\n\nWhen to use: When the user explicitly requests brief or summarized weather information.\nWhy: Returns only essential details in plain text, saving maximum tokens.\n\n\n\nComplete Information (--encoding json)\n\nWhen to use: Only when the user explicitly asks for raw data, detailed fields, or comprehensive data (all indices, timestamps).\nWhy: Returns the complete API payload, which is highly token-heavy."
      },
      {
        "title": "Best Practices",
        "body": "Location Names: Always use Chinese characters for location names\n\n\nError Handling: Check if the location is valid before displaying results\n\n\nContext: Provide relevant context based on weather conditions\n\nRain: Suggest bringing umbrella\nHot: Recommend staying hydrated\nCold: Advise wearing warm clothes\nPoor AQI: Suggest wearing mask\n\n\n\nFallbacks: If a specific district doesn't work, try the city name"
      },
      {
        "title": "Issue: Location not found",
        "body": "Solution: Try using the main city name instead of district\nExample: Use \"北京\" instead of \"朝阳区\""
      },
      {
        "title": "Issue: No forecast data",
        "body": "Solution: Verify the location name is correct\nTry standard city names: 北京, 上海, 广州, 深圳, etc."
      },
      {
        "title": "Issue: Data seems outdated",
        "body": "Solution: The API updates regularly, but weather can change quickly\nCheck the updated timestamp in the response"
      },
      {
        "title": "Supported Locations",
        "body": "The weather API supports most cities and districts in China, including:\n\nProvincial capitals: 北京, 上海, 广州, 深圳, 成都, 杭州, 南京, 武汉, etc.\nMajor cities: 苏州, 青岛, 大连, 厦门, etc.\nDistricts: 海淀区, 朝阳区, 浦东新区, etc."
      }
    ],
    "body": "Weather Query Skill\n\nThis skill enables AI agents to fetch real-time weather information and forecasts for locations in China using the provided shell scripts.\n\nWhen to Use This Skill\n\nUse this skill when users:\n\nAsk about current weather conditions\nWant weather forecasts\nNeed temperature, humidity, wind information\nRequest air quality data\nPlan outdoor activities and need weather info\nHow to Use\nGet Real-time Weather\n\nUse the realtime.sh script to get current conditions, air quality, daily life indices, and weather alerts.\n\n./scripts/realtime.sh <query> [--encoding <text|json|markdown>]\n\nGet Weather Forecast\n\nUse the forecast.sh script to get hourly and daily forecast data, along with sunrise/sunset times.\n\n./scripts/forecast.sh <query> [--encoding <text|json|markdown>] [--days <0-8>]\n\nquery (Required): The name of the city, district, or area in Chinese (e.g., 雨花台, 北京). Can be provided as a positional argument or with --query.\nencoding (Optional): Used to specify the returned data format. Can be text, json, or markdown.\ndays (Optional, forecast only): Used to specify the weather forecast date range. An integer between 0 and 8.\nResponse Format\n\nTo balance information depth with token consumption, you MUST use the following rules for the encoding parameter:\n\nDefault Strategy (--encoding markdown)\n\nWhen to use: By default for standard weather inquiries.\nWhy: Provides well-structured, easy-to-read information with moderate token usage.\n\nBrief Information (--encoding text)\n\nWhen to use: When the user explicitly requests brief or summarized weather information.\nWhy: Returns only essential details in plain text, saving maximum tokens.\n\nComplete Information (--encoding json)\n\nWhen to use: Only when the user explicitly asks for raw data, detailed fields, or comprehensive data (all indices, timestamps).\nWhy: Returns the complete API payload, which is highly token-heavy.\nBest Practices\n\nLocation Names: Always use Chinese characters for location names\n\nError Handling: Check if the location is valid before displaying results\n\nContext: Provide relevant context based on weather conditions\n\nRain: Suggest bringing umbrella\nHot: Recommend staying hydrated\nCold: Advise wearing warm clothes\nPoor AQI: Suggest wearing mask\n\nFallbacks: If a specific district doesn't work, try the city name\n\nTroubleshooting\nIssue: Location not found\nSolution: Try using the main city name instead of district\nExample: Use \"北京\" instead of \"朝阳区\"\nIssue: No forecast data\nSolution: Verify the location name is correct\nTry standard city names: 北京, 上海, 广州, 深圳, etc.\nIssue: Data seems outdated\nSolution: The API updates regularly, but weather can change quickly\nCheck the updated timestamp in the response\nSupported Locations\n\nThe weather API supports most cities and districts in China, including:\n\nProvincial capitals: 北京, 上海, 广州, 深圳, 成都, 杭州, 南京, 武汉, etc.\nMajor cities: 苏州, 青岛, 大连, 厦门, etc.\nDistricts: 海淀区, 朝阳区, 浦东新区, etc."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/JaceyMarvin99/weather-query",
    "publisherUrl": "https://clawhub.ai/JaceyMarvin99/weather-query",
    "owner": "JaceyMarvin99",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/weather-query",
    "downloadUrl": "https://openagent3.xyz/downloads/weather-query",
    "agentUrl": "https://openagent3.xyz/skills/weather-query/agent",
    "manifestUrl": "https://openagent3.xyz/skills/weather-query/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/weather-query/agent.md"
  }
}