← 返回 Skills 市场
1008
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install free-weather-skill
功能描述
Get current weather and forecasts (no API key required).
使用说明 (SKILL.md)
Weather
Two free services, no API keys needed.
wttr.in (primary)
Quick one-liner:
curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
Compact format:
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
Full forecast:
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:
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.
安全使用建议
This skill is straightforward and appears safe: it runs curl against public weather services and asks for no secrets. Things to consider before installing: (1) network access is required—queries (including city names or coordinates) are sent to third-party servers, so avoid sending sensitive location data if you care about privacy; (2) examples include downloading PNGs to /tmp, so the agent may write transient files—ensure you’re comfortable with that; (3) because the skill interpolates location input into URLs, be cautious about untrusted inputs (validate/sanitize if you automate this to avoid unexpected requests). If any of these are concerns, restrict network access or review how the agent constructs queries before enabling the skill.
功能分析
Type: OpenClaw Skill
Name: code-skill
Version: 0.1.0
The 'code-skill' bundle (weather) provides standard instructions for fetching weather data using curl from legitimate public APIs (wttr.in and open-meteo.com). The commands in SKILL.md are transparent, align with the stated purpose, and contain no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name/description (weather, no API key) match the requirements and instructions: only curl is needed and examples call wttr.in and open-meteo, both public weather services.
Instruction Scope
SKILL.md contains concrete curl examples to fetch text/PNG/JSON from wttr.in and open-meteo. It does not instruct reading local files, environment secrets, or contacting unexpected endpoints beyond the documented services.
Install Mechanism
No install spec or code is present. This is an instruction-only skill that relies on an existing curl binary, which is declared in the metadata.
Credentials
The skill requests no environment variables, credentials, or config paths. This is proportional to its stated function.
Persistence & Privilege
Skill does not request always:true or other elevated persistent privileges and is user-invocable only; autonomous invocation is allowed by default but is typical and not combined with other red flags here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install free-weather-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/free-weather-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the weather skill.
- Provides current weather and forecasts using wttr.in (no API key required).
- Supports quick summaries, detailed forecasts, various output formats, and tips for locations/units.
- Includes Open-Meteo integration for JSON output as a fallback.
- Requires only curl; no external dependencies.
- Clear usage examples and documentation links provided.
元数据
常见问题
Weather 是什么?
Get current weather and forecasts (no API key required). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1008 次。
如何安装 Weather?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-weather-skill」即可一键安装,无需额外配置。
Weather 是免费的吗?
是的,Weather 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Weather 支持哪些平台?
Weather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Weather?
由 ClawKK(@codekungfu)开发并维护,当前版本 v0.1.0。
推荐 Skills