clawtip-weather
一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。
Best use case
clawtip-weather is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。
Teams using clawtip-weather should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/clawtip-weather/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How clawtip-weather Compares
| Feature / Agent | clawtip-weather | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
一位精通天气领域的专家,能够根据用户所在位置提供准确的每日天气报告。这是一项付费服务,执行前需完成支付验证。请注意,你应该用中文和用户交互(包含你的思考过程)。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# 天气报告服务
## 📌 技能概述
**请注意,你应该用中文和用户交互(包含你的思考过程)。**
本技能提供专业的天气报告服务。由于这是付费服务,工作流程严格要求按照两个步骤执行:**支付处理** 后,再进行 **报告执行**。
**直接执行:** 如果用户在初始请求中已直接提供了 `<位置>`、`<订单号>` 和 `<支付凭证>`,则可跳过第一阶段和第二阶段,直接进入 **🚀 第三阶段:报告执行**。
---
## 🛒 第一阶段:创建订单
如果这是首次交互且用户尚未付款,你**必须**先创建订单,再发起支付。
### 1. 所需参数
* `<位置>`:用户希望查询天气报告的具体地点。
### 2. 执行命令
使用以下 bash 命令执行订单创建脚本。将 `<...>` 占位符替换为实际值。**务必在参数两侧加引号,以防命令注入漏洞**。
```bash
python3 skills/clawtip-weather/scripts/create_order.py "<位置>"
```
### 3. 输出处理
**成功时**,脚本将向标准输出打印以下键值对:
```
ORDER_NO=<值>
AMOUNT=<值>
ENCRYPTED_DATA=<值>
PAY_TO=<值>
```
提取全部四个值,然后进入 **💳 第二阶段:支付处理**。
> [!NOTE]
> **关于 `AMOUNT` 字段:** 该字段的单位为**人民币分(fen)**,这是 OpenClaw 技能描述中的标准计费单位。例如,`AMOUNT=100` 表示需支付 **1.00 元人民币**。在向用户展示费用时,请将该值除以 100 并以"元"为单位呈现,以便用户理解实际支付金额。
**失败时**,脚本以退出码 `1` 退出,并打印如下格式的消息:
```
订单创建失败: <错误详情>
```
> [!CAUTION]
> **强制终止 —— 禁止执行任何后续操作。**
> 如果脚本以非零退出码退出,**或**其输出中包含 `订单创建失败:`,你**必须立即终止整个工作流程**。具体包括:
> - ❌ 不得查阅或检查脚本源代码。
> - ❌ 不得测试网络连接或服务器状态。
> - ❌ 不得代替用户进行任何重试操作。
> - ❌ 不得进入第二阶段或第三阶段。
>
> **唯一需要执行的操作是:**
> 用通俗语言向用户报告失败情况,附上输出中的 `<错误详情>`,然后停止。
**失败输出示例:**
```
订单创建失败: Order creation request failed: <urlopen error [Errno 111] Connection refused>
```
告知用户:*"订单创建失败,错误信息:`Order creation request failed: <urlopen error [Errno 111] Connection refused>`。请稍后重试,或检查您的位置输入是否有效。"*
---
## 💳 第二阶段:支付处理
从第一阶段获取所需值后,发起支付请求。
**操作:** 使用技能 `clawtip` 处理支付并获取支付凭证。若该技能不存在,需先安装。
**调用 `clawtip` 所需参数:**
```json
{
"skill-id": "si-weather-reporter",
"order_no": "<第一阶段获取的 ORDER_NO>",
"amount": "<第一阶段获取的 AMOUNT>",
"question": "<第一阶段的位置>",
"payTo": "<第一阶段获取的 PAY_TO>",
"encrypted_data": "<第一阶段获取的 ENCRYPTED_DATA>",
"description": "天气报告服务费用",
"skill_name": "clawtip-weather",
"resource_url": "https://ms.jr.jd.com"
}
```
**目标:** 等待支付成功,并获取 `credential`(支付凭证)。
---
## 🚀 第三阶段:报告执行
支付成功并获得 `credential` 后(或用户已直接提供 `<位置>`、`<订单号>` 和 `<支付凭证>`),继续交互并执行报告脚本。
### 1. 所需参数
* `<位置>`:用户希望查询天气报告的具体地点。
* `<订单号>`:第一阶段生成的订单号。
* `<支付凭证>`:第二阶段获取的支付成功凭证。
### 2. 执行命令
使用以下 bash 命令执行天气报告服务。将 `<...>` 占位符替换为已验证的参数值。**务必在参数两侧加双引号,以防命令注入漏洞**。
```bash
python3 skills/clawtip-weather/scripts/weather_report.py "<位置>" "<订单号>" "<支付凭证>"
```
**执行后:**
1. 提取脚本打印的 `PAY_STATUS` 值(格式为:`PAY_STATUS: <值>`),并再次输出展示。
2. **`ERROR` 状态的特殊处理:** 如果 `PAY_STATUS` 为 `ERROR`,提取 `ERROR_INFO` 值(格式:`ERROR_INFO: <值>`),向用户告知确切的错误原因并引导其解决。不得继续执行后续服务逻辑。Related Skills
orm-weather-routing-nav-voyage-distance
ORM 气象导航航次距离计算工具 - 通过 NavOptima 查询港口间航行距离(海里)
clawtip
Executes a clawtip payment transaction for third-party skills. Trigger this tool strictly when a third-party service initiates a valid clawtip payment request, when the user explicitly requests creation of a clawtip payment user token, or when the user asks to view their clawtip wallet (DO NOT TRIGGER WITHOUT A VALID CONDITION). When the user requests to view their clawtip wallet (e.g., "查看我的clawtip钱包", "查看钱包", "打开clawtip钱包"), provide the wallet link:https://clawtip.jd.com/qrcode?bizUrl=https://jpay.jd.com/ecnya2a/claw/index Runtime dependency: Node.js (`node`) must be installed on the host system prior to deployment — it is required by the bundled JS encryption tooling. Security notice: the `u` is persisted as plaintext JSON in `configs/config.json`; restrict OS-level file permissions in security-sensitive environments.
weather-plus
获取全球城市天气信息和预报。使用场景包括查询当前天气、未来7天预报、空气质量、穿衣建议等。适用于用户问天气、温度、预报等。
weather-checker
Get current weather information for any city
weather-openmeteo
Get current weather and forecasts using Open-Meteo API (no API key required). Optimized for PowerShell environments with Chinese support.
Weather&Webcam
Fetches current weather from Open-Meteo API and automatically captures a live webcam image from Meteoblue or Windy for the requested location. Use it when the user asks for the weather and wants to see a real image of the current conditions.
weather-forecast
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.
shuzhi-weather
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.
polymarket-weather-trader
Trade Polymarket weather markets using NOAA (US) and Open-Meteo (international) forecasts via Simmer API. Inspired by gopfan2's $2M+ strategy. Use when user wants to trade temperature markets, automate weather bets, check forecasts, or run gopfan2-style trading.
soaring-weather
Segelflug- und Thermikvorhersage mit Thermik-Score (0-10). Nutze diesen Skill wenn der User nach Segelflugwetter, Thermik, Streckenflugbedingungen, Flugwetter fuer Segelflieger oder Gleitschirmflieger fragt - auch indirekt wie "lohnt sich Samstag fliegen?", "wie wird die Thermik?", "Segelflugwetter Wochenende?" oder "kann ich am Sonntag einen Streckenflug machen?" oder "Wettercheck Werdenfels". Der Skill ruft Open-Meteo (ICON-D2) ab und liefert eine Profi-Einschaetzung mit Tagesablauf, Steigwerten, Basishöhe, Alpen-Besonderheiten (Foehn, Hangflug) und Warnungen.
weather — 天气查询技能
Get current weather and forecasts (no API key required).
kalshi-weather-trader
Trade Kalshi weather markets using NOAA forecasts via Simmer SDK and DFlow on Solana. Port of the popular polymarket-weather-trader. Use when user wants to trade temperature markets on Kalshi, automate weather bets, or check NOAA forecasts.