weather-skill-ywy

A skill for querying weather information in China that supports current weather, future forecasts, air quality, and lifestyle indices. It is suitable for asking about weather conditions, trip planning, or checking temperature, humidity, wind, etc., and can quickly return structured weather data by specifying a city or region name.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "weather-skill-ywy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4c81f24235e70f041803e34a6d8df7b79eb972a4006fc5462e2f64a88d7fb0d4. Verify the upstream source and version against https://skillhub.cn/skills/user_0ed7c270/weather-skill-ywy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A skill for querying weather information in China that supports current weather, future forecasts, air quality, and lifestyle indices. It is suitable for asking about weather conditions, trip planning, or checking temperature, humidity, wind, etc., and can quickly return structured weather data by specifying a city or region name.

0 Downloads

Introduction source: third_party · user_0ed7c270 · 1.0.0 Reference

SkillPi interpretation

Tasks
weather-skill-ywy
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

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

Areas to improve

  • description写错位置 Reported severity: Minor

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

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

Highlights

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

Highlights

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

Highlights

  • 工具来源明确(shell 脚本),参数定义清晰
  • 覆盖了主要异常场景(如位置未找到、数据过时等)并提供解决方案
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.