← 返回 Skills 市场
deusyu

qweather

作者 Rainman · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
221
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rainman-qweather
功能描述
天气查询 — 实时天气、天气预报、生活指数、城市搜索。数据源为和风天气 (QWeather)。 触发词: 天气, 气温, 下雨, 预报, weather, forecast, 穿什么, 洗车, 紫外线, UV, 空气, 今天天气, 明天天气, 北京天气, 或任何 "[城市] 天气" 格式的输入。
安全使用建议
This skill appears to do only QWeather API lookups and needs your QWEATHER_API_KEY and QWEATHER_API_HOST. Before installing: (1) confirm you obtained the API key and host from the official QWeather console, (2) ensure you have a JS/TS runtime (SKILL.md uses 'bun') or adapt the script to your runtime, and (3) do not reuse high-privilege or unrelated credentials as the QWEATHER env vars. If you want extra assurance, review the provided scripts (they only build HTTP GETs, add the key as a query param, and parse JSON). The minor issues to be aware of: the registry metadata doesn't declare the 'bun' runtime requirement, and executeCommand can throw if called without validated/defaulted flags (this is an implementation detail, not a security problem).
功能分析
Type: OpenClaw Skill Name: rainman-qweather Version: 1.0.0 The skill is a legitimate implementation for querying weather data via the QWeather (和风天气) API. It follows a standard CLI structure, implementing city lookup, real-time weather, forecasts, and life indices. Security analysis shows proper input validation in `scripts/lib/validators.ts`, safe HTTP request handling in `scripts/lib/http.ts`, and no evidence of data exfiltration, unauthorized execution, or malicious prompt injection in `SKILL.md`. The use of environment variables for API keys and hosts is consistent with the service's requirements.
能力评估
Purpose & Capability
Name/description match the implementation: the code implements lookup/now/forecast/indices against QWeather and only requires QWEATHER_API_KEY and QWEATHER_API_HOST. Minor metadata inconsistency: SKILL.md instructs users to run the script with the 'bun' runtime, but the registry metadata lists no required binaries; the skill realistically requires a JS/TS runtime (bun) to run the included scripts.
Instruction Scope
SKILL.md and the CLI scripts confine behavior to resolving locations and calling QWeather API endpoints. The runtime instructions do not access unrelated files, secrets, or external endpoints. Small implementation detail: executeCommand expects some flags (e.g., lang, unit) to be present; validators supply defaults in the CLI flow, but calling executeCommand directly without validated flags could throw—this is an implementation nit, not a security mismatch.
Install Mechanism
No install spec (instruction-only plus scripts). Nothing is downloaded or written by an installer. The code is provided in the package and uses the platform fetch API; no external install URLs or package pulls are present.
Credentials
Only QWEATHER_API_KEY and QWEATHER_API_HOST are required and both are justified by the stated purpose. The code reads only those environment variables (via getApiKey/getApiHost) and does not attempt to access other credentials or config paths.
Persistence & Privilege
Skill does not request permanent 'always' presence and does not modify other skills or system-wide settings. It runs on demand and only performs HTTP queries to the declared API host.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rainman-qweather
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rainman-qweather 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug rainman-qweather
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

qweather 是什么?

天气查询 — 实时天气、天气预报、生活指数、城市搜索。数据源为和风天气 (QWeather)。 触发词: 天气, 气温, 下雨, 预报, weather, forecast, 穿什么, 洗车, 紫外线, UV, 空气, 今天天气, 明天天气, 北京天气, 或任何 "[城市] 天气" 格式的输入。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 221 次。

如何安装 qweather?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rainman-qweather」即可一键安装,无需额外配置。

qweather 是免费的吗?

是的,qweather 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

qweather 支持哪些平台?

qweather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 qweather?

由 Rainman(@deusyu)开发并维护,当前版本 v1.0.0。

💬 留言讨论