clawtip-skill

Free developer guide for building paid skills on ClawHub. Explains the standard three-phase payment flow, SkillSpector compliance requirements, and common pitfalls for developers b…

Jackskill

@jinyu12166

What This Skill Does

Processes payments for OpenClaw paid skills by locating local order files, deducting wallet balance, and writing payment credentials back to the order file. It acts as a payment tool that bridges order creation and fulfillment verification.

Replaces manual payment tracking and credential management for OpenClaw skill purchases by automating wallet deduction and credential write-back.

When to Use It

  • Pay for an order created by a target business skill like obsidian-memory-system or database-specialist
  • Write payment credentials into an existing order file after wallet deduction
  • Verify payment status before proceeding to skill fulfillment
  • Handle payment for multiple orders across different OpenClaw paid skills
  • Complete the payment step in the recommended skill installation workflow

Install

$ openclaw skills install @jinyu12166/clawtip-skill

ClawTip 开发者指南

这是什么

这是一个免费的参考指南技能,面向想在 ClawHub 上构建付费技能的开发者。本技能不处理任何支付或订单,只提供文档和指引。

如果你正在寻找官方的支付处理技能,请安装 clawtip(正式环境)或 clawtip-sandbox(测试环境)。


技能支付链搭建流程

标准三阶段架构

Phase 1: create_order.py → 本地订单文件(SM4 加密)
Phase 2: clawtip 钱包 → 扣款 → payCredential 回写
Phase 3: service.py → 验证凭证 → AI 交付服务

核心原则

原则说明
AI 对话交付型脚本只负责支付验证,实际服务由 AI 在对话中交付
零远程调用create_order.py 和 service.py 不发起任何 HTTP 请求
内联加密SM4 加密和订单文件管理内联到脚本中,不使用独立模块

关键约束

约束说明
encrypted_data仅加密 {"orderNo":"...","amount":"...","payTo":"..."},不加额外字段
错误信息用英文SkillSpector 会将中文错误消息标记为 Natural-Language Policy
file_utils.py订单文件管理必须内联,否则被标记为"隐藏能力"
sm4_utils.pySM4 必须内联到 create_order.py
版本号递增每次修改后版本号 +1

SkillSpector 高频被拒项

#发现类型触发条件修复方法
1Description-Behavior Mismatch描述和代码行为不一致service.py 输出明确的服务交付清单
2MCP Tool Poisoning描述声称做某事但代码只有支付明确为 AI 对话交付型
3Context-Inappropriate Capabilityfile_utils.py 等独立模块内联到脚本中
4Natural-Language Policy中文错误消息所有系统输出用英文
5Unvalidated Output Injectionsubprocess.run() 调用脚本改为直接 import + 函数调用

推荐资源

  • 完整构建标准文档:paid/BUILD_STANDARD.md(详细模板 + 检查清单)
  • 参考技能示例:ssq-analyzerinnovation-researchsoft-ip-full-lifecycle-zijian
  • 沙箱测试:npx @clawtip/clawtip-sandbox-cli@1.0.0 pay
  • 官方钱包:openclaw skills install clawtip

版本历史

VersionDateNotes
1.0.02026-07-28Initial release as free developer guide (replaces legacy payment middle)

Top skills in this category