Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bnd-1 avatar

Smart Weather

  • 3 installs
  • Updated March 30, 2026
  • bnd-1/-skill

smart-weather is a skill that fetches weather from the wttr.in API and provides clothing, commute, and activity recommendations based on temperature and conditions.

About

smart-weather is a skill that fetches weather data from the wttr.in API and turns it into clothing, commute, and activity advice. A developer or user invokes it when asking about a location's weather, a forecast, or what to wear. It parses temperature, conditions, wind, rainfall, and humidity, then maps them to preset recommendation tables. The docs and responses are in Chinese.

  • Fetches weather from the wttr.in API via curl
  • Maps temperature and conditions to clothing and commute advice
  • Supports Chinese city names, international cities, and airport codes

Smart Weather by the numbers

  • 3 all-time installs (skills.sh)
  • Ranked #1,816 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

smart-weather capabilities & compatibility

Free; wttr.in is a public API with no key, though it rate-limits repeated requests.

Capabilities
weather lookup · clothing advice · commute advice
Works with
weather
Pricing
Free
From the docs

What smart-weather says it does

使用 wttr.in API 获取天气信息:
SKILL.md
wttr.in 有频率限制,避免短时间内重复请求
SKILL.md
根据温度和天气状况给出穿衣建议:
SKILL.md
npx skills add https://github.com/bnd-1/-skill --skill smart-weather

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3
Last updatedMarch 30, 2026
Repositorybnd-1/-skill

What it does

Get weather for a location and receive clothing, commute, and activity recommendations based on temperature and conditions.

Who is it for?

Users who want weather plus practical clothing, commute, and activity suggestions in Chinese.

Skip if: Authoritative meteorological data; the docs note the forecast is for reference and defers to official weather bureaus.

When should I use this skill?

The user asks about a place's weather, a forecast window, what to wear, or whether to bike/drive to work.

What you get

A weather summary paired with clothing, commute, and activity recommendations.

  • weather summary
  • clothing recommendation
  • commute recommendation

By the numbers

  • seven temperature-range clothing bands
  • supports Chinese, international, and airport-code location formats

Files

skill.mdMarkdownGitHub ↗

智能天气助手

智能天气助手,不仅能获取天气信息,还能根据天气情况提供穿衣建议和通勤建议。

触发条件

当用户提到以下内容时使用此技能:

  • 某个地方的天气(如"北京天气"、"上海今天怎么样")
  • 某个时间段的天气(如"明天天气"、"后天会下雨吗")
  • 穿衣相关(如"今天穿什么"、"明天需要带伞吗")
  • 通勤相关(如"今天适合骑车上班吗"、"要不要开车")
  • 活动建议(如"适合户外活动吗"、"可以去公园吗")

使用方法

1. 获取天气数据

使用 wttr.in API 获取天气信息:

# 当前天气(简略)
curl -s "wttr.in/{城市名}?lang=zh&format=3"

# 当前天气(详细)
curl -s "wttr.in/{城市名}?lang=zh"

# 明天预报
curl -s "wttr.in/{城市名}?lang=zh&1"

2. 解析天气数据

根据返回的天气信息,提取以下关键数据:

  • 当前/目标时间段的温度
  • 天气状况(晴/多云/雨/雪等)
  • 风速
  • 降雨量
  • 湿度

3. 提供穿衣建议

根据温度和天气状况给出穿衣建议:

温度范围对照表:

  • ≤ 5°C:羽绒服、厚棉衣、毛衣、保暖内衣、围巾、手套、帽子
  • 5-10°C:厚外套、羽绒服、毛衣、长裤、围巾
  • 10-15°C:薄外套、风衣、卫衣、长袖T恤、长裤
  • 15-20°C:长袖T恤、薄外套、长裤/牛仔裤
  • 20-25°C:短袖T恤、薄长裤
  • 25-30°C:短袖、短裤、薄衫
  • ≥ 30°C:轻薄透气衣物、防晒

