weather

GitHub

获取实时天气和预报,支持通过wttr.in查询温度、降水等信息。适用于旅行规划等日常场景,不支持历史数据或气象分析。

core/skills/weather/SKILL.md vakovalskii/LocalTaskClaw

触发场景

用户询问天气状况 查询特定城市温度 获取未来天气预报

安装

npx skills add vakovalskii/LocalTaskClaw --skill weather -g -y
更多选项

非标准路径

npx skills add https://github.com/vakovalskii/LocalTaskClaw/tree/main/core/skills/weather -g -y

不安装直接使用

npx skills use vakovalskii/LocalTaskClaw@weather

指定 Agent (Claude Code)

npx skills add vakovalskii/LocalTaskClaw --skill weather -a claude-code -g -y

安装 repo 全部 skill

npx skills add vakovalskii/LocalTaskClaw --all -g -y

预览 repo 内 skill

npx skills add vakovalskii/LocalTaskClaw --list

SKILL.md

Frontmatter
{
    "name": "weather",
    "homepage": "https:\/\/wttr.in\/:help",
    "metadata": {
        "openclaw": {
            "emoji": "🌤️",
            "requires": {
                "bins": [
                    "curl"
                ]
            }
        }
    },
    "description": "Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed."
}

Weather Skill

Get current weather conditions and forecasts.

When to Use

USE this skill when:

  • "What's the weather?"
  • "Will it rain today/tomorrow?"
  • "Temperature in [city]"
  • "Weather forecast for the week"
  • Travel planning weather checks

When NOT to Use

DON'T use this skill when:

  • Historical weather data → use weather archives/APIs
  • Climate analysis or trends → use specialized data sources
  • Hyper-local microclimate data → use local sensors
  • Severe weather alerts → check official NWS sources
  • Aviation/marine weather → use specialized services (METAR, etc.)

Location

Always include a city, region, or airport code in weather queries.

Commands

Current Weather

# One-line summary
curl "wttr.in/London?format=3"

# Detailed current conditions
curl "wttr.in/London?0"

# Specific city
curl "wttr.in/New+York?format=3"

Forecasts

# 3-day forecast
curl "wttr.in/London"

# Week forecast
curl "wttr.in/London?format=v2"

# Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1"

Format Options

# One-liner
curl "wttr.in/London?format=%l:+%c+%t+%w"

# JSON output
curl "wttr.in/London?format=j1"

# PNG image
curl "wttr.in/London.png"

Format Codes

  • %c — Weather condition emoji
  • %t — Temperature
  • %f — "Feels like"
  • %w — Wind
  • %h — Humidity
  • %p — Precipitation
  • %l — Location

Quick Responses

"What's the weather?"

curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity"

"Will it rain?"

curl -s "wttr.in/London?format=%l:+%c+%p"

"Weekend forecast"

curl "wttr.in/London?format=v2"

Notes

  • No API key needed (uses wttr.in)
  • Rate limited; don't spam requests
  • Works for most global cities
  • Supports airport codes: curl wttr.in/ORD

版本历史

  • dc3ec90 当前 2026-07-25 11:26

同 Skill 集合

core/skills/github/SKILL.md
core/skills/nano-pdf/SKILL.md
core/skills/openai-whisper-api/SKILL.md
core/skills/tmux/SKILL.md
core/skills/coding-agent/SKILL.md

元信息

文件数
0
版本
dc3ec90
Hash
76e14c3a
收录时间
2026-07-25 11:26

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 08:01
浙ICP备14020137号-1 $访客地图$