OKX Market Data
HKUDS/Vibe-Trading
Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.
Finds DeFi yield products through OKX, runs deposits, withdrawals and reward claims, and shows existing DeFi positions across chains, for requests that name no specific dApp.
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install internet-court/internet-court-skill okx-defi --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vendored/okx/okx-defi .claude/skills/okx-defi && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .claude/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install internet-court/internet-court-skill okx-defi --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/vendored/okx/okx-defi .agents/skills/okx-defi && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .agents/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install internet-court/internet-court-skill okx-defi --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/vendored/okx/okx-defi .cursor/skills/okx-defi && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .cursor/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/internet-court/internet-court-skill.git --path vendored/okx/okx-defi--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install internet-court/internet-court-skill okx-defi --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/vendored/okx/okx-defi .gemini/skills/okx-defi && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .gemini/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install internet-court/internet-court-skill okx-defiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/vendored/okx/okx-defi .github/skills/okx-defi && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .github/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add internet-court/internet-court-skill --skill okx-defi -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install internet-court/internet-court-skill okx-defi --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/vendored/okx/okx-defi .opencode/skills/okx-defi && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "okx-defi" agent skill from https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi into .opencode/skills/okx-defi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "okx-defi", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
okx-defiFinds DeFi yield products through OKX, runs deposits, withdrawals and reward claims, and shows existing DeFi positions across chains, for requests that name no specific dApp.
Two capabilities share one skill, both wrapping the onchainos defi command group. The invest side searches products by yield, shows product detail, deposits or stakes, provides liquidity, redeems positions fully or partly, claims rewards and charts APY, TVL and liquidity depth. The portfolio side lists positions with per-protocol detail.
An intent table routes each request to reference files for investing, portfolio, exact CLI parameters and troubleshooting, and a typical session views positions first and then redeems or claims. Requests that name a protocol such as Aave or Lido, plus DEX swaps, token prices and wallet balances, go to other skills. The CLI resolves chain names, pre-flight checks run first, and the merged skill is labeled experimental.
Read from SKILL.md and the folder at commit fa89195. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
OKX DeFi Invest and Portfolio loads about 1.4k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 241 tokens; SKILL.md has 447 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from internet-court/internet-court-skill at commit fa89195, republished under its MIT licence (© internet-court). 447 words, ~1,425 tokens.
.claude/skills/okx-defi/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.Multi-chain, OKX-aggregated DeFi in two capabilities behind one skill. Both wrap the same onchainos defi CLI command group.
Read
../okx-agentic-wallet/_shared/preflight.md. If that file does not exist, read_shared/preflight.mdinstead.
| User Intent | Reference |
|---|---|
| Discover / search DeFi products, find best APY | invest.md |
| Product detail (APY, TVL, accepted tokens) | invest.md |
| Deposit / stake / provide liquidity | invest.md |
| Withdraw / redeem a position (full or partial) | invest.md |
| Claim rewards (platform / investment / V3 fee / bonus / unlocked principal) | invest.md |
| APY history, TVL history, V3 depth / price charts | invest.md |
| View DeFi positions / holdings overview (持仓) | portfolio.md |
| Per-protocol position detail (持仓详情) | portfolio.md |
| Exact parameters / return schemas — invest & charts commands | invest-cli-reference.md |
| Exact parameters / return schemas — positions commands | portfolio-cli-reference.md |
| Errors / failed deposits / expired calldata | invest-troubleshooting.md |
| Errors / empty positions / address-format issues | portfolio-troubleshooting.md |
Typical flow spans both: view positions (Portfolio) → redeem or claim (Invest). Read both reference files when the request chains them.
okx-dapp-discoveryokx-dex-marketokx-agentic-walletokx-agentic-walletokx-agentic-walletokx-agentic-walletCLI resolves chain names automatically (e.g. ethereum → 1, bsc → 56, solana → 501). Full alias table: references/portfolio.md §Chain Support.
When the user does NOT provide a wallet address, resolve it automatically from the Agentic Wallet before running any defi command:
1. onchainos wallet status → check if logged in, get active account
2. onchainos wallet addresses → get addresses grouped by chain category:
- XLayer addresses
- EVM addresses (Ethereum, BSC, Polygon, etc.)
- Solana addresses
3. Match address to target chain:
- EVM chains → use EVM address
- Solana → use Solana address
- XLayer → use XLayer addressRules:
okx-agentic-wallet) or provide an address manuallywallet balance --all to get all account IDs, then wallet switch <id> + wallet addresses for each accountThe --address and chain parameters must be compatible. EVM addresses (0x…) can only query EVM chains; Solana addresses (base58) can only query solana. Never mix them — the API will return error 84019 (Address format error).
0x… address → only pass EVM chains: ethereum,bsc,polygon,arbitrum,base,xlayer,avalanche,optimism,fantom,linea,scroll,zksyncsolanasui; Tron address (T…) → only pass tron; TON address → only pass ton--addressdefi positions uses --chains (plural, comma-separated); defi position-detail uses --chain (singular)references/invest-cli-reference.md (invest & charts) and references/portfolio-cli-reference.md (positions)© internet-court, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (references) in vendored/okx/okx-defi of internet-court/internet-court-skill.
Open the folder on GitHubat commit fa89195
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in internet-court/internet-court-skill, which our catalogue first saw on October 7, 2026.
OKX DeFi Invest and Portfolio next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| OKX DeFi Invest and Portfolio this skillinternet-court/internet-court-skill | 6.6k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| OKX Market DataHKUDS/Vibe-Trading | 35k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Okx Cex Earnokx/agent-skills | 187 | 2 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Okx Cex Marketdex-original/okx-agent-trade-kit | 110 | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Okx Cex Smartmoneydex-original/okx-agent-trade-kit | 110 | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Okx Sentiment Trackerdex-original/okx-agent-trade-kit | 110 | 1 repos | ~3.8k | Automated safety check: Pass | MIT |
HKUDS/Vibe-Trading
Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.
okx/agent-skills
Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.
dex-original/okx-agent-trade-kit
A skill your agent uses when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume…
dex-original/okx-agent-trade-kit
Smart Money analytics on OKX: leaderboard traders, position tracking, trade records, aggregated consensus signals, and signal history.
dex-original/okx-agent-trade-kit
A skill your agent uses when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news'…
HKUDS/Vibe-Trading
Fetches public crypto market data (candles, tickers, order books, trades) from 100+ exchanges through CCXT, and serves as the fallback when OKX is unavailable.
internet-court/internet-court-skill
Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.
internet-court/internet-court-skill
Guides building on the 0G Compute Network, a decentralized GPU marketplace for AI inference and fine-tuning, with SDK patterns and CLI commands.
internet-court/internet-court-skill
Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.
internet-court/internet-court-skill
Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.
internet-court/internet-court-skill
Specifies how a GenLayer Intelligent Contract decision about an agent's performance becomes an ERC-7710 revocation or policy change, through a relayer or bridge and an EVM controller.
internet-court/internet-court-skill
Specifies how a GenLayer Intelligent Contract should supervise an AI agent, with review rubrics, evidence schemas and continue, warn, constrain or revoke decisions.
Works with
Categories
Finds DeFi yield products through OKX, runs deposits, withdrawals and reward claims, and shows existing DeFi positions across chains, for requests that name no specific dApp. Two capabilities share one skill, both wrapping the onchainos defi command group. The invest side searches products by yield, shows product detail, deposits or stakes, provides liquidity, redeems positions fully or partly, claims rewards and charts APY, TVL and liquidity depth.
OKX DeFi Invest and Portfolio fits situations like: searching for DeFi products with the highest yield; staking, depositing or providing liquidity through OKX; redeeming a DeFi position or claiming accrued rewards; reviewing DeFi holdings and per-protocol position detail.
Run `npx skills add internet-court/internet-court-skill --skill okx-defi -a claude-code`. Or copy the skill folder (vendored/okx/okx-defi in internet-court/internet-court-skill) into .claude/skills/okx-defi in your project. Claude Code loads it when a task matches its description.
Run `npx skills add internet-court/internet-court-skill --skill okx-defi -a codex`. Or copy the skill folder (vendored/okx/okx-defi in internet-court/internet-court-skill) into .agents/skills/okx-defi in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add internet-court/internet-court-skill --skill okx-defi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/okx-defi, .gemini/skills/okx-defi, .github/skills/okx-defi and .opencode/skills/okx-defi in your project.
SKILL.md names no scripts, command-line tools or credentials: OKX DeFi Invest and Portfolio is instructions for the agent only. Our summary lists: The onchainos CLI; The pre-flight setup shared with the okx-agentic-wallet skill.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
OKX DeFi Invest and Portfolio is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with OKX DeFi Invest and Portfolio: OKX Market Data (HKUDS/Vibe-Trading, 35k stars), Okx Cex Earn (okx/agent-skills, 187 stars), Okx Cex Market (dex-original/okx-agent-trade-kit, 110 stars) and Okx Cex Smartmoney (dex-original/okx-agent-trade-kit, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
internet-court (a GitHub organization) maintains it in internet-court/internet-court-skill, which has 6,551 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on August 19, 2026.
Source: internet-court/internet-court-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.