Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

shuzhi-weather树芝天气

Agent Skill

shuzhi-weather 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,445

周安装

189

GitHub Stars

公开资料未说明

下载量

1,557
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shuzhi-weather(树芝天气)
来源仓库:https://github.com/alex098929/shuzhi-weather
安装命令:
openclaw skills install shuzhi-weather
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install shuzhi-weather

简介

通过 HMAC-SHA256 认证调用数知天气 API。

  • 提供每小时更新的精细化天气预报数据。shuzhi-weather 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 必须确保 API 密钥有效并完成签名验证。
  • 适用于需要高安全性天气查询的应用场景。
  • 安装命令:openclaw skills install shuzhi-weather

SKILL.md

name
shuzhi-weather
description
This skill should be used when users need to query weather information via the Shuzhi Weather API with HMAC-SHA256 authentication. It provides hourly weather forecasts based on latitude and longitude coordinates. Users must configure app_key and app_secret in ~/.openclaw/skills/shuzhi-weather/config.json before using this skill.

Shuzhi Weather Skill

This skill enables querying weather forecasts using the Shuzhi Weather API with HMAC-SHA256 authentication, providing hourly weather data for any location.

Configuration Requirements

IMPORTANT: Before using this skill, you must configure your API credentials:

Create the configuration file at ~/.openclaw/skills/shuzhi-weather/config.json with the following content:

{
  "app_key": "your_app_key_here",
  "app_secret": "your_app_secret_here"
}

Replace your_app_key_here and your_app_secret_here with your actual Shuzhi API credentials.

Configuration Priority

The skill follows this configuration priority order:

  1. User's config.json at ~/.openclaw/skills/shuzhi-weather/config.json (highest priority)
  2. Platform environment variables (if available)
  3. Default values (if any exist)

When to Use This Skill

Activate this skill when:

  • Users ask for weather forecasts or weather information
  • Users inquire about temperatures at specific locations
  • Users mention weather-related queries that require current or future data
  • Users provide location names and expect weather details

Skill Components

Scripts

The scripts/get_weather.py script provides a reliable way to fetch weather data from the Shuzhi Weather API with HMAC-SHA256 authentication. This script:

  • Loads credentials from the user's config.json file
  • Generates dual HMAC-SHA256 signatures (URL signature + body signature)
  • Makes authenticated POST requests to the Shuzhi API
  • Returns structured weather data including hourly temperatures

References

The references/api_response_format.md contains documentation about the Shuzhi Weather API, including:

  • Request parameters (longitude, latitude, hourly data types)
  • Response format and field meanings
  • HMAC-SHA256 authentication mechanism
  • Error handling and response codes

Workflow

When this skill is activated:

  1. Check configuration - Verify that ~/.openclaw/skills/shuzhi-weather/config.json exists and contains valid credentials. If not, prompt the user to configure it.
  1. Extract location information from the user's query. This may include:

- City names (e.g., "Beijing", "Shanghai", "Guangzhou") - Specific coordinates (latitude, longitude) - Descriptive locations

  1. Convert location to coordinates:

- If city name is provided, use geocoding to get latitude and longitude - If coordinates are provided directly, use them as-is - Common city coordinates: Beijing (39.9042, 116.4074), Shanghai (31.2304, 121.4737), Guangzhou (23.1291, 113.2644)

  1. Execute the weather script using the coordinates:

- Run scripts/get_weather.py with longitude and latitude parameters - The script loads credentials from config.json - Returns structured weather data including hourly temperatures

  1. Present results to the user in a natural, readable format:

- Summarize key information (current temperature, high/low, forecast) - Include relevant time information (next 24 hours or specific times mentioned) - Use units appropriate to the context (Celsius by default)

Important Notes

  • The Shuzhi Weather API requires HMAC-SHA256 authentication with dual signatures
  • Credentials must be configured in ~/.openclaw/skills/shuzhi-weather/config.json before use
  • Coordinate format: longitude first, then latitude
  • The API endpoint uses POST method with JSON body
  • Response code 200 indicates success
  • If credentials are missing or invalid, inform the user to check their config.json file

Example Interactions

User: "What's the weather like in Beijing?" Action: Check config exists, extract "Beijing", use coordinates (39.9042, 116.4074), run script, present forecast

User: "Will it be cold in Shanghai tomorrow?" Action: Extract "Shanghai" and "tomorrow", use coordinates (31.2304, 121.4737), run script, present tomorrow's temperature

User: "Get the temperature for longitude 116.4074 and latitude 39.9042" Action: Use provided coordinates directly, run script, present hourly data

User: "How hot will it be in Guangzhou today?" Action: Extract "Guangzhou", use coordinates (23.1291, 113.2644), run script, identify maximum temperature for today

Error Handling

If configuration is missing:

  • Inform the user that credentials need to be configured
  • Provide instructions on creating ~/.openclaw/skills/shuzhi-weather/config.json
  • Show the required JSON format

If API request fails:

  • Check if credentials are valid
  • Verify network connectivity
  • Display error message from the API response
  • Suggest checking the configuration file

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.37%
按下载量换算1,205

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills