基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill cobo-payment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
| name | cobo-payment |
| description | > Use when this capability is needed. |
This skill uses cobo-cli to interact with Cobo Payment APIs (/payments/*). Auth and environment setup are shared with the cobo-waas skill.
Auth and env setup is identical to cobo-waas:
cobo version # If fails: pip install cobo-cli
cobo env dev # Set environment
cobo login -u # OAuth login (opens browser)
cobo keys generate --key-type API # Generate API key
cobo keys register # dev/sandbox only
cobo auth apikey # Set auth method
cobo get /payments/orders --limit 1 # Verify payment access
For production key registration: cobo open developer → add public key + grant Payment permissions.
Run these checks first and fix issues automatically — do not ask the user to run them manually.
cobo version
cobo config list
cobo get /payments/orders --limit 1
| 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 block
cobo login -u. Run it manually and accept the certificate prompt in the browser before proceeding.
Always look up parameters before writing CLI commands or SDK code:
POST /payments/orders)cobo doc /payments/<path> to read parameter names, types, and required/optionalcobo doc on both endpoints before answering — do not rely solely on references/concepts.md| 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 |
Uses the same cobo_waas2 SDK as cobo-waas. Payment APIs are accessed via PaymentApi.
PaymentApi (not WalletsApi) for all /payments/* endpointsassets/templates/<language>.md and follow its style exactlyEnvironment setup (all languages):
eval $(cobo config env) # macOS/Linux — load COBO_API_SECRET, COBO_ENV
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.
COBO_API_SECRET or private keys in outputrequest_id for orders, refunds, payoutsrequest_id — duplicates are rejected (error_code 30001)Source: CoboGlobal/cobo-cli — distributed by TomeVault.