技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.2
统计:⭐ 0 · 38 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:asterisk622/xiaoding-weather
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill is a simple, instruction-only weather helper that uses curl to query wttr.in and Open‑Meteo and its requirements match its stated purpose.
目的
Name/description (weather, no API key) align with the actual behavior: the SKILL.md shows curl calls to wttr.in and open-meteo for forecasts. Required binary (curl) is appropriate and nothing else is requested.
说明范围
Runtime instructions are limited to curl requests to wttr.in and Open‑Meteo (including an optional curl -o /tmp/weather.png). They do not read local configs, environment secrets, or unrelated files, nor do they post data to unexpected endpoints.
安装机制
No install spec or code is provided (instruction-only), so nothing is downloaded or installed by the skill itself — the lowest-risk pattern.
证书
The skill requires no environment variables, credentials, or config paths. This is proportionate to a read-only weather lookup tool.
持久
always is false and the skill does not request permanent presence or modify system/other-skill settings. It only performs user-invoked network queries when run.
综合结论
This skill is lightweight and coherent: it only uses curl to fetch weather from wttr.in and Open‑Meteo and does not request credentials. Before installing, be aware that queries go to third-party services (they will see your IP and the query terms), the skill may save a PNG to /tmp if used that way, and the returned content is rendered from external servers. If you have privacy concerns, review wttr.in/open-meteo policies or avoid saving image…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Weather (XiaoDing)」。简介:Get current weather and forecasts (no API key required).。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/asterisk622/xiaoding-weather/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: weather
description: Get current weather and forecasts (no API key required).
homepage: https://wttr.in/:help
metadata: {"clawdbot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
---
# Weather
Two free services, no API keys needed.
## wttr.in (primary)
Quick one-liner:
```bash
curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
```
Compact format:
```bash
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
```
Full forecast:
```bash
curl -s "wttr.in/London?T"
```
Format codes: `%c` condition · `%t` temp · `%h` humidity · `%w` wind · `%l` location · `%m` moon
Tips:
- URL-encode spaces: `wttr.in/New+York`
- Airport codes: `wttr.in/JFK`
- Units: `?m` (metric) `?u` (USCS)
- Today only: `?1` · Current only: `?0`
- PNG: `curl -s "wttr.in/Berlin.png" -o /tmp/weather.png`
## Open-Meteo (fallback, JSON)
Free, no key, good for programmatic use:
```bash
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
```
Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.
Docs: https://open-meteo.com/en/docs