技能/ #lifestyle/ #Current Weather
Weather
Get current weather and forecasts (no API key required).
Peter Steinberger@steipete
请从本地咔咔镜像安装 weather,注册表地址为 http://localhost:13001。安装后先检查 README、清单和权限,再在当前工作区使用。下载说明
--- 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:
bashcurl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°CCompact format:
bashcurl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/hFull forecast:
bashcurl -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:
bashcurl -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
安装解析
{
"artifact": {
"downloadUrl": "/api/v1/download?slug=weather&version=1.0.0&ownerHandle=steipete",
"format": "zip",
"generated": true,
"kind": "skillArchive",
"sha256": "4849e6caae829725138a358d040cb2f230ea20729126c46a6f29d0d6615fbebd",
"size": 2266
},
"owner": {
"displayName": "Peter Steinberger",
"handle": "steipete",
"id": "48a27aaa-8614-42e1-9ff1-7d7c299012b4",
"verified": false
},
"skill": {
"displayName": "Weather",
"latestVersion": "1.0.0",
"license": "unknown",
"name": "weather",
"ownerHandle": "steipete",
"slug": "weather",
"stats": {
"downloads": 162949,
"installs": 6485,
"stars": 421
},
"summary": "Get current weather and forecasts (no API key required).",
"tags": [
"lifestyle",
"Current Weather"
],
"type": "skill",
"updatedAt": "2026-07-06T10:48:20.812Z"
},
"sourceHandoff": null,
"version": {
"checksum": null,
"checksumAlgorithm": null,
"id": "61c620a9-5669-4d14-aca9-8bf5af1396a0",
"publishedAt": "2026-01-04T16:49:54.459Z",
"size": null,
"version": "1.0.0",
"artifactStorageKey": null,
"changelog": "",
"manifest": {
"clawhub": {
"tags": {
"latest": "1.0.0"
},
"owner": "steipete",
"stats": {
"stars": 421,
"comments": 6,
"installs": 6485,
"versions": 1,
"downloads": 162949
},
"topics": [
"Current Weather"
],
"categories": [
"lifestyle"
]
},
"install": "openclaw skills install @steipete/weather"
},
"readme": "---\nname: weather\ndescription: Get current weather and forecasts (no API key required).\nhomepage: https://wttr.in/:help\nmetadata: {\"clawdbot\":{\"emoji\":\"🌤️\",\"requires\":{\"bins\":[\"curl\"]}}}\n---\n\n# Weather\n\nTwo free services, no API keys needed.\n\n## wttr.in (primary)\n\nQuick one-liner:\n```bash\ncurl -s \"wttr.in/London?format=3\"\n# Output: London: ⛅️ +8°C\n```\n\nCompact format:\n```bash\ncurl -s \"wttr.in/London?format=%l:+%c+%t+%h+%w\"\n# Output: London: ⛅️ +8°C 71% ↙5km/h\n```\n\nFull forecast:\n```bash\ncurl -s \"wttr.in/London?T\"\n```\n\nFormat codes: `%c` condition · `%t` temp · `%h` humidity · `%w` wind · `%l` location · `%m` moon\n\nTips:\n- URL-encode spaces: `wttr.in/New+York`\n- Airport codes: `wttr.in/JFK`\n- Units: `?m` (metric) `?u` (USCS)\n- Today only: `?1` · Current only: `?0`\n- PNG: `curl -s \"wttr.in/Berlin.png\" -o /tmp/weather.png`\n\n## Open-Meteo (fallback, JSON)\n\nFree, no key, good for programmatic use:\n```bash\ncurl -s \"https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true\"\n```\n\nFind coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.\n\nDocs: https://open-meteo.com/en/docs\n"
}
}版本
版本大小更新时间1.0.0暂无2026-01-04