weather-skill-ywy

用于查询中国地区天气信息的技能,支持获取实时天气、未来天气预报、空气质量及生活指数等数据,适用于询问天气状况、出行规划或了解温度、湿度、风力等场景,可通过指定城市或区域名称快速获取结构化天气数据。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "weather-skill-ywy":https://skillpi.com/zh/skills/deepskill-4c81f24235e70f041803e34a6d8df7b79eb972a4006fc5462e2f64a88d7fb0d4。安装前核对上游来源和版本:https://skillhub.cn/skills/user_0ed7c270/weather-skill-ywy。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于查询中国地区天气信息的技能,支持获取实时天气、未来天气预报、空气质量及生活指数等数据,适用于询问天气状况、出行规划或了解温度、湿度、风力等场景,可通过指定城市或区域名称快速获取结构化天气数据。

0 下载

介绍来源: third_party · user_0ed7c270 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "weather-skill-ywy"
description: "weather-skill-ywy"

name: weather-query description: Use when users ask about weather conditions, forecasts, or climate information for locations in China.

Weather Query Skill

This skill enables AI agents to fetch real-time weather information and forecasts for locations in China using the provided shell scripts.

When to Use This Skill

Use this skill when users:

  • Ask about current weather conditions
  • Want weather forecasts
  • Need temperature, humidity, wind information
  • Request air quality data
  • Plan outdoor activities and need weather info

How to Use

Get Real-time Weather

Use the realtime.sh script to get current conditions, air quality, daily life indices, and weather alerts.

./scripts/realtime.sh <query> [--encoding <text|json|markdown>]

Get Weather Forecast

Use the forecast.sh script to get hourly and daily forecast data, along with sunrise/sunset times.

./scripts/forecast.sh <query> [--encoding <text|json|markdown>] [--days <0-8>]
  • query (Required): The name of the city, district, or area in Chinese (e.g., 雨花台, 北京). Can be provided as a positional argument or with --query.
  • encoding (Optional): Used to specify the returned data format. Can be text, json, or markdown.
  • days (Optional, forecast only): Used to specify the weather forecast date range. An integer between 0 and 8.

Response Format

To balance information depth with token consumption, you MUST use the following rules for the encoding parameter:

  1. Default Strategy (--encoding markdown)
    • When to use: By default for standard weather inquiries.
    • Why: Provides well-structured, easy-to-read information with moderate token usage.
  2. Brief Information (--encoding text)
    • When to use: When the user explicitly requests brief or summarized weather information.
    • Why: Returns only essential details in plain text, saving maximum tokens.
  3. Complete Information (--encoding json)
    • When to use: Only when the user explicitly asks for raw data, detailed fields, or comprehensive data (all indices, timestamps).
    • Why: Returns the complete API payload, which is highly token-heavy.

Best Practices

  1. Location Names: Always use Chinese characters for location names
  2. Error Handling: Check if the location is valid before displaying results
  3. Context: Provide relevant context based on weather conditions
    • Rain: Suggest bringing umbrella
    • Hot: Recommend staying hydrated
    • Cold: Advise wearing warm clothes
    • Poor AQI: Suggest wearing mask
  4. Fallbacks: If a specific district doesn't work, try the city name

Troubleshooting

Issue: Location not found

  • Solution: Try using the main city name instead of district
  • Example: Use "北京" instead of "朝阳区"

Issue: No forecast data

  • Solution: Verify the location name is correct
  • Try standard city names: 北京, 上海, 广州, 深圳, etc.

Issue: Data seems outdated

  • Solution: The API updates regularly, but weather can change quickly
  • Check the updated timestamp in the response

Supported Locations

The weather API supports most cities and districts in China, including:

  • Provincial capitals: 北京, 上海, 广州, 深圳, 成都, 杭州, 南京, 武汉, etc.
  • Major cities: 苏州, 青岛, 大连, 厦门, etc.
  • Districts: 海淀区, 朝阳区, 浦东新区, etc.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供中国地区实时天气与预报查询,满足用户出行、穿衣、户外活动等高频需求
  • 支持多种数据格式(text/json/markdown)以适应不同场景的 token 消耗要求
触发精准70/100

待提升项

  • description写错位置 原报告严重程度:轻微

    顶层 frontmatter 中 description 字段为空,但 skill_body 内部有实质描述内容

    改进建议:建议将 description 内容移至顶层 frontmatter 的 description 字段中,以符合规范

亮点

  • 触发词覆盖合理,涵盖多种天气查询场景(当前天气、预报、温度、湿度、空气质量等)
结构规范90/100

亮点

  • 结构清晰,包含 When to Use、How to Use、Response Format、Best Practices、Troubleshooting 等完整章节
  • 提供了详细的端到端示例和参数说明,便于用户理解和使用
执行可靠85/100

亮点

  • 工具来源明确(shell 脚本),参数定义清晰
  • 覆盖了主要异常场景(如位置未找到、数据过时等)并提供解决方案
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。