用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/L-LesterYu/OpenClaw-hot-skills-zh --skill weather-zh命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | weather-zh |
| description | 获取当前天气和天气预报(无需 API 密钥)。 |
| homepage | https://wttr.in/:help |
| metadata | {"openclaw":{"emoji":"🌤️","requires":{"bins":["curl"]}}} |
两个免费服务,无需 API 密钥。
快速单行命令:
curl -s "wttr.in/London?format=3"
# 输出: London: ⛅️ +8°C
紧凑格式:
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# 输出: London: ⛅️ +8°C 71% ↙5km/h
完整天气预报:
curl -s "wttr.in/London?T"
格式代码说明:
%c 天气状况图标%t 温度%h 湿度%w 风速风向%l 地点名称%m 月相使用技巧:
wttr.in/New+Yorkwttr.in/JFK?m(公制)?u(美制)?1 · 仅当前:?0curl -s "wttr.in/Berlin.png" -o /tmp/weather.png免费、无需密钥,适合程序化调用:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
先查询城市的经纬度坐标,再调用 API。返回包含温度、风速、天气代码的 JSON 数据。
文档:https://open-meteo.com/en/docs
# 北京天气
curl -s "wttr.in/Beijing?format=3&lang=zh"
# 上海天气
curl -s "wttr.in/Shanghai?lang=zh"
# 广州完整预报
curl -s "wttr.in/Guangzhou?T&lang=zh"
format=3 获取最简洁的天气信息wttr.in/城市名 获取 3 天预报lang=zh 参数可获取中文天气描述?u 切换到华氏度