天气状况对照表:

  • 晴天:注意防晒,准备太阳镜、防晒霜
  • 多云/阴天:可适当加一件薄外套
  • 小雨:带伞,穿防水鞋或靴子
  • 中雨/大雨:穿防水外套、雨靴、打伞
  • 下雪:穿羽绒服、防滑鞋、手套、帽子

4. 提供通勤建议

根据天气情况给出通勤建议:

  • 晴天:适合步行/骑行,注意防晒
  • 多云:适合各种通勤方式
  • 小雨
  • 骑行:穿雨衣,注意路面湿滑
  • 步行:打伞,穿防水鞋
  • 开车:减速慢行,注意车距
  • 中雨/大雨:建议开车或公共交通,避免步行/骑行
  • 下雪:建议公共交通或开车,穿防滑鞋
  • 大风(风速 > 15 km/h):不建议骑行,注意高空坠物

5. 活动建议

  • 晴天:适合户外活动、运动、郊游
  • 多云:适合大多数户外活动
  • 小雨:不适合长时间户外活动,室内活动为主
  • 中雨/大雨:不建议户外活动
  • 下雪:可进行雪地活动,注意保暖
  • 高温(≥ 30°C):避免正午户外活动,注意防暑

响应格式

简略响应(仅天气)

🌤️ [城市]天气预报

【当前天气】
[天气图标] [天气状况],[温度]°C,风速 [风速] km/h

【明日预报】
☀️ [天气状况],[最低温度]-[最高温度]°C

完整响应(包含建议)

🌤️ [城市]天气预报

【当前天气】
[天气图标] [天气状况],[温度]°C
风速:[风速] km/h | 降雨量:[降雨量]mm

【[时间段]预报】
[天气图标] [天气状况],[最低温度]-[最高温度]°C

👕 穿衣建议
[根据天气给出的具体穿衣建议]

🚗 通勤建议
[根据天气给出的通勤建议]

🏃 活动建议
[根据天气给出的活动建议]

示例对话

用户: "明天北京什么天气,要穿什么?"

AI响应:

🌤️ 北京天气预报

【明日预报】
☀️ 晴天,12-20°C

👕 穿衣建议
- 早上较凉(12°C):穿长袖T恤 + 薄外套
- 中午回暖(20°C):可脱掉外套
- 建议:薄外套、长袖T恤、牛仔裤

🚗 通勤建议
- 晴天适合骑行或步行上班
- 注意防晒,建议戴墨镜

🏃 活动建议
- 天气晴朗,适合户外活动
- 可以安排午休散步或下班后运动

用户: "今天下雨,适合骑车上班吗?"

AI响应:

🌧️ 成都天气预报

【当前天气】
🌧 中雨,15°C
风速:9 km/h | 降雨量:3.2mm

🚗 通勤建议
- 中雨天气,不建议骑行
- 建议乘坐公共交通或开车
- 如必须骑行,请穿雨衣并注意安全
- 路面湿滑,减速慢行

👕 穿衣建议
- 穿防水外套或带伞
- 穿防水鞋或靴子
- 长袖T恤 + 薄外套

注意事项

1. 城市名称支持中文,URL编码为 UTF-8 2. wttr.in 有频率限制,避免短时间内重复请求 3. 预报数据仅供参考,具体以官方气象台为准 4. 穿衣和通勤建议基于一般经验,需结合个人体质调整

支持的地点格式

  • 城市名:成都北京上海
  • 国际城市:TokyoNew+YorkLondon
  • 机场代码:CTUPEKPVG

Related skills

FAQ

What weather source does it use?

It uses the wttr.in API, called via curl with lang=zh, and notes wttr.in has rate limits so repeated requests should be avoided.

What locations are supported?

City names in Chinese, international cities like Tokyo or London, and airport codes such as CTU, PEK, and PVG.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.