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 切换到华氏度