Token导航 LogoToken导航

Agent Skill · 开发

weather-nws(天气西北地区)

weather-nws 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

weather-nws 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 1,932。

总安装 22,320周安装 949GitHub Stars 2下载 7,820核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:weather-nws(天气西北地区)
来源仓库:https://github.com/patelhiren/weather-nws
安装命令:
openclaw skills install weather-nws
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install weather-nws

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

对接美国国家气象局 NWS 数据源,提供美国本土详细天气预报。自动回退至全球站点,支持经纬度精准定位查询。weather-nws 属于开发类 Skill,可作为该场景下的辅助能力补充。包含累积降雨、风寒指数等专业指标,适合工程与科研用途。数据更新间隔为 1 小时,分钟级变化无法实时反映。

非美国地区精度下降,建议优先使用本地化数据源。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install weather-nws;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

weather-nws 怎么安装?

在终端执行 openclaw skills install weather-nws。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

weather-nws 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

weather-nws 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

weather-nws 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

weather-nws 用的人多吗?

公开数据是累计安装 22,320 次,近一周安装 949 次,下载 7,820 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

weather-nws 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
weather-nws

天气西北地区 · 本页

22,3202接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
weather-nws
description
US weather forecasts via National Weather Service (NWS) with automatic fallback to global weather for non-US locations. Provides detailed accumulation data, watches/warnings, and actionable timing. Use for: US-based weather queries, winter storm forecasts, precipitation accumulation estimates, severe weather alerts. Automatically falls back to global weather via wttr.in for international locations.
homepage
https://api.weather.gov/
metadata
{"clawdhub":{"emoji":"🌦️"},"clawdis":{"envVars":[{"name":"AIRNOW_API_KEY","required":false,"description":"AirNow API Key for AQI lookup"}]}}

Weather NWS Skill

Get detailed US weather forecasts from the National Weather Service with automatic global fallback, hourly forecasts, air quality data, and structured winter storm accumulations.

What This Skill Does

This skill operates in 8 modes to match your query:

ModeWhen It ActivatesWhat You Get
🌦️ Standard ForecastDefault (no time specified)12-hour forecast with today/tonight/tomorrow
⏰ Hourly ForecastTime-specific query detectedHour-by-hour breakdown (~156 periods, 7 days)
🌨️ Winter StormKeywords like "snow," "storm"12-hour + structured accumulation data
💨 AQI Report--aqi flag includedCurrent + forecast air quality index
🌡️ Observed vs Forecast--current flag includedCurrent station readings with comparison
☀️ Astronomical Times--astro flag includedSunrise/sunset, twilight, moon phase
✈️ Aviation Forecast--taf flag includedTerminal Aerodrome Forecast (TAF)
🔥 Fire Weather--fire flag includedFire danger, red flag warnings
🌍 Global FallbackNon-US locationwttr.in data (less detailed)

AirNow API Key (Optional but Recommended)

The AirNow API works without a key but has limitations:

Without API KeyWith API Key
Rate limited (requests may fail)Higher rate limits
No guaranteed availabilityPriority access
May return empty resultsReliable AQI data

Getting an API Key

  1. Visit: https://docs.airnowapi.org/account/request/
  2. Fill out the request form (free for personal use)
  3. Key arrives via email within 1-2 business days

Setting the API Key

Option 1: Environment Variable (Recommended)

export AIRNOW_API_KEY="your-api-key-here"

Option 2: OpenClaw Config (Persistent) Add to your OpenClaw config under skills.entries.weather-nws.env:

{
  "skills": {
    "entries": {
      "weather-nws": {
        "env": {
          "AIRNOW_API_KEY": "your-api-key-here"
        }
      }
    }
  }
}

When to Use

✅ USE this skill when:

  • "What's the weather in [US city]?"
  • "How much snow is expected?"
  • "Winter storm forecast for [location]"
  • "Will it rain tomorrow in [US city]?"
  • "What time will the rain stop?"
  • "Air quality in [city] today"
  • Any US-based weather query

🔄 Automatic fallback:

  • Non-US locations → wttr.in
  • NWS API unavailable → wttr.in
  • Both sources fail → clear error message

