360 Secure SkillHub
360 安全技能中心

Weather Intelligence Digest Fresh

读取包含地点经纬度的 JSON 配置,调用 NOAA/NWS 天气服务获取预报和预警,生成 Markdown 格式的每日摘要。支持通过命令行指定配置文件与输出文件,输出为 Markdown,可按需另行转换。

dannyboy1241
dannyboy1241
热度 64.90
最近更新 2026-05-17 12:19:29
分类:生活依赖:代码执行 / 读写文件 / 第三方 API应用场景:报告撰写 / 数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add weather-intelligence-digest-fresh
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 .venv && source .venv/bin/activate.
  3. pip install -r requirements.txt.
  4. Copy config.example.json to config.json and customize the locations list with name, lat, lon pairs.

Usage

python3 weather_digest.py --config config.json --output 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.