跳到正文
Skillpedia
其他11k · #11743

weather

它能做什么

这项技能让 AI 查询某个地点当前的天气和简短预报。适合规划一天的行程、一次旅行或户外活动的任何人。

适用场景

  • ✓当你询问某个城市的天气如何时。
  • ✓当你想知道今天或明天是否会下雨时。
  • ✓当你在规划旅行,需要一周的天气预报的时候。

技能链接

https://github.com/spinabot/brigade/blob/main/skills/weather/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/spinabot/brigade/blob/main/skills/weather/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“明天波尔图会下雨吗?早上的气温是多少?”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会针对你指定的地点,向公开的天气服务请求天气信息,以简短摘要或详细视图的形式呈现。它使用简单的网络请求,因此不需要密钥。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Weather Skill

Get current weather conditions and forecasts.

When to Use

✅ USE this skill when:

  • "What's the weather?"
  • "Will it rain today/tomorrow?"
  • "Temperature in [city]"
  • "Weather forecast for the week"
  • Travel planning weather checks

When NOT to Use

❌ DON'T use this skill when:

  • Historical weather data → use weather archives/APIs
  • Climate analysis or trends → use specialized data sources
  • Hyper-local microclimate data → use local sensors
  • Severe weather alerts → check official NWS sources
  • Aviation/marine weather → use specialized services (METAR, etc.)

Location

Always include a city, region, or airport code in weather queries.

Commands

Current Weather

# One-line summary
curl "wttr.in/London?format=3"

# Detailed current conditions
curl "wttr.in/London?0"

# Specific city
curl "wttr.in/New+York?format=3"

Forecasts

# 3-day forecast
curl "wttr.in/London"

# Week forecast
curl "wttr.in/London?format=v2"

# Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1"

Format Options

# One-liner
curl "wttr.in/London?format=%l:+%c+%t+%w"

# JSON output
curl "wttr.in/London?format=j1"

# PNG image
curl "wttr.in/London.png"

Format Codes

  • %c — Weather condition emoji
  • %t — Temperature
  • %f — "Feels like"
  • %w — Wind
  • %h — Humidity
  • %p — Precipitation
  • %l — Location

Quick Responses

"What's the weather?"

curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity"

"Will it rain?"

curl -s "wttr.in/London?format=%l:+%c+%p"

"Weekend forecast"

curl "wttr.in/London?format=v2"

Notes

  • No API key needed (uses wttr.in)
  • Rate limited; don't spam requests
  • Works for most global cities
  • Supports airport codes: curl wttr.in/ORD
常见问题

它需要账户吗?

不需要。它使用公开的天气服务,无需 API 密钥。

它能显示过去的天气吗?

不能。历史天气数据、气候趋势和官方的恶劣天气预警不在其服务范围之内。

我需要指定地点吗?

需要。每次查询都应包含城市、地区或机场代码。

详情

作者的原始描述

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

repo: spinabot/brigade

热度

GitHub 星标
11k
排名
#11743
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能