Quick Start

# Run the unified weather script
python3 ./scripts/get_weather.py "New York, NY"

# Force specific source if needed (normally auto-detected)
python3 ./scripts/get_weather.py "London, UK" --source wttr

# Get hourly forecast (auto-detected or forced)
python3 ./scripts/get_weather.py "Boston at 8 PM"
python3 ./scripts/get_weather.py "Chicago" --hourly

# Include air quality
python3 ./scripts/get_weather.py "Seattle" --aqi

Hourly Auto-Detection

The skill automatically detects time-specific language and switches to hourly forecast:

"Boston at 8 PM"        → ⏰ Hourly mode
"Boston tonight"         → ⏰ Hourly mode
"Boston tomorrow morning" → ⏰ Hourly mode
"Boston at 5:30"         → ⏰ Hourly mode
"When will it stop raining?" → ⏰ Hourly mode

Patterns detected:

  • at 8 PM, at 5:30, etc.
  • tonight, this afternoon
  • tomorrow morning/afternoon/night
  • when will..., how long until...

Air Quality (--aqi)

Adds AirNow AQI data to any forecast:

python3 ./scripts/get_weather.py "Boston" --aqi

Output includes:

  • Current AQI with color-coded emoji (🟢 🟡 🟠 🔴 🟣 🔵)
  • Primary pollutant (PM2.5, O3, etc.)
  • Health recommendation based on category
  • 3-day AQI forecast

AQI Categories:

RangeCategoryEmojiRecommendation
0-50Good🟢Enjoy outdoor activities
51-100Moderate🟡Sensitive groups limit exertion
101-150Unhealthy for Sensitive Groups🟠Children/elderly limit outdoor activities
151-200Unhealthy🔴Everyone reduce outdoor exertion
201-300Very Unhealthy🟣Avoid outdoor activities
301-500Hazardous🔵Stay indoors — health alert

Output Format

The script provides consistent output regardless of source:

Header: Location and current alert status Today → Tonight → Tomorrow: Structured timeline Accumulation: Specific snow/rain amounts when available Bottom Line: Actionable summary with timing

Implementation

The script handles:

  1. Geocoding location to lat/long
  2. Detecting if location is in US
  3. Calling NWS API for US locations (detailed accumulation)
  4. Falling back to wttr.in for non-US (basic forecast)
  5. Formatting consistent output with emojis and structure

Limitations

  • NWS: US only, requires internet, rate limited
  • wttr.in: Global, less detail on accumulation, no official watches/warnings
  • AirNow: US + Canada only, requires API key for reliable access

Examples

US winter storm query:

python3 ./scripts/get_weather.py "Boston, MA"

→ Returns NWS data with accumulation estimates

International location:

python3 ./scripts/get_weather.py "Toronto, Canada"

→ Automatically uses wttr.in, notes it's non-US

With air quality:

python3 ./scripts/get_weather.py "Seattle" --aqi

→ Weather + AQI data with health recommendations

Observed vs Forecast:

python3 ./scripts/get_weather.py "Boston" --current

→ Current station readings with forecast comparison

Combined features:

python3 ./scripts/get_weather.py "Seattle" --aqi --current

→ Full weather report with all data sources

Phase 3 features:

python3 ./scripts/get_weather.py "Boston" --astro       # Sunrise/sunset times
python3 ./scripts/get_weather.py "SFO" --taf           # Aviation forecast
python3 ./scripts/get_weather.py "California" --fire    # Fire weather
python3 ./scripts/get_weather.py "Denver" --astro --aqi --current  # Everything!

Observed vs Forecast (--current)

Shows actual measured conditions from the nearest NWS observation station alongside the forecast:

🌡️ **Observed Conditions**
   **Actually 43°F (3° warmer than 40° forecast)**
   ☁️ Partly Cloudy
   💨 WNW 8 mph • 💧 36% humidity • 🌫️ Dewpoint 18°F • 📊 Pressure 29.86 inHg • 👀 Visibility 10+ mi

Fields shown:

  • Temperature with forecast delta
  • Conditions description
  • Wind speed and direction
  • Humidity percentage
  • Dewpoint
  • Barometric pressure (inHg)
  • Visibility

Alert Priorities

When alerts are active, they're displayed with enhanced formatting using severity/urgency/certainty weighting:

FactorWeights
SeverityExtreme (4) > Severe (3) > Moderate (2) > Minor (1)
UrgencyImmediate (3) > Expected (2) > Future (1)
CertaintyObserved (3) > Likely (2) > Possible (1)

Severity Styling:

SeverityEmojiBadge
Extreme⚫EXTREME
Severe🔴SEVERE
Moderate🟠MODERATE
Minor🟡MINOR

Alert display includes:

  • Event name with severity badge
  • Urgency tag: ⏰ Immediate / 📅 Expected / 🔮 Future
  • Time range (onset → expires)
  • First sentence of description
  • Recommended response action

Example:

🟠 [**MODERATE**] **Winter Storm Warning**
   📅 Expected | *Winter Storm Warning from 6 PM to 10 AM EST*
   🕐 6:00 PM → 10:00 AM
   📝 Heavy snow expected with accumulations of 6-10 inches...
   👉 🎒 Prepare now

References

Phase 3 Features

Astronomical Times (--astro)

Shows sunrise, sunset, civil twilight, and moon phase information:

python3 ./scripts/get_weather.py "Boston" --astro

Output includes:

  • 🌅 Sunrise: Time with countdown/ago
  • 🌇 Sunset: Time with countdown/ago
  • 💡 Civil Twilight: Dawn and dusk times (useful for runners, cyclists)
  • ⏱️ Daylight: Total hours of daylight
  • 🌙 Moon: Current phase with illumination percentage

Example:

☀️ **Astronomical Times — Boston**

🌅 **Sunrise:** 6:22 AM (12h ago)
🌇 **Sunset:** 5:31 PM (in 2h)
💡 **Civil Twilight:** 5:55 AM – 5:58 PM
⏱️ **Daylight:** 11h 9m
🌙 **Moon:** 🌓 First Quarter (50.0%)

Aviation Forecast (--taf)

Shows Terminal Aerodrome Forecast (TAF) for the nearest aviation weather station:

python3 ./scripts/get_weather.py "SFO" --taf

Note: TAFs are designed for aviation use. The report provides:

  • Station identifier
  • Wind conditions and direction
  • Visibility
  • Cloud ceiling information

Important: *This is informational only. Always check official sources for flight planning.*

Fire Weather (--fire)

Shows fire danger information for wildfire-prone areas:

python3 ./scripts/get_weather.py "California" --fire

Output includes:

  • Fire danger level (if elevated)
  • 🔥 Red Flag Warnings (if active)
  • Fire weather zone forecast
  • Source attribution

Red Flag Warnings indicate critical fire weather conditions (low humidity + high winds).

Changelog

v1.3.0 (2026-02-26) - Phase 3

  • Added --astro flag for sunrise/sunset, twilight, and moon phase
  • Added --taf flag for Aviation Terminal Aerodrome Forecasts
  • Added --fire flag for fire weather danger and red flag warnings
  • Added moon phase calculation (waxing/waning, illumination %)
  • Added daylight hours calculation
  • Added civil twilight detection for runners/cyclists

v1.2.0 (2026-02-26) - Phase 2

  • Added --current flag for station observations vs forecast comparison
  • Enhanced alert formatting with severity/urgency/certainty priority scoring
  • Added temperature delta comparison (warmer/cooler than forecast)
  • Added full observation details: humidity, dewpoint, pressure, visibility

v1.1.0 (2026-02-26)

  • Added hourly forecast with temporal query auto-detection
  • Added AirNow AQI integration (--aqi flag)
  • Added structured grid data for winter storm accumulations
  • Fixed AirNow API endpoint URLs

v1.0.0 (2026-02-22)

  • Initial release: NWS API with wttr.in fallback
  • 12-hour forecast periods
  • Alert integration
  • Accumulation estimates from text parsing

平台分布

OpenClaw

85.72%
按下载量换算6,703

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills