Xpersona
全

全国天气预报 - Weather Forecast - 极速数据

CLAWHUB · Unverified

查询实时天气、7 天预报、24 小时逐时、空气质量与生活指数,可查城市列表。当用户说:上海今天天气怎样?北京明天会下雨吗?带伞吗?或类似天气预报问题时,使用本技能。 Skill: 全国天气预报 - Weather Forecast - 极速数据 Owner: jisuapi Summary: 查询实时天气、7 天预报、24 小时逐时、空气质量与生活指数,可查城市列表。当用户说:上海今天天气怎样?北京明天会下雨吗?带伞吗?或类似天气预报问题时,使用本技能。 Tags: latest:1.0.3 Version history: v1.0.3 | 2026-09-10T09:42:19.088Z | user - Removed the file: skill-card.md - No changes to functionality or features. v1.0.2 | 2026-04-03T09:32:52.476Z | user - Updated skill description and summary for clearer usage scenarios and more n

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:jisu-weather
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-weather/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

26,079 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "Weather Forecast - 全国天气预报"
description: 查询实时天气、7 天预报、24 小时逐时、空气质量与生活指数,可查城市列表。当用户说:上海今天天气怎样?北京明天会下雨吗?带伞吗?或类似天气预报问题时,使用本技能。
metadata: { "openclaw": { "emoji": "☁️", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---

# 极速数据全国天气预报(Jisu Weather)

> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

- **当前实时天气**
- **未来 7 天预报(`daily`)**
- **未来 24 小时逐小时预报(`hourly`)**
- **空气质量 AQI 指数**
- **生活指数(穿衣、运动、洗车等)**
- **城市列表(`/weather/city`)**

## 前置配置:获取 API Key

1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [全国天气预报 API](https://www.jisuapi.com/api/weather/) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:


```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```

## 脚本路径

脚本文件:`skills/weather/weather.py`

## 使用方式

### 1. 按城市名称查询天气

```bash
python3 skills/weather/weather.py '{"city":"杭州"}'
```

### 2. 按城市 ID / 城市代号查询

```bash
python3 skills/weather/weather.py '{"cityid":111}'
python3 skills/weather/weather.py '{"citycode":"101260301"}'
```

### 3. 按经纬度或 IP 查询

```bash
# 经纬度:纬度在前,逗号分隔
python3 skills/weather/weather.py '{"location":"39.983424,116.322987"}'

# IP
python3 skills/weather/weather.py '{"ip":"8.8.8.8"}'
```

> 请求 JSON 中至少要提供 `city` / `cityid` / `citycode` / `location` / `ip` 中的一个字段。

### 4. 获取支持的城市列表

对应极速数据 `/weather/city` 接口:

```bash
python3 skills/weather/weather.py cities
```

返回值为数组,每一项形如:

```json
{
  "cityid": "1",
  "parentid": "0",
  "citycode": "101010100",
  "city": "北京"
}
```

## 请求参数(天气查询 JSON)

| 字段名   | 类型   | 必填 | 说明                                                                 |
|---------|--------|------|----------------------------------------------------------------------|
| city    | string | 否   | 城市名称,如 `"杭州"`                                               |
| cityid  | int    | 否   | 城市 ID                                                              |
| citycode| string | 否   | 城市天气代号                                                         |
| location| string | 否   | 经纬度,纬度在前,逗号分隔,如 `"39.983424,116.322987"`              |
| ip      | string | 否   | IP 地址                                                              |

> 至少需要提供上述 5 个字段中的一个,否则脚本会报错并退出。

示例请求:

```json
{
  "city": "安顺",
  "cityid": 111,
  "citycode": "101260301"
}
```

## 返回结果示例

脚本直接输出接口的 `result` 字段(JSON),典型结构与官网示例一致:

```json
{
  "city": "安顺",
  "cityid": "111",
  "citycode": "101260301",
  "date": "2015-12-22",
  "week": "星期二",
  "weather": "多云",
  "temp": "16",
  "temphigh": "18",
  "templow": "9",
  "humidity": "55",
  "windspeed": "14.0",
  "winddirect": "南风",
  "windpower": "2级",
  "index": [
    {
      "iname": "空调指数",
      "ivalue": "较少开启",
      "detail": "您将感到很舒适,一般不需要开启空调。"
    }
  ],
  "aqi": {
    "aqi": "35",
    "primarypollutant": "PM10",

_meta.json

{
  "ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
  "slug": "jisu-weather",
  "version": "1.0.3",
  "publishedAt": 1789033339088
}

skill-card.md

## Description:

查询实时天气、7 天预报、24 小时逐时、空气质量与生活指数,可查城市列表。

This skill is ready for commercial/non-commercial use.

## Publisher:

[jisuapi](https://clawhub.ai/user/jisuapi)

### License/Terms of Use:

MIT-0

## Use Case:

External users, developers, and agents use this skill to query JisuAPI weather data by city, city ID, city code, coordinates, or IP address, then summarize current conditions, forecasts, AQI, hourly weather, and lifestyle indexes for end users.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill sends the configured JISU_API_KEY and user-provided city, IP address, or latitude/longitude to JisuAPI.

Mitigation: Use city-level lookup unless IP-based or precise-coordinate weather results are intentionally needed, and only install the skill if sharing those inputs with JisuAPI is acceptable.

Risk: Weather calls depend on the external JisuAPI service, account permissions, and request quota.

Mitigation: Configure a valid JisuAPI AppKey, monitor provider quota or permission errors, and handle returned API error JSON before presenting results to users.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jisuapi/skills/jisu-weather)
- [JisuAPI home page](https://www.jisuapi.com/)
- [JisuAPI weather API documentation](https://www.jisuapi.com/api/weather/)
- [JisuAPI weather query endpoint](https://api.jisuapi.com/weather/query)
- [JisuAPI weather city endpoint](https://api.jisuapi.com/weather/city)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with JSON request and response examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and the JISU_API_KEY environment variable; weather lookups return provider JSON that agents may summarize into natural language.]

## Skill Version(s):

1.0.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 全国天气预报 - Weather Forecast - 极速数据 and adjacent AI workflows.