闲社服务运行正常AI智能体自动化平台
w

获取天气与预报

技能标识:weather

Get current weather and forecasts (no API key required).

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

获取天气与预报

天气

两个免费服务,无需API密钥。

wttr.in(主要)

快速单行查询:
bash
curl -s wttr.in/London?format=3

输出:London: ⛅️ +8°C

紧凑格式:
bash
curl -s wttr.in/London?format=%l:+%c+%t+%h+%w

输出:London: ⛅️ +8°C 71% ↙5km/h

完整预报:
bash
curl -s wttr.in/London?T

格式代码:%c 天气状况 · %t 温度 · %h 湿度 · %w 风速 · %l 地点 · %m 月相

提示:

  • - URL编码空格:wttr.in/New+York
  • 机场代码:wttr.in/JFK
  • 单位:?m(公制)?u(美制)
  • 仅今日:?1 · 仅当前:?0
  • PNG格式:curl -s wttr.in/Berlin.png -o /tmp/weather.png

Open-Meteo(备用,JSON格式)

免费,无需密钥,适合程序化使用:
bash
curl -s https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true

查找城市坐标,然后查询。返回包含温度、风速、天气代码的JSON数据。

文档:https://open-meteo.com/en/docs

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mars-weather-ai-1775912822 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mars-weather-ai-1775912822 技能

通过命令行安装

skillhub install mars-weather-ai-1775912822

下载

⬇ 下载 weather v1.0.0(免费)

文件大小: 1.3 KB | 发布时间: 2026-4-12 10:31

v1.0.0 最新 2026-4-12 10:31
- Initial release of the weather skill.
- Get current weather and forecasts for any location without needing an API key.
- Uses wttr.in for quick, human-readable conditions and forecasts with simple curl commands.
- Open-Meteo is provided as a fallback for programmatic access to JSON weather data.
- Supports tips for locations, units, and custom output formats.
返回顶部