Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

weathercliweathercli 搜索

Agent Skill

weathercli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

82,218

周安装

3,294

GitHub Stars

3

下载量

26,616
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install weathercli

简介

获取全球任何地点的当前天气状况和预报。返回温度、湿度、风、降水量等结构化数据。无需 API 密钥。

SKILL.md

name
weathercli
description
Get current weather conditions and forecasts for any location worldwide. Returns structured data with temperature, humidity, wind, precipitation, and more. No API key required.

Weather CLI

Use the weathercli command to retrieve weather information for any location worldwide.

Commands

Current Weather

Get real-time weather conditions including temperature, humidity, wind, and precipitation.

weathercli current "<location>"
weathercli current "<location>" --json

Returns: Current temperature, "feels like" temperature, humidity %, wind speed/direction, pressure, cloud cover, UV index, precipitation, weather condition description, and timestamp in local timezone.

Forecast

Get daily or hourly weather forecasts.

# Daily forecast (default: 7 days, max: 16)
weathercli forecast "<location>" --days <N>

# Hourly forecast (max: 384 hours)
weathercli forecast "<location>" --hourly --hours <N>

# JSON output for parsing
weathercli forecast "<location>" --json

Returns: For each day/hour: temperature (high/low or current), weather condition, precipitation probability and amount, wind speed/direction, UV index, sunrise/sunset times (daily only).

Location Search

Find coordinates and timezone information for a location.

weathercli search "<location>"
weathercli search "<location>" --json

Returns: Location name, coordinates (lat/lon), country, region/state, timezone.

Location Format

Locations are flexible and geocoded automatically:

  • City names: "London", "Tokyo", "New York"
  • City + country: "Paris, France", "Berlin, Germany"
  • City + state/region: "Portland, Oregon", "Barcelona, Catalonia"
  • Ambiguous names: Add country/region for precision

Options

  • --json - Output structured JSON (recommended for parsing)
  • --no-color - Disable color output (for plain text parsing)
  • --days N - Number of days for forecast (1-16, default: 7)
  • --hourly - Show hourly instead of daily forecast
  • --hours N - Number of hours for hourly forecast (1-384)
  • --verbose - Show detailed request information

Output Format

Human-Readable (default)

Color-coded temperatures, formatted with emojis and units. Times shown in location's local timezone.

JSON Structure

Current weather:

{
  "location": {
    "name": "Tokyo",
    "latitude": 35.6895,
    "longitude": 139.6917,
    "country": "Japan",
    "timezone": "Asia/Tokyo"
  },
  "time": "2026-01-12T18:45:00+09:00",
  "temperature": 4.7,
  "apparent": 1.8,
  "humidity": 66,
  "wind_speed": 3.6,
  "wind_direction": 135,
  "condition": "Clear sky",
  "weather_code": 0,
  "precipitation": 0,
  "cloud_cover": 0,
  "pressure": 1015.2,
  "uv_index": 0
}

Forecast:

{
  "location": { ... },
  "daily": [
    {
      "date": "2026-01-12",
      "temp_max": 12.1,
      "temp_min": 4.3,
      "condition": "Slight rain",
      "precip_prob": 75,
      "precipitation": 1.5,
      "sunrise": "2026-01-12T08:04:00+09:00",
      "sunset": "2026-01-12T16:45:00+09:00",
      "wind_speed_max": 15.3,
      "wind_direction": 202,
      "uv_index_max": 2.4
    }
  ]
}

Usage Guidelines

When to Use

  • User asks for weather, temperature, forecast, or conditions
  • Planning activities and need weather data
  • Checking if it will rain, snow, or be sunny
  • Getting climate information for travel planning
  • Need sunrise/sunset times
  • Comparing weather across locations

Location Handling

  1. If user provides clear location, use it directly
  2. If ambiguous (e.g., "Portland"), ask for clarification or add context
  3. If location not found, suggest checking spelling or adding country
  4. For coordinates, use search command first to validate

Parsing Output

  • Always use --json for programmatic parsing
  • Extract temperature, condition, wind_speed for quick summaries
  • Check precip_prob for rain likelihood
  • Use sunrise/sunset for daylight planning
  • weather_code follows WMO standard (0-99)

Best Practices

  • Request 3-5 days for travel planning (not full 16)
  • Use hourly forecast for detailed day planning
  • Check apparent temperature for "feels like" comfort
  • UV index >3 = recommend sun protection
  • Wind speed >20 km/h = mention it's windy

Examples

Quick weather check:

weathercli current "London" --json | jq '.temperature, .condition'

Week forecast for trip:

weathercli forecast "Barcelona" --days 5 --json

Detailed today's hourly:

weathercli forecast "Seattle" --hourly --hours 24

Check multiple cities:

for city in "Tokyo" "London" "New York"; do
  weathercli current "$city" --json | jq -r '"\(.location.name): \(.temperature)°C, \(.condition)"'
done

Find exact location:

weathercli search "Springfield" --json

Notes

  • No API key required - Uses free Open-Meteo API
  • Worldwide coverage - Works for any location globally
  • Temperatures in Celsius - Convert if needed (°F = °C × 9/5 + 32)
  • Wind speed in km/h - Convert to mph if needed (×0.621)
  • Local timezone - All times automatically converted
  • Rate limits - Reasonable for personal/agent use; avoid hammering
  • Accuracy - Data from multiple meteorological sources
  • Updates - Current weather updates every 15 minutes
  • Offline - Requires internet connection

Error Handling

Location not found:

Error: location not found: Atlantis

→ Check spelling, try adding country/region

Network error:

Error: weather API error: network timeout

→ Retry after brief delay

Invalid input:

Error: invalid days value

→ Check --days is between 1-16

Installation

If weathercli is not available:

# Via Go
go install github.com/pjtf93/weathercli/cmd/weathercli@latest

# Or download binary from releases
# https://github.com/pjtf93/weathercli/releases

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.14%
按下载量换算23,459

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills