Agent Skill
Okx Agent Payments Protocol skill
okx-agent-payments-protocolinternet-court/internet-court-skillvendored/okx/okx-agent-payments-protocol/SKILL.md
Use when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Payment, permit2, upto, metered billing, a payment channel / voucher / session, channelId / channel_id, opening / closing / topping up / settling / refunding a channel, a paymentId or a2a_ link, creating / checking a payment link, A2MCP / an A2MCP endpoint, or sending a request to / calling an Agent's endpoint with a concrete endpoint URL. Covers x402 (exact, exact+Permit2, upto, aggr_deferred), MPP (charge / session), and a2a-pay paymentId flows. Any close / topup / settle / voucher / refund near a channel_id or session is an MPP mid-session op. Two-phase quote/pay: `payment quote`, `payment pay --payment-id`, `decode-receipt`. The full bilingual trigger list (including Chinese) lives in the skill body.
always on
231 tokname + description
once used
8,291 tokSKILL.md body
bundled files
1066 KB
repo stars
6.9kGitHub
Install the Okx Agent Payments Protocol skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/internet-court/internet-court-skill --skill okx-agent-payments-protocol
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/internet-court/internet-court-skill.git /tmp/internet-court-skill mkdir -p ~/.claude/skills cp -R /tmp/internet-court-skill/vendored/okx/okx-agent-payments-protocol ~/.claude/skills/okx-agent-payments-protocol
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 231 tok |
| When the agent uses it | The SKILL.md instructions | 8,291 tok |
| Only if opened | 10 bundled files (66 KB) | varies |
Until it is used, okx-agent-payments-protocol costs about 5.9× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 95 skills from internet-court/internet-court-skill would load 8,864 tokens of descriptions. Skills vs MCP study
Checks
- The instructions are over 5,000 tokens, the Agent Skills specification's guideline for SKILL.md.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- OKX Agent Payments Protocol (Dispatcher)
- Triggers (full list)
- Pre-flight Checks
- Command Routing & Reference map
- Path A: HTTP 402
- Path A (accepts-based): quote → confirm → pay — PREFERRED 2-round flow
- Step A1 — Extract params (round 1)
- Step A2 — Quote
- Step A3 — Confirm (round 2) ⚠ MANDATORY — never skip
- Step A4 — Pay
- Step A1: Start from the original response (legacy / WWW-Authenticate detail)
- Step A2: Detect the protocol
- Step A3-Accepts: Decode
- Step A3-WWW-Authenticate: Decode
- Step A3-Params: Build the request-parameter plan
- Source 1 — Bazaar outputSchema.input (preferred)
- Source 2 — non-Bazaar (conservative)
- Fill values
- Step A3.5: Multi-scheme recommendation (when applicable)
- Step A4: Display payment details and STOP
- Step A5: Check wallet status (only after the user explicitly confirms)
- Step A6: Hand off to the scheme/intent reference
- Path B: a2a-pay (paymentId-based, no 402)
- Step B1: Identify the role
More skills from internet-court/internet-court-skill
- 0g-computeinternet-court/internet-court-skill
0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI, or decentralized GPU question.
6.9k86 tok idle · 1,654 in use - Privyinternet-court/internet-court-skill
Use when building wallet infrastructure, authentication systems, or financial applications. Reach for Privy when you need to create embedded wallets, manage user authentication, control wallet permissions with policies, execute transactions across blockchains, or build treasury/agent wallets with programmable controls.
6.9k54 tok idle · 2,525 in use - a2a-protocolinternet-court/internet-court-skill
Builds Agent-to-Agent (A2A) servers and clients following Google's open protocol for agent interoperability. Use when the user wants to create an A2A-compliant agent, build an Agent Card, implement task management, connect agents across frameworks, set up agent discovery, handle streaming responses, implement push notifications, or orchestrate multi-agent workflows. Trigger words: a2a, agent to agent, agent2agent, a2a protocol, a2a server, a2a client, agent card, agent interoperability, agent collaboration, multi-agent, agent discovery, a2a sdk, a2a task.
6.9k130 tok idle · 2,073 in use - agent-walletinternet-court/internet-court-skill
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection. Encrypted keystore (AES-256-GCM, scrypt KDF), policy file the agent has no tool to write, deterministic policy gate on every signing operation, optional local HTTP dashboard. Triggers: agent wallet, give the agent a wallet, agent address, fund the agent, agent autonomy, policy gate, kill switch, agent permissions, bounded autonomy, ERC-4337 alternative, session-key alternative.
6.9k109 tok idle · 4,087 in use - agentic-walletinternet-court/internet-court-skill
Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to discover paid services, pay for API calls, monetize an API, or query onchain data. Use whenever the user mentions signing in, login, authentication, wallet status, balance, address, sending money, paying someone, transferring tokens, ENS names, swapping/trading/converting tokens, funding/topping up/onramp, USDC, ETH, POL, SOL, the x402 bazaar, paid APIs, monetizing an endpoint, or querying onchain data on Base.
6.9k139 tok idle · 884 in use - alkahest-developerinternet-court/internet-court-skill
Help developers write code that interacts with Alkahest escrow contracts using the TypeScript, Rust, or Python SDK
6.9k28 tok idle · 2,318 in use - alkahest-userinternet-court/internet-court-skill
Interact with Alkahest escrow contracts as a buyer, seller, or oracle using the CLI
6.9k24 tok idle · 3,053 in use - altllm-portal-api-keysinternet-court/internet-court-skill
Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.
6.9k58 tok idle · 393 in use