pjtf93

Weathercli

生活サービスv0.1.0
作者:pjtf93更新日 2026-05-18weathercli@clawhub_pjtf93/weathercli
旅行計画個人計画#Current Weather

AlphaMoatによると、2026-09時点でWeathercliのダウンロード数は3,701、スター数は3で、AIスキル全体5,078件中2,902位、生活サービスでは246件中118位です。

インストール数
119
ダウンロード数
3701
スター数
3
総合順位
#2,902
全体の上位 58% · 生活サービスの上位 48%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11936252-
SkillHub ↗11937013—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

weathercli とネット接続が必要で、API key は不要です。気温、体感、湿度、風、降水を確認し、座標・時差を検索して --json で構造化出力できます。日別は既定 7 日、最大 16 日、時間別は最大 384 時間です。現在の天気は 15 分ごとに更新されます。時刻は現地時間、気温は摂氏、風速は km/h です。曖昧な地名は地域を確認し、未発見なら綴りを調べ、通信タイムアウトは少し待って再試行し、過剰な要求を避けます。

資料公開日 2026-10-26

できること

  • 活動や旅行に必要な天気と予報を調べる

使う場面

  • 現在の天気や場所ごとの日別・時間別予報が必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この都市の日別予報を取得し、時差と降水確率を示してください。

月次の推移

ダウンロード数3701
2260303438082026-03 · ダウンロード数 23672026-05 · ダウンロード数 30262026-06 · ダウンロード数 31612026-07 · ダウンロード数 34242026-08 · ダウンロード数 35482026-09 · ダウンロード数 370126-0326-09
スター数3
2332026-03 · スター数 32026-05 · スター数 32026-06 · スター数 22026-07 · スター数 32026-08 · スター数 32026-09 · スター数 326-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093701—3
2026-083548+3.6%3
2026-073424+8.3%3
2026-063161+4.5%2
2026-053026—3
2026-032367—3

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

5.8 KB・ClawHub v0.1.0
---
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
すべて表示(全 224 行)

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

```bash
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.

```bash
# 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.

```bash
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:**
```json
{
  "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:**
```json
{
  "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:**
```bash
weathercli current "London" --json | jq '.temperature, .condition'
```

**Week forecast for trip:**
```bash
weathercli forecast "Barcelona" --days 5 --json
```

**Detailed today's hourly:**
```bash
weathercli forecast "Seattle" --hourly --hours 24
```

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

**Find exact location:**
```bash
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:
```bash
# Via Go
go install github.com/pjtf93/weathercli/cmd/weathercli@latest

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

生活サービスの人気スキル

Weather生活サービス

Get current weather and forecasts (no API key required).

↓ 27.7万★ 482Peter Steinberger
Sonoscli生活サービス

Control Sonos speakers (discover/status/play/volume/group).

↓ 9.8万★ 58Peter Steinberger
命理大师生活サービス

全体系命理大师 — 八字四柱、紫微斗数、奇门遁甲、六爻、梅花易数、塔罗、星盘、 数字命理、九宫飞星风水、掌纹面相、起名命名、穿衣搭配、合婚择吉一站式解读。本地档案、可选每日推送(默认关闭)、 浏览器六爻界面与 HTML 报告。仅作文化参考,不替代医疗、法律、心理、财务、婚姻等 专业建议;遇重大决策请咨询专业人士。

↓ 4万★ 100enoyao
healthcheck生活サービス

飲水量と睡眠をローカルの JSON に記録するスキルです。

↓ 3.4万★ 11Stellarhold170NT
Caldav Calendar生活サービス

Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.

↓ 3.3万★ 248Asleep
Apple Reminders生活サービス

Manage Apple Reminders via the remindctl CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

↓ 3.2万★ 56Peter Steinberger
Travel CN生活サービス

旅行信息查询 - 去哪儿/携程/飞猪数据查询(Expedia 中国版)

↓ 2.9万★ 19Guohongbin
Spotify Player生活サービス

Terminal Spotify playback/search via spogo (preferred) or spotify_player.

↓ 2.9万★ 55Peter Steinberger

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。