度小满支付技能
CLAWHUB · Unverified
度小满支付钱包 Skill,处理 SP 服务余额不足/未购买场景:根据调用方传入的结构化商品数据生成支付链接和二维码。也处理 Skill 安装:当用户说"使用度小满安装skill"、"度小满下载skill"、"install skill"、"我要使用度小满安装某个skill"时触发 installSkill 流程。 Skill: 度小满支付技能 Owner: duxiaoman Summary: 度小满支付钱包 Skill,处理 SP 服务余额不足/未购买场景:根据调用方传入的结构化商品数据生成支付链接和二维码。也处理 Skill 安装:当用户说"使用度小满安装skill"、"度小满下载skill"、"install skill"、"我要使用度小满安装某个skill"时触发 installSkill 流程。 Tags: latest:1.0.12 Version history: v1.0.12 | 2026-08-25T04:55:41.289Z | user - 移除了冗余的 skill-card.md 文件。 - 增加文件流hash校验以及解压../的处理 - 其余功能、用法与说明无变化。 v1.0.11 | 2026-06-17T09:42:43.899Z | user - 移除 skill-card.md 文件,精简了文档结构 -
- 62
- Rank
- 84
- Safety
- 1.6k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.6K 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
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.6K downloadsadoption · Oct 10, 2026
- Latest release
- 1.0.12release · Aug 25, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.12release
- 移除了冗余的 skill-card.md 文件。 - 增加文件流hash校验以及解压../的处理 - 其余功能、用法与说明无变化。
Observed Aug 25, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17avhtwkfpvkt14j2hk9w6ffn83ws3f:dxm-claw-pay- 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.
- 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-duxiaoman-dxm-claw-pay/snapshot"
Run-check
$0.02 USD1 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
49,735 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: dxm-claw-pay
description: 度小满支付钱包 Skill,处理 SP 服务余额不足/未购买场景:根据调用方传入的结构化商品数据生成支付链接和二维码。也处理 Skill 安装:当用户说"使用度小满安装skill"、"度小满下载skill"、"install skill"、"我要使用度小满安装某个skill"时触发 installSkill 流程。
---
# 度小满支付钱包 Skill (dxm-claw-pay)
本 Skill 负责处理所有 SP 服务的**余额不足 / 未购买**场景,统一完成二维码生成和引导话术。
**脚本路径(支付二维码)**: `scripts/qrcode.js`
**脚本路径(Skill 下载安装)**: `scripts/clawpay-cli.js`
> **运行时依赖**:本 Skill 通过 shell 调用 `node scripts/qrcode.js`,需要宿主环境已安装 **Node.js**(建议 v18+)。若环境不支持 node 进程,需改为以模块方式集成 qrcode 逻辑。
---
## 触发条件
当任意 SP 服务调用返回以下情况时,由调用方 Skill 转交本 Skill 处理:
- 返回 `error: "FORBIDDEN"`
- 返回 `detail` 字段包含"未购买"
> 本 Skill 也可被用户直接触发:「查看充值套餐」「我要充值」「怎么付款」
用户直接触发安装 Skill 时:「安装skill」「下载skill」「install skill」「我要安装某个skill」→ 进入 **installSkill 流程**
---
## installSkill 流程
### 第一步:获取 skill_id
若用户未提供 skill_id,询问用户:「请提供要安装的 Skill ID:」
### 第二步,确认配置文件
**每次执行前必须先运行**:
```bash
node scripts/clawpay-cli.js userConfig
```
- 返回 `"action": "exists"` → 配置已存在,直接进入第二步
- 返回 `"action": "created"` → 已配置,继续第二步
- 返回失败 → 告知用户错误信息,禁止把其他 json 配置文件拷贝过来重命名使用
### 第三步:执行下载
```bash
node scripts/clawpay-cli.js downloadSkill --skill-id <skill_id>
```
### 第四步:处理结果
**成功(`success: true`)**:
- 告知用户:Skill 已下载并安装到对应目录
- 提示用户重启 Claude Code 或刷新 Skill 列表以生效
**未支付(`"ret":403,"msg":"用户尚未支付"`)**:
从返回的 `content.data` 字段中提取以下字段,直接构造结构化 JSON 调用本 Skill 的支付二维码流程:
| download 返回字段 | 映射到输入参数 |
|---|---|
| `name` | `productName` |
| `service_content` | `productDesc` |
| `download_fee` | `price` |
| `url` | `payUrl` |
| `pay_channels` | `pay_channels` |
**其他错误**:告知用户错误信息
---
## 输入参数
调用本 Skill 时,调用方需提供**结构化 JSON 对象**,字段如下:
| 参数 | 类型 | 必填 | 说明 | 示例 |
|------|------|------|------|------|
| `productName` | string | ✅ | 商品名称 | `"天气查询服务-月度套餐"` |
| `productDesc` | string | ✅ | 商品描述 | `"每月 1000 次调用额度"` |
| `price` | string | ✅ | 价格(含单位) | `"9.90元"` |
| `payUrl` | string | ✅ | 支付链接 | `"https://www.xx.com/..."` |
| `pay_channels` | string[] | ✅ | 支持的支付方式 | `["wechat", "alipay"]` |
> **调用方职责**:调用方 Skill 负责调用自身 CLI 脚本、提取以上字段,并以 JSON 对象形式传给本 Skill。本 Skill 不执行任何外部命令。
---
## 支付工作流程
### 第一步:确保用户配置存在
**每次执行前必须先运行**:
```bash
node scripts/clawpay-cli.js userConfig
```
- 返回 `"action": "exists"` → 配置已存在,直接进入第二步
- 返回 `"action": "created"` → 已自动生成 EC/secp256r1 密钥并保存到 `${CLAUDE_SKILL_DIR}/clawpay.json`,继续第二步
- 返回失败 → 告知用户错误信息,禁止把其他 json 配置文件拷贝过来重命名使用
### 第二步:校验输入
收到调用方传入的 JSON 对象后,校验必填字段是否完整:
- `payUrl` 必须以 `https://` 开头,否则拒绝处理并提示调用方
### 第三步:生成支付二维码
使用 `payUrl` 字段生成二维码图片(写入系统临时目录):
```bash
node scripts/qrcode.js --short-url --out-dir /tmp "<payUrl>" 2>&1
```
> **安全约束**:
> - 临时目录下的二维码图片由系统负责清理(进程重启或系统清理后自动回收),如有更严格的清理策略请手动删除
### 第四步:展示商品信息并引导用户
1. 展示商品名称、价格、描述、套餐内容,其中price价格目前是分,需要 price/100,转换为元展示
2. 告知用户扫码支持的支付渠道
3. 根据 `pay_channels` 组织提示文案(wechat:微信,alipay:支付宝)告知用户
***不要展示qr字段对应的二维码base64
---
## 调用示例(以 sp-service-weather 为例)
### 调用方(sp-service-weather)的职责
当 sp-service-weather 遇到 `error: "FORBIDDEN"` 或 `detail` 包含"未购买"时,**在自身 Skill 内完成以下步骤**,再将结果转交本 Skill:
**第一步:在 sp-service-weather 内执行 CLI 查询商品详情*_meta.json
{
"ownerId": "kn72kt6hgzx7yfj4dw75tkh3ws830022",
"slug": "dxm-claw-pay",
"version": "1.0.12",
"publishedAt": 1787633741289
}skill-card.md
## Description: 度小满支付技能 helps agents handle unpaid or insufficient-balance service responses by showing product details, generating a payment QR code for a validated payment URL, and supporting paid skill installation flows. This skill is ready for commercial/non-commercial use. ## Publisher: [duxiaoman](https://clawhub.ai/user/duxiaoman) ### License/Terms of Use: MIT-0 ## Use Case: External users and developers use this skill to present payment details and QR codes when a ClawHub service is unpaid or has insufficient balance. It can also register a local client and install paid skills after payment through the publisher service. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can register a local client and store a signing key. Mitigation: Review before installing and prefer versions that store credentials with owner-only permissions. Risk: The skill can download remote ZIP packages and install files into the shared skills workspace. Mitigation: Use only if the dxmpay/clawpay service and package-signing pipeline are trusted; prefer versions that validate skill IDs, install only into an isolated expected directory, and prevent overwrites without explicit consent. Risk: The authoritative scan verdict is suspicious because installation behavior is broad and under-scoped for automatic approval. Mitigation: Require human review before deployment and scan the skill before use in an agent environment. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/duxiaoman/skills/dxm-claw-pay) - [duxiaoman publisher profile](https://clawhub.ai/user/duxiaoman) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with JSON status from helper scripts and QR code image file references] **Output Parameters:** [1D] **Other Properties Related to Output:** [May create local client configuration, temporary QR code images, downloaded ZIP files, and installed skill files during guided workflows.] ## Skill Version(s): 1.0.12 (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.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-duxiaoman-dxm-claw-pay. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about 度小满支付技能. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-duxiaoman-dxm-claw-pay, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/duxiaoman/skills/dxm-claw-pay",
"sourceUrl": "https://clawhub.ai/duxiaoman/skills/dxm-claw-pay",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:32.685Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-duxiaoman-dxm-claw-pay/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-duxiaoman-dxm-claw-pay/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:32.685Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceUrl": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:32.685Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.12",
"href": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceUrl": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-25T04:55:41.289Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-duxiaoman-dxm-claw-pay/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-duxiaoman-dxm-claw-pay/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.12",
"description": "- 移除了冗余的 skill-card.md 文件。 - 增加文件流hash校验以及解压../的处理 - 其余功能、用法与说明无变化。",
"href": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceUrl": "https://clawhub.ai/duxiaoman/dxm-claw-pay",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-25T04:55:41.289Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-duxiaoman-dxm-claw-pay/run-check
