Agent Skillsyokingma/weclaws › weather

weather

GitHub

提供基于wttr.in的实时天气查询和预报功能,支持多地点、多种格式输出,无需API密钥。适用于日常天气询问、出行规划等场景,不支持历史数据或专业气象分析。

resources/skills/managed/weather/SKILL.md yokingma/weclaws

Trigger Scenarios

用户询问当前天气状况 用户请求特定地点的温度或降水信息 用户查询未来几天或一周的天气预报

Install

npx skills add yokingma/weclaws --skill weather -g -y
More Options

Non-standard path

npx skills add https://github.com/yokingma/weclaws/tree/main/resources/skills/managed/weather -g -y

Use without installing

npx skills use yokingma/weclaws@weather

指定 Agent (Claude Code)

npx skills add yokingma/weclaws --skill weather -a claude-code -g -y

安装 repo 全部 skill

npx skills add yokingma/weclaws --all -g -y

预览 repo 内 skill

npx skills add yokingma/weclaws --list

SKILL.md

Frontmatter
{
    "name": "weather",
    "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

Version History

  • 63e7996 Current 2026-07-24 16:07

Same Skill Collection

.codex/skills/ui-ux-pro-max/SKILL.md
resources/skills/managed/editorial-card-screenshot/SKILL.md
resources/skills/managed/github/SKILL.md
resources/skills/managed/lark-base/SKILL.md
resources/skills/managed/lark-calendar/SKILL.md
resources/skills/managed/lark-contact/SKILL.md
resources/skills/managed/lark-doc/SKILL.md
resources/skills/managed/lark-drive/SKILL.md
resources/skills/managed/lark-event/SKILL.md
resources/skills/managed/lark-im/SKILL.md
resources/skills/managed/lark-mail/SKILL.md
resources/skills/managed/lark-markdown/SKILL.md
resources/skills/managed/lark-minutes/SKILL.md
resources/skills/managed/lark-okr/SKILL.md
resources/skills/managed/lark-openapi-explorer/SKILL.md
resources/skills/managed/lark-shared/SKILL.md
resources/skills/managed/lark-sheets/SKILL.md
resources/skills/managed/lark-skill-maker/SKILL.md
resources/skills/managed/lark-slides/SKILL.md
resources/skills/managed/lark-task/SKILL.md
resources/skills/managed/lark-vc/SKILL.md
resources/skills/managed/lark-whiteboard/SKILL.md
resources/skills/managed/lark-wiki/SKILL.md
resources/skills/managed/lark-workflow-meeting-summary/SKILL.md
resources/skills/managed/lark-workflow-standup-report/SKILL.md
resources/skills/managed/personal-planner/SKILL.md
resources/skills/managed/ppt-skill/SKILL.md
resources/skills/managed/skill-creator/SKILL.md
resources/skills/managed/video-frames/SKILL.md
resources/skills/managed/lark-approval/SKILL.md
resources/skills/managed/lark-attendance/SKILL.md

Metadata

Files
0
Version
63e7996
Hash
07b03f09
Indexed
2026-07-24 16:07

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 02:07
浙ICP备14020137号-1 $mapa de visitantes$