📦 Tübingen Weather — 图宾根天气 — 每日08:00天气报告

v1.0.0

使用open-meteo.com发送图宾根每日08:00的天气报告,包括当前天气、当日最高/最低温度和降雨概率,支持本地存储和通过Telegram转发。

0· 627·0 当前·0 累计
by @zopyx (Andreas Jung)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/25
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能内部逻辑一致,做了它声称要做的事情:一个小的stdlib Python脚本调用open-meteo,写入本地文本摘要,SKILL.md展示了如何安排它,只有少量文档/清单不匹配需要注意。
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/13

初始发布:图宾根每日08:00天气摘要

无害

安装命令

点击复制
官方npx clawhub@latest install tuebingen-weather
🇨🇳 镜像加速npx clawhub@latest install tuebingen-weather --registry https://cn.longxiaskill.com

技能文档

概览

此技能提供图宾根每日天气摘要(使用Open-Meteo API,无需API密钥)。输出:包含当前状态、当日最高/最低温度和降雨概率的简洁文本摘要。

快速开始

  • 手动获取
python3 skills/tuebingen-weather/scripts/fetch_tuebingen_weather.py \
  --output data/weather/$(date +%F)_tuebingen.txt
-> 输出摘要并可选保存。
  • 无文件 (仅控制台/Telegram):
python3 skills/tuebingen-weather/scripts/fetch_tuebingen_weather.py

自动化08:00发送

  • 创建Cron作业
openclaw cron add <<'JSON'
{
  "name": "tuebingen-weather-08",
  "schedule": {
    "kind": "cron",
    "expr": "0 8   *",
    "tz": "Europe/Berlin"
  },
  "sessionTarget": "isolated",
  "payload": {
    "kind": "agentTurn",
    "model": "default",
    "message": "Run python3 skills/tuebingen-weather/scripts/fetch_tuebingen_weather.py --output data/weather/$(date +%F)_tuebingen.txt. Send Master the stdout summary + mention the saved file. Report errors if the command fails."
  }
}
JSON
  • 概览
  • 保存文本文件到 data/weather/YYYY-MM-DD_tuebingen.txt (可自定义)。
  • Cron-Bot每晨08:00自动发送消息。

提示

  • 脚本仅使用Stdlib (urllib, json)。无需pip安装。
  • 天气代码 → 德语描述在 WEATHER_CODES 中。
  • 时区: Europe/Berlin — 自动适应夏/冬令时。
  • 可以在脚本中轻松添加自定义字段(如风速、UV等)。

资源

  • scripts/fetch_tuebingen_weather.py — Open-Meteo的CLI脚本。
数据来源:ClawHub ↗ · 中文优化:龙虾技能库