360 Secure SkillHub
360 安全技能中心

Weather Digest

运行 Python 脚本读取 config.json 中的地点列表,从 NOAA/NWS 天气服务获取各地预报与预警,汇总生成 Markdown 格式的每日天气摘要;数据源无需 API key,生成结果可再转换为 PDF 或邮件。

分类:生活
dannyboy1241
dannyboy1241
热度 40.88
最近更新 2026-05-11 17:26:18

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dannyboy1241/weather-digest
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
weather-intelligence-digest
description
Generate daily Weather Intelligence Digest using NOAA/NWS data with customizable locations and alert monitoring.
homepage
https://api.weather.gov
metadata
{"openclaw":{"emoji":"🌦️","requires":{"bins":["python3","pip"]}}}

Weather Intelligence Digest

Generate a daily Weather Intelligence Digest using NOAA / NWS data.

Setup

  1. Dependencies: python3, pip.
  2. Optional but recommended: python3 -m venv skills/weather-digest/.venv && source skills/weather-digest/.venv/bin/activate.
  3. pip install -r skills/weather-digest/requirements.txt.
  4. Copy skills/weather-digest/config.example.json to config.json and customize the locations list with name, lat, lon pairs.

Usage

/exec python3 skills/weather-digest/weather_digest.py --config skills/weather-digest/config.json --output /tmp/digest.md

Output is Markdown; convert to PDF/email as needed.

Configuration Notes

  • Data source: api.weather.gov (no API key required; feel free to customize the User-Agent string in the script).
  • Each location fetches forecast + alerts; add/remove fields as needed.
  • Extend the template by editing build_digest in weather_digest.py.