‹ 首页

weather

@sciclaw · 收录于 1 周前 · 上游提交 2 周前

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

适合你,如果需要快速查看天气且不想配置API密钥

/ 通过 npx 安装 校验哈希
npx oh-my-skill add sciclaw/sciclaw/weather
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- sciclaw/sciclaw/weather
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify sciclaw/sciclaw/weather
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
10GitHub stars
~312上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 5d19464 · 表述以原文为准
它做什么

装上后,Claude 可以查询当前天气和天气预报,无需 API 密钥。

什么时候触发

当你询问某个地点的天气时触发。

装好后可以这样说
返回伦敦当前天气。
返回纽约天气预报。
技能原文 SKILL.md作者撰写 · MIT · 5d19464

Weather

Two free services, no API keys needed.

wttr.in (primary)

Quick one-liner:

curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C

Compact format:

curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h

Full forecast:

curl -s "wttr.in/London?T"

Format codes: %c condition · %t temp · %h humidity · %w wind · %l location · %m moon

Tips:

  • URL-encode spaces: wttr.in/New+York
  • Airport codes: wttr.in/JFK
  • Units: ?m (metric) ?u (USCS)
  • Today only: ?1 · Current only: ?0
  • PNG: curl -s "wttr.in/Berlin.png" -o /tmp/weather.png
Open-Meteo (fallback, JSON)

Free, no key, good for programmatic use:

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true"

Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.

Docs: https://open-meteo.com/en/docs

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。