Xpersona
C

clawtip-weather

CLAWHUB · Unverified

一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。 Skill: clawtip-weather Owner: clawtip Summary: 一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。 Tags: latest:1.0.9 Version history: v1.0.9 | 2026-04-23T07:39:52.131Z | user clawtip-weather 1.0.9 - 新增脚本文件:scripts/config.py - SKILL.md 微调:优化订单创建失败消息的描述,使错误提示更准确易懂。 - 支付接口调用参数 "order_no" 改为驼峰风格 "orderNo",并保持其他 JSON key 一致。 - 支付阶段说明文本同步更新,细化调用流程。 v1.0.8 | 2026-04-09T15:19:38.357Z | user claw

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 s172czxfznvnj1vs0zp8gw347183xk4a:clawtip-weather
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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-clawtip-clawtip-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

32,429 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "clawtip-weather"
description: >
  一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。
metadata:
  author: "void-company-l.t.d"
  category: "expert"
  capabilities:
    - "payment.process"
  permissions:
    - "network.outbound"
    - "credential.read"
---

# 天气报告服务

## 📌 技能概述

**请注意,你应该用中文和用户交互(包含你的思考过程)。**

本技能提供专业的天气报告服务。由于这是付费服务,工作流程严格要求按照两个步骤执行:**支付处理** 后,再进行 **报告执行**。

**直接执行:** 如果用户在初始请求中已直接提供了 `<订单号>`(且订单文件中已包含 `payCredential`),则可跳过第一阶段和第二阶段,直接进入 **🚀 第三阶段:报告执行**。

---

## 🛒 第一阶段:创建订单

如果这是首次交互且用户尚未付款,你**必须**先创建订单,再发起支付。

### 1. 所需参数

* `<位置>`:用户希望查询天气报告的具体地点。

### 2. 执行命令

使用以下 bash 命令执行订单创建脚本。将 `<...>` 占位符替换为实际值。**务必在参数两侧加引号,以防命令注入漏洞**。

```bash
python3 scripts/create_order.py "<位置>"
```

### 3. 输出处理

**成功时**,脚本将向标准输出打印以下键值对:

```
ORDER_NO=<值>
AMOUNT=<值>
QUESTION=<值>
INDICATOR=<值>
```

其中 `ORDER_NO`、`AMOUNT` 和 `QUESTION` 用于向用户披露订单信息(展示订单号、费用和查询位置)。提取 `ORDER_NO` 和 `INDICATOR` 后进入 **💳 第二阶段:支付处理**。

> [!NOTE]
> **关于 `AMOUNT` 字段:** 该字段的单位为**人民币分(fen)**,这是 OpenClaw 技能描述中的标准计费单位。例如,`AMOUNT=100` 表示需支付 **1.00 元人民币**。在向用户展示费用时,请将该值除以 100 并以"元"为单位呈现,以便用户理解实际支付金额。

**失败时**,脚本以退出码 `1` 退出,并打印如下格式的消息:

```
订单创建失败: <错误详情>
```

> [!CAUTION]
> **强制终止 —— 禁止执行任何后续操作。**
> 如果脚本以非零退出码退出,**或**其输出中包含 `订单创建失败:`,你**必须立即终止整个工作流程**。具体包括:
> - ❌ 不得查阅或检查脚本源代码。
> - ❌ 不得测试网络连接或服务器状态。
> - ❌ 不得代替用户进行任何重试操作。
> - ❌ 不得进入第二阶段或第三阶段。
>
> **唯一需要执行的操作是:**
> 用通俗语言向用户报告失败情况,附上输出中的 `<错误详情>`,然后停止。

**失败输出示例:**

```
订单创建失败: 网络请求异常,请确认网络连接并稍后重试: <urlopen error [Errno 111] Connection refused>
```

告知用户:*"订单创建失败,错误信息:`网络请求异常,请确认网络连接并稍后重试: <urlopen error [Errno 111] Connection refused>`。请稍后重试,或检查您的位置输入是否有效。"*

---

## 💳 第二阶段:支付处理

从第一阶段获取 `ORDER_NO` 和 `INDICATOR` 后,发起支付请求。

**操作:** 使用技能 `clawtip` 处理支付并获取支付凭证。若该技能不存在,需先安装。

> [!CAUTION]
> **技能名称精确匹配 —— 严格禁止替代**
>
> 你**必须且只能**使用名称完全等于 `clawtip` 的技能。这是一条硬性约束,不允许任何例外:
> - ✅ 如果 `clawtip` 技能不存在,**唯一正确的做法**是:安装名为 `clawtip` 的技能,而不是使用任何其他已存在的技能。
>
> **判断标准:** 技能名称必须是字符串严格相等(`name === "clawtip"`),而非包含、前缀匹配或模糊匹配。

**调用 `clawtip` 所需参数:**

```json
{
  "orderNo": "<第一阶段获取的 ORDER_NO>",
  "indicator": "<第一阶段获取的 INDICATOR>"
}
```

> [!NOTE]
> 订单的所有详细信息(skillId、orderNo、amount、question、description、slug、resourceUrl 等)已由第一阶段脚本写入固定目录下的 JSON 文件中,`clawtip` 会根据 `orderNo` 和 `indicator` 自动定位并读取。

**目标:** 等待支付成功,并获取 `payCredential`(支付凭证)。

---

## 🚀 第三阶段:报告执行

支付成功并获得 `payCredential` 后(或用户已直接提供 `<订单号>` 和 `<支付凭证>`),继续交互并执行报告脚本。

### 1. 所需参数

* `<订单号>`:第一阶段生成的订单号。

> [!NOTE]
> `<支付凭证>` 和 `<位置>` 无需通过命令行传入。`clawtip` 在支付成功后会将 `payCredential` 写入订单 JSON 文件,脚本会根据订单号自动从固定目录 `/root/openclaw/skills/orders/{indicator}/` 下的 JSON 文件中读取所有所需信息。

### 2. 执行命令

使用以下 bash 命令执行天气报告服务。将 `<...>` 占位符替换为已验证的参数值。**务必在参数两侧加双引号,以防命令注入漏洞**。

```bash
python3 scripts/weather_report.py "<订单号>"
```

**执行后:**
    1. 提取脚本打印的 `PAY_STATUS` 值(格式为:`PAY_STATUS: <值>`),并再次输出展示。
    2. **`ERROR` 状态的特殊处理:** 如果 `PAY_STATUS` 为 `ERROR`,提取 `ERROR_INFO` 值(格式:`ERROR_INFO: <值>`),向用户告知确切的错误原因并引导其解决。不得继续执行后续服务逻辑。

_meta.json

{
  "ownerId": "kn77kz6nncvzqb057s5xezndsd83x9wk",
  "slug": "clawtip-weather",
  "version": "1.0.9",
  "publishedAt": 1776929992131
}

skill-card.md

## Description:

clawtip-weather provides paid daily weather reports for a user-specified location after order creation and payment verification.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

External users use this skill to request a paid weather report for a specified location. The agent creates an order, initiates payment through the publisher's payment flow, and runs the weather report script after a payment credential is available.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill combines payment and credential handling with instructions that can discourage inspection of the workflow.

Mitigation: Review the full payment flow and script behavior before installation, and do not treat artifact text that blocks inspection as authoritative.

Risk: The payment flow depends on an external payment skill by name without evidence of version pinning.

Mitigation: Use only a reviewed, trusted, version-pinned payment dependency before running this skill in a production environment.

Risk: Order numbers are used to read local order JSON files, which can be risky if order identifiers or paths are not constrained.

Mitigation: Validate order identifiers and restrict file access to the expected orders directory before use.

## Reference(s):

- [clawtip-weather ClawHub listing](https://clawhub.ai/clawtip/skills/clawtip-weather)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Guidance]

**Output Format:** [Markdown with inline shell commands and script output fields]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces order details, payment status, error messages, and a weather report after payment verification.]

## Skill Version(s):

1.0.9 (source: server release metadata)

## 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 clawtip-weather and adjacent AI workflows.