← 返回 Skills 市场
shuowang-ai

KnowAir Historical 明气历史天气

作者 Shuo Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
229
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install knowair-historical
功能描述
Get historical weather data up to 72 hours back via the Caiyun Weather API. Returns past temperature, weather conditions, precipitation, wind, humidity, appa...
使用说明 (SKILL.md)

KnowAir Historical — Past Weather Data

Query historical weather data for up to 72 hours back using the Caiyun Weather API.

Prerequisites

  1. A valid Caiyun Weather API token set as CAIYUN_TOKEN environment variable, or stored in ~/.config/knowair/token.
  2. Coordinates (longitude, latitude) for the target location.

Quick Start

python3 scripts/query_historical.py --lng 116.3176 --lat 39.9760 --hours 24

Workflow

  1. Resolve coordinates — convert city name to coordinates if needed.
  2. Run the script:
    python3 scripts/query_historical.py --lng \x3CLNG> --lat \x3CLAT> --hours \x3CHOURS>
    
  3. Present results — summarize temperature range, weather changes, and notable events in the past period.

Options

Flag Description Default
--lng Longitude (-180 to 180) Required
--lat Latitude (-90 to 90) Required
--hours Hours to look back (1-72) 24
--lang Output language: en or zh en

Defaults

  • Hours back: 24
  • Language: en

Failure Handling

  • Missing token → exit code 2 with setup instructions.
  • API error → exit code 1 with error details.
安全使用建议
This skill appears to do exactly what it says: call the Caiyun Weather API and format recent historical data. Before installing, be aware that you must provide a CAIYUN_TOKEN (sensitive API token) either as the CAIYUN_TOKEN environment variable or in ~/.config/knowair/token; only provide a token you trust to this skill. Ensure your environment allows outbound HTTPS to api.caiyunapp.com and that the token is from Caiyun. If you have concerns, inspect the included scripts yourself (they are small and human-readable) before use.
功能分析
Type: OpenClaw Skill Name: knowair-historical Version: 1.0.0 The skill is a legitimate tool for fetching historical weather data from the Caiyun Weather API. The Python script (scripts/query_historical.py) correctly handles API token retrieval from environment variables or a local config file and performs standard HTTP requests using the built-in urllib library without any signs of malicious intent, data exfiltration, or command injection.
能力评估
Purpose & Capability
Name/description match the included Python script and required CAIYUN_TOKEN; requiring python3 and an API token is appropriate for querying Caiyun's historical weather API.
Instruction Scope
SKILL.md and the script are scoped to resolving coordinates, reading the token (env or ~/.config/knowair/token), calling the Caiyun API, formatting results, and printing JSON. It does not access other system files or external endpoints beyond the Caiyun API.
Install Mechanism
No install spec (instruction-only) and a single Python script; nothing is downloaded or written during install, so install risk is minimal.
Credentials
Only a single credential (CAIYUN_TOKEN) is required, which is appropriate for the external API. The script also optionally reads a local token file as documented; no other env vars or secrets are accessed.
Persistence & Privilege
Skill is not always-enabled and does not modify other skills or system configuration. It runs on demand and does not request elevated persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install knowair-historical
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /knowair-historical 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of KnowAir Historical: fetch up to 72 hours of past weather data using the Caiyun Weather API. - Returns past temperature, weather conditions, precipitation, wind, humidity, apparent temperature, and air quality at regular intervals. - Supports queries for specific coordinates and customizable lookback periods (1–72 hours). - Requires a CAIYUN_TOKEN environment variable and internet access. - Clear error handling for missing tokens and API failures.
元数据
Slug knowair-historical
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

KnowAir Historical 明气历史天气 是什么?

Get historical weather data up to 72 hours back via the Caiyun Weather API. Returns past temperature, weather conditions, precipitation, wind, humidity, appa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 229 次。

如何安装 KnowAir Historical 明气历史天气?

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

KnowAir Historical 明气历史天气 是免费的吗?

是的,KnowAir Historical 明气历史天气 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

KnowAir Historical 明气历史天气 支持哪些平台?

KnowAir Historical 明气历史天气 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 KnowAir Historical 明气历史天气?

由 Shuo Wang(@shuowang-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论