天气查询测试技能
提供北京、上海等国内主要城市的实时天气查询,支持自然语言输入并返回简洁口语化天气信息。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 27 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the implementation. The code and SKILL.md only require Python and the requests library to query weather for a short list of cities; there are no unrelated environment variables, binaries, or permissions requested.
Instruction Scope
Runtime instructions and code stay within the stated purpose (extract city name and call a public weather API). Two implementation notes: the code queries http://wttr.in (HTTP, not HTTPS) so queries are sent unencrypted, and the top-level exception handler returns str(e) to users which may leak internal error text. These are privacy/robustness issues, not indicators of misdirection.
Install Mechanism
No install spec; this is effectively instruction+code only. The declared dependency (requests) matches actual usage and there are no downloads or archived installs that would write arbitrary code to disk.
Credentials
The skill requests no environment variables, no credentials, and does not access system config paths. It makes outbound HTTP requests to wttr.in with the city name (no secrets involved).
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges, nor does it modify other skills or system-wide settings.
Assessment
This skill appears to do only what it claims: fetch weather for a handful of Chinese cities via a public API and requires no credentials. Before installing, consider: (1) the code uses http://wttr.in (unencrypted) — if you care about privacy or integrity of queries, change to https://wttr.in; (2) the skill sends user city names to a third-party service (wttr.in), so avoid sending sensitive info; (3) the error handling returns raw exception text to users — you may want the developer to remove or sanitize that for production; and (4) for production use consider switching to an official weather API with SLA and rate limits. If you accept these minor issues, the skill is coherent and low-risk.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.1
Download ziplatestpq test weatherpqtest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
天气查询测试技能 (OpenClaw)
技能简介
这是一个运行在 OpenClaw 平台的天气查询测试技能,支持用户通过自然语言查询国内主要城市的实时天气信息,包括天气状况、温度、风力等核心数据。
核心功能
- 支持查询北京、上海、广州、深圳、杭州、成都、重庆等城市的实时天气
- 自动识别用户输入中的城市名称,无需额外格式
- 提供简洁明了的口语化回复,便于直接朗读
触发词
- "pqtest查天气"
- "pqtest天气怎么样"
使用示例
用户:pqtest查天气 技能:你可以告诉我具体城市,比如「北京」「上海」,我来帮你查询~
用户:pqtest北京天气怎么样 技能:北京今日天气:Sunny,温度15℃,风力10km/h
技术依赖
- Python 版本:>= 3.7
- 第三方库:requests >= 2.26.0(用于调用天气接口)
注意事项
- 本技能为测试版本,仅支持国内部分城市查询
- 天气数据来源于公开测试接口,数据更新可能存在延迟
- 若查询失败,请尝试更换城市或稍后重试
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
