← 返回 Skills 市场
731
总下载
2
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install maomao-weather
功能描述
查询全球任何城市的当前天气情况。当用户询问天气、查询城市温度、了解气象状况时使用此技能。支持中文、英文、拼音输入,自动匹配最佳位置。默认查询北京。
使用说明 (SKILL.md)
天气查询技能
查询指定城市的当前天气信息,包括温度、天气状况、风速、风向等。
快速使用
- 执行天气查询:
printf '%s\
' "$ARGUMENTS" | python3 "scripts/weather.py"
2. **参数处理**:
- 城市参数支持中文、英文、拼音
- 自动过滤"天气"、"怎么样"等修饰词
- 无参数时默认查询北京
3. **输出解析**:脚本返回格式化的天气信息,提取核心数据呈现给用户。
## 详细参考
- **城市支持与查询技巧**:见 [references/weather_details.md](references/weather_details.md)
- **故障排除指南**:见 [references/weather_details.md#故障排除](references/weather_details.md#故障排除)
## 示例用法
- `查询北京天气` → 自动触发,查询北京
- `/weather 上海` → 查询上海天气
- `纽约温度多少` → 查询纽约天气
- `London weather` → 查询伦敦天气
脚本自动处理城市名匹配和地理编码,优先匹配知名城市。
安全使用建议
This skill appears to do what it says: it runs a local Python script that queries Open‑Meteo services for geocoding and current-weather data and does not request credentials or access other system data. Things to keep in mind before installing: 1) the script makes outbound HTTPS requests to geocoding-api.open-meteo.com and api.open-meteo.com (your city queries are sent to those services); 2) it requires the Python 'requests' package — the script will prompt you to install it if absent; and 3) the skill has no published homepage and the source is listed as 'unknown' (not a security problem by itself, but if you require an auditable origin you may want a skill with a known repository or publisher). If those network calls and the lack of a published source are acceptable, the skill is coherent and low risk.
功能分析
Type: OpenClaw Skill
Name: maomao-weather
Version: 1.0.2
The OpenClaw skill bundle is designed for weather lookup and appears benign. The `SKILL.md` correctly declares `allowed-tools: Bash` and passes user arguments to the `scripts/weather.py` script via standard input (`printf '%s\n' "$ARGUMENTS" | python3 ...`), which is a robust method to prevent direct shell injection. The `weather.py` script safely processes this input, making network requests only to legitimate Open-Meteo APIs for geocoding and weather data, without any evidence of data exfiltration, arbitrary command execution, or other malicious activities. No prompt injection attempts were found in the markdown files.
能力评估
Purpose & Capability
Name/description (weather lookup) match the implementation. The included script performs geocoding and current-weather queries and contains built-in city coordinates and matching logic appropriate for a weather skill.
Instruction Scope
SKILL.md instructs the agent to run scripts/weather.py with the city argument. The runtime behavior is limited to parsing input, resolving a city (local dictionary + Open‑Meteo geocoding), and calling Open‑Meteo's forecast API to retrieve current weather. The instructions do not access unrelated files, environment variables, or external endpoints beyond the weather/geocoding APIs.
Install Mechanism
There is no install spec (instruction-only), which reduces risk. The script requires the Python 'requests' library; if missing it prints pip install instructions and exits. The skill does not automatically fetch arbitrary code or download executables.
Credentials
The skill requests no environment variables, secrets, or config paths. Its external network calls are limited to Open‑Meteo endpoints (geocoding-api.open-meteo.com and api.open-meteo.com), which are appropriate and proportional for a weather lookup tool.
Persistence & Privilege
always is false and the skill does not modify other skills or system configuration. It does not request persistent privileges or system-wide changes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install maomao-weather - 安装完成后,直接呼叫该 Skill 的名称或使用
/maomao-weather触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
maomao-weather 1.0.2
- Added a new reference file: references/weather_details.md with detailed usage and troubleshooting.
- Updated SKILL.md for clearer instructions, new example queries, and direct links to reference material.
- Improved description of city name input and automatic filtering of query modifiers.
- Usage section now describes weather query command, argument handling, and output parsing more concisely.
- Default city behavior and multi-language input support clarified.
v1.0.1
- 更新Bash命令为使用python3执行脚本,并调整脚本路径为skills/weather/scripts/weather.py
- 其他说明和功能保持不变
v1.0.0
- Initial release of the weather query skill.
- Allows users to check current weather for any city worldwide; defaults to Beijing if no city is specified.
- Supports city names in Chinese, English, or Pinyin with intelligent matching (Chinese cities prioritized for Chinese names).
- Presents concise weather information using output from an internal weather script.
- Includes built-in optimizations for major Chinese cities and offers usage and troubleshooting tips.
元数据
常见问题
weather 是什么?
查询全球任何城市的当前天气情况。当用户询问天气、查询城市温度、了解气象状况时使用此技能。支持中文、英文、拼音输入,自动匹配最佳位置。默认查询北京。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 731 次。
如何安装 weather?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install maomao-weather」即可一键安装,无需额外配置。
weather 是免费的吗?
是的,weather 完全免费(开源免费),可自由下载、安装和使用。
weather 支持哪些平台?
weather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 weather?
由 SPrinG(@maomaoshuo)开发并维护,当前版本 v1.0.2。
推荐 Skills