用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zeminroot/cheerclaw --skill weather命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | weather |
| description | Get current weather and forecasts (no API key required). |
| homepage | https://wttr.in/:help |
| metadata | {"nanobot":{"emoji":"🌤️","requires":{"bins":"[Truncated]"}}} |
Two free services, no API keys needed.
Before using this skill:
Quick one-liner (replace {location} with the user-specified city):
curl -s "wttr.in/{location}?format=3"
# Example: curl -s "wttr.in/Beijing?format=3"
# Output: Beijing: ⛅️ +8°C
Compact format (replace {location} with user-specified city):
curl -s "wttr.in/{location}?format=%l:+%c+%t+%h+%w"
# Example: curl -s "wttr.in/Shanghai?format=%l:+%c+%t+%h+%w"
# Output: Shanghai: ⛅️ +15°C 65% ↙8km/h
Full forecast:
curl -s "wttr.in/{location}?T"
Format codes: %c condition · %t temp · %h humidity · %w wind · %l location · %m moon
Tips:
wttr.in/New+York or wttr.in/New%20Yorkwttr.in/JFK, wttr.in/PEK?m (metric) ?u (USCS)?1 · Current only: ?0curl -s "wttr.in/{location}.png" -o /tmp/weather.pngFree, no key, good for programmatic use. First get coordinates for the user-specified city, then query:
# Example for Beijing (latitude=39.9&longitude=116.4)
curl -s "https://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4¤t_weather=true"
Returns JSON with temp, windspeed, weathercode.