← Back to Skills Marketplace
deusyu

qweather

by Rainman · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
221
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rainman-qweather
Description
天气查询 — 实时天气、天气预报、生活指数、城市搜索。数据源为和风天气 (QWeather)。 触发词: 天气, 气温, 下雨, 预报, weather, forecast, 穿什么, 洗车, 紫外线, UV, 空气, 今天天气, 明天天气, 北京天气, 或任何 "[城市] 天气" 格式的输入。
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rainman-qweather
  3. After installation, invoke the skill by name or use /rainman-qweather
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug rainman-qweather
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is qweather?

天气查询 — 实时天气、天气预报、生活指数、城市搜索。数据源为和风天气 (QWeather)。 触发词: 天气, 气温, 下雨, 预报, weather, forecast, 穿什么, 洗车, 紫外线, UV, 空气, 今天天气, 明天天气, 北京天气, 或任何 "[城市] 天气" 格式的输入。 It is an AI Agent Skill for Claude Code / OpenClaw, with 221 downloads so far.

How do I install qweather?

Run "/install rainman-qweather" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is qweather free?

Yes, qweather is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does qweather support?

qweather is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created qweather?

It is built and maintained by Rainman (@deusyu); the current version is v1.0.0.

💬 Comments