据 AlphaMoat 统计,截至 2026-09,Weathercli 累计下载 3,701 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 2,902 位,在「生活服务」分类(246 个)中排名第 118 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 119 | 3,625 | 2 | - |
| SkillHub ↗ | 119 | 3,701 | 3 | — |
各平台的计数口径不同,统计时间不一致。
需要可用的 weathercli 和网络,无需 API key。可查询温度、体感、湿度、风和降水,搜索坐标与时区,并用 --json 输出结构化数据。逐日预报默认 7 天、最多 16 天,逐时最多 384 小时;当前天气每 15 分钟更新。时间按地点时区显示,温度为摄氏度,风速为 km/h。地名歧义需补地区,查无地点检查拼写,网络超时稍等重试,避免密集请求。
资料发布于 2026-10-26
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,701 | — | 3 |
| 2026-08 | 3,548 | +3.6% | 3 |
| 2026-07 | 3,424 | +8.3% | 3 |
| 2026-06 | 3,161 | +4.5% | 2 |
| 2026-05 | 3,026 | — | 3 |
| 2026-03 | 2,367 | — | 3 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- 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.
```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
```
获取当前天气和预报(无需API密钥)
控制Sonos音箱(发现/状态/播放/音量/分组)
全体系命理大师 — 八字四柱、紫微斗数、奇门遁甲、六爻、梅花易数、塔罗、星盘、 数字命理、九宫飞星风水、掌纹面相、起名命名、穿衣搭配、合婚择吉一站式解读。本地档案、可选每日推送(默认关闭)、 浏览器六爻界面与 HTML 报告。仅作文化参考,不替代医疗、法律、心理、财务、婚姻等 专业建议;遇重大决策请咨询专业人士。
用本地 JSON 记录饮水量与睡眠的技能。
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
通过 macOS 上的 remindctl CLI 管理 Apple 提醒事项(列出、添加、编辑、完成、删除),支持列表、日期筛选及 JSON/纯文本输出。
旅行信息查询 - 去哪儿/携程/飞猪数据查询(Expedia 中国版)
通过 spogo(首选)或 spotify_player 在终端进行 Spotify播放/搜索。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。