coboglobal/cobo-cli/cobo-payment
Claude Code and agent skill by coboglobal/cobo-cli
- community
Checking that the SKILL.md file is still in the repository.
Use when the user mentions pay-in orders, refunds, payouts, merchants, PSP balances, counterparties, destinations, allocations, settlement reports, payment links, or any /payments/* endpoint. Do NOT use for general wallet operations (list wallets, create addresses, transfers, staking, MPC vaults) — those belong to cobo-waas.
Install
npx vskill@latest install coboglobal/cobo-cli/cobo-paymentSKILL.md
Cobo Payment Skill
This skill uses cobo-cli to interact with Cobo Payment APIs (/payments/*). Auth and environment setup are shared with the cobo-waas skill.
Quick Start
Auth and env setup is identical to cobo-waas:
For production key registration: cobo open developer → add public key + grant Payment permissions.
State Detection
Run these checks first and fix issues automatically — do not ask the user to run them manually.
| Result | State | Auto-fix | |
|---|---|---|---|
command not found | CLI not installed | pip install cobo-cli | |
| Config empty | Not configured | Run Quick Start steps | |
Key or secret not found | Keys missing | cobo login -u → cobo keys generate --key-type API → cobo keys register | |
| 401 / error_code 2024 | Key not registered | dev: cobo keys register / prod: cobo open developer | |
| 403 / error_code 2025 | No Payment permission | cobo open developer → add Payment permissions to key | |
| SSL certificate error | Corporate VPN certificate not trusted | Run cobo login -u manually — accept the certificate warning in the browser that opens | |
| JSON response | Ready | Proceed with task |
VPN note: On corporate VPN (e.g. Cloudflare), SSL certificate errors may blockcobo login -u. Run it manually and accept the certificate prompt in the browser before proceeding.
Before Generating API Requests
Always look up parameters before writing CLI commands or SDK code:
- Identify the endpoint from user intent (e.g. "create order" →
POST /payments/orders) - Run
cobo doc /payments/<path>to read parameter names, types, and required/optional - Generate the exact CLI command or SDK call using those parameters
- When comparing two similar objects (e.g. Counterparty vs Destination), run
cobo docon both endpoints before answering — do not rely solely onreferences/concepts.md
Reference Navigation
| Task | Reference | |
|---|---|---|
| All endpoint parameters | references/api-quickref.md | |
| Business terminology | references/concepts.md | |
| End-to-end workflows | references/recipes.md | |
| Error codes & recovery | references/errors.md | |
| SDK — Python | assets/templates/python.md | |
| SDK — TypeScript / Node.js | assets/templates/ts-node.md | |
| SDK — Go | assets/templates/go.md | |
| SDK — Java | assets/templates/java.md |
SDK Code Generation Rules
Uses the same cobo_waas2 SDK as cobo-waas. Payment APIs are accessed via PaymentApi.
- Minimal setup block + one short operation block per task — no wrapper functions, no extra classes
- Use
PaymentApi(notWalletsApi) for all/payments/*endpoints - Only pass parameters the task needs — never fill in every optional field
- No custom DTOs, no forced serialization unless explicitly asked
- Load the template for the target language from
assets/templates/<language>.mdand follow its style exactly
Environment setup (all languages):
Recovery Patterns
When operations fail, execute the fix automatically. See references/errors.md for full error code tables, payment-specific issues, and recovery steps.
Short version: identify the error → diagnose → apply fix → re-run the original operation.
Guardrails
- Never echo
COBO_API_SECRETor private keys in output - Confirm environment before write operations — production affects real funds
- Idempotency: always use unique
request_idfor orders, refunds, payouts - Never reuse
request_id— duplicates are rejected (error_code 30001) - After each action, briefly report what happened (action, IDs, next step) — no rigid JSON schema required
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cobo-payment/SKILL.md
Popularity
- Repository stars
- 63
- Repository forks
- 32
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/coboglobal/cobo-cli/cobo-payment)