hefengweather

ReviewAudited by ClawScan on May 10, 2026.

Overview

The weather-query code is mostly purpose-aligned, but the setup instructions contain a conflicting API-key source that could mislead users about which credential to use.

Before installing, verify that you get the API key only from the official QWeather/HeFeng site, not the conflicting minimaxi.com link. Use an environment variable when possible, keep any config.txt containing the key private, and install the requests dependency from a trusted Python environment.

Findings (3)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A user could obtain or paste the wrong service's API key and then send it to the weather API, or fail setup because the key source is inconsistent.

Why it was flagged

The first-use instructions point users to a non-QWeather domain to obtain an API key, while the skill otherwise describes HeFeng/QWeather and the code calls QWeather endpoints. This conflicting credential guidance can mislead users into using or exposing the wrong provider key.

Skill content
配置方式:
1. 获取 Key:https://www.minimaxi.com/
Recommendation

Use only the official QWeather/HeFeng key source, such as id.qweather.com, and ask the maintainer to remove or correct the minimaxi.com instruction.

What this means

Your weather API key may incur provider usage or billing, and it may be stored locally if you use config.txt.

Why it was flagged

The script reads a local API key and includes it in QWeather API requests. This is expected for the weather service, but it is credential use and the registry metadata declares no primary credential or required environment variable.

Skill content
api_key = os.environ.get("HEFENG_WEATHER_API_KEY") ... url = f"{API_BASE_URL}{endpoint}?location={city_id}&key={api_key}"
Recommendation

Prefer the environment variable, avoid committing config.txt or sharing it, and ensure the key is a QWeather key with only the permissions you need.

What this means

Different environments may install different package versions, and package installation should come from a trusted source.

Why it was flagged

The skill relies on a manually installed PyPI dependency without an install spec or pinned version. The dependency is expected for HTTP weather queries, but installation provenance and versioning are not constrained by the artifacts.

Skill content
`requests` 库:`pip install requests`
Recommendation

Install dependencies from trusted PyPI or a controlled environment, and pin/review dependencies if deploying this skill broadly.