返回顶部
w

weather天气

Get weather, air quality, sunrise/sunset, golden/blue hour times, and sunrise/sunset glow quality forecasts (朝霞晚霞预测). Perfect for photographers and outdoor planning.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.4.0
安全检测
已通过
215
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

weather

Weather Pro

天气查询 + 朝霞晚霞预测

快速使用

查天气(含霞光预测)

bash
~/.openclaw/workspace/skills/weather-pro/scripts/weather-full.sh 北京

参数说明

  • - 第一个参数:城市名(英文,如 Beijing, Shanghai)
  • 第二个参数(可选):预报天数,默认 1

支持城市

城市英文名
北京Beijing
上海
Shanghai | | 秦皇岛 | Qinhuangdao | | 广州 | Guangzhou | | 深圳 | Shenzhen | | 杭州 | Hangzhou | | 成都 | Chengdu | | 苏州 | Suzhou | | 南京 | Nanjing |

输出格式

[城市]天气 [日期]

🌡️ 温度:最低 ~ 最高
🌬️ 风力:风向 风级
☁️ 天况:晴/多云/雨
💧 湿度:百分比
🌫️ 空气质量:PM2.5 数值

🌅 日出:HH:MM
🌇 日落:HH:MM

🌅 朝霞质量:分数 (等级)
🌇 晚霞质量:分数 (等级)

霞光评分参考

分数等级建议
80-100优秀强烈推荐 🌟
60-79
良好 | 值得去 ✨ | | 40-59 | 一般 | 可能有色彩 | | 0-39 | 较差 | 不建议 |

API 来源

  • - WeatherAPI — 天气数据
  • Sunsethue — 朝霞晚霞质量预测

原始命令(不使用脚本)


点击展开

当前天气

bash
source ~/.openclaw/.env && curl -s https://api.weatherapi.com/v1/forecast.json?key=${WEATHERAPI_KEY}&q=Beijing&days=1&lang=zh&aqi=yes | jq {
location: .location.name,
temp: .current.temp_c,
condition: .current.condition.text,
humidity: .current.humidity,
pm25: .current.airquality.pm25
}

晚霞预测

bash
source ~/.openclaw/.env && curl -s https://api.sunsethue.com/event?latitude=39.90&longitude=116.41&date=$(date +%Y-%m-%d)&type=sunset&key=${SUNSETHUE_KEY} | jq {
quality: (.data.quality * 100 | floor),
rating: .data.quality_text
}

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 weather-pro-1776074582 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 weather-pro-1776074582 技能

通过命令行安装

skillhub install weather-pro-1776074582

下载

⬇ 下载 weather v1.4.0(免费)

文件大小: 3.52 KB | 发布时间: 2026-4-17 16:32

v1.4.0 最新 2026-4-17 16:32
支持任意城市名查询 + Golden/Blue Hour 时间段 + 修复中文城市名兼容性

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部