技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 111 · 1 current installs · 1 all-time installs
⭐ 0
安装量(当前) 1
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:adjusternwachukwu-bot/skill-pay
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill's instructions match its stated purpose (adding pay-per-call billing) but rely on an opaque third-party endpoint and give no security or operational details for handling API keys, withdrawals, or funds — proceed with caution.
目的
The name/description (add credit-based payments) aligns with the provided curl and Python examples that register users/builders, buy credits, charge per call, and withdraw funds. The APIs shown correspond to the monetization purpose.
说明范围
Runtime instructions direct the agent/skill to send API keys and payment operations to https://skillpay.gpupulse.dev. The document does not describe authentication storage, key rotation, how withdrawals are authorized, or any privacy/KYC/legal controls. Network calls will transmit user and builder keys and transaction data to an external service; that is expected for a payments integration but the lack of provenance and operational detail is r…
安装机制
Instruction-only skill with no install steps or external packages. Nothing is written to disk by the skill itself, which minimizes direct install risk.
证书
The skill declares no required environment variables or binaries, but its workflow requires storing and transmitting sensitive bearer API keys (sp_usr_..., sp_bld_...) and a wallet address for withdrawals. The SKILL.md does not instruct how/where to store those secrets securely; requesting no declared env vars is coherent for an instruction-only doc but the developer will still need to add sensitive keys to their skill's runtime—this should be…
持久
always is false and there is no install-time persistence requested. The skill does not request any elevated agent privileges or modifications to other skills' configurations.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「SkillPay」。简介:Add credit-based payments to any OpenClaw skill. Register paid skills, charge u…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/adjusternwachukwu-bot/skill-pay/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: skill-pay
description: Add credit-based payments to any OpenClaw skill. Register paid skills, charge users per call, track earnings, and withdraw USDC. Use when a user wants to monetize a skill, set up payments for agent services, check credit balances, register as a builder, or integrate pay-per-use into their agent workflow.
---
# SkillPay — Credits for the Agent Economy
Universal payment system for OpenClaw skills. Builders register paid skills, users buy credits, skills charge per call.
## Setup
API base: `https://skillpay.gpupulse.dev/api/v1`
## For Users (Buyers)
### Register
```bash
curl -X POST "$BASE/user/register"
-H "Content-Type: application/json"
-d '{"name": "my-agent", "email": "optional@email.com"}'
```
Returns `sp_usr_...` API key (save it, shown once).
### Buy Credits
```bash
curl -X POST "$BASE/user/deposit"
-H "Authorization: Bearer sp_usr_..."
-H "Content-Type: application/json"
-d '{"amount": 100}'
```
### Check Balance
```bash
curl "$BASE/user/balance" -H "Authorization: Bearer sp_usr_..."
```
## For Builders (Sellers)
### Register as Builder
```bash
curl -X POST "$BASE/builder/register"
-H "Content-Type: application/json"
-d '{"name": "my-company", "wallet_address": "SolanaWalletAddress"}'
```
Returns `sp_bld_...` API key.
### Register a Paid Skill
```bash
curl -X POST "$BASE/builder/skill/register"
-H "Authorization: Bearer sp_bld_..."
-H "Content-Type: application/json"
-d '{"slug": "my-skill", "name": "My Skill", "description": "Does something useful", "price_credits": 10}'
```
### Check Earnings
```bash
curl "$BASE/builder/earnings" -H "Authorization: Bearer sp_bld_..."
```
### Withdraw
```bash
curl -X POST "$BASE/builder/withdraw"
-H "Authorization: Bearer sp_bld_..."
-H "Content-Type: application/json"
-d '{"amount": 50}'
```
## Integration (The Key Part)
Add this to your skill's code to charge per call:
```python
import requests
def charge_user(user_key, skill_slug="my-skill"):
resp = requests.post("https://skillpay.gpupulse.dev/api/v1/pay", json={
"user_key": user_key,
"skill_slug": skill_slug
})
if resp.status_code == 200:
return True # paid, execute skill
elif resp.status_code == 402:
return False # insufficient credits
return False
```
## Browse Skills
```bash
curl "$BASE/skills" # no auth needed — public catalog of all paid skills
```
## Platform Fee
2.5% on every transaction. Builder sets price in credits, receives 97.5%.
## Credit Ratio
1 USDC = 1 credit (adjustable per skill type).