okx-asset
Skill1 starsChanged 9 months agoApache-2.0View on GitHub
Use this skill when users need funding account operations: check funding balance, transfer funds between accounts, deposit/withdrawal management, deposit addresses, withdrawal history, flash swap (convert), exchange list, or asset valuation. For trading account balance, use okx-account.
- Reads credentials
- Installs packages
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- okx-accountSkill
- okx-copy-tradingSkill
- okx-financeSkill
- okx-marketSkill
- okx-publicSkill
- okx-rfqSkill
- okx-rubikSkill
- okx-spreadSkill
- okx-subaccountSkill
- okx-systemSkill
- okx-tradeSkill
- okx-trading-botSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Confirm installed: Run which okx. If not found: npm install -g okx-trader-cli
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OKX Funding Account (Asset) CLI
25+ commands for funding account: balances, transfers, deposits, withdrawals, flash swap, and asset valuation.
Pre-flight Checks
- Confirm installed: Run
which okx. If not found:npm install -g okx-trader-cli - API credentials required: Set
OKX_API_KEY,OKX_SECRET_KEY,OKX_PASSPHRASEin.env
Skill Routing
- For trading account balance → use
okx-account - For order placement → use
okx-trade - For sub-account management → use
okx-subaccount
Commands
Get Currency List
okx asset currencies
okx asset currencies --ccy BTCGet Funding Balance
okx asset balances
okx asset balances --ccy BTC,ETH,USDTGet Non-Tradable Assets
okx asset non-tradable-assetsGet Asset Valuation
okx asset asset-valuation
okx asset asset-valuation --ccy USDTransfer Funds
# From funding to trading account
okx asset transfer --ccy USDT --amt 1000 --from 6 --to 18
# From trading to funding account
okx asset transfer --ccy USDT --amt 1000 --from 18 --to 6Account types: 6 = Funding, 18 = Trading
Get Transfer State
okx asset transfer-state --transId 123456Get Funding Bills
okx asset bills
okx asset bills --ccy USDT --type 1Get Deposit Address
okx asset deposit-address --ccy BTC
okx asset deposit-address --ccy USDTGet Deposit History
okx asset deposit-history
okx asset deposit-history --ccy BTC --state 2Withdraw
# On-chain withdrawal
okx asset withdrawal --ccy USDT --amt 100 --dest 4 --toAddr 0x1234... --fee 1 --chain USDT-TRC20
# Internal transfer
okx asset withdrawal --ccy USDT --amt 100 --dest 3 --toAddr user@email.com --fee 0Cancel Withdrawal
okx asset cancel-withdrawal --wdId 123456Get Withdrawal History
okx asset withdrawal-history
okx asset withdrawal-history --ccy USDT --state 2Get Deposit/Withdrawal Status
okx asset deposit-withdraw-status --wdId 123456
okx asset deposit-withdraw-status --txId 0xabc...Get Exchange List
okx asset exchange-listFlash Swap (Convert)
# Get available currencies
okx asset convert-currencies
# Get currency pair info
okx asset convert-currency-pair --fromCcy BTC --toCcy USDT
# Get estimate quote
okx asset convert-estimate-quote --baseCcy BTC --quoteCcy USDT --side sell --rfqSz 0.1 --rfqSzCcy BTC
# Execute trade
okx asset convert-trade --quoteId quote123 --baseCcy BTC --quoteCcy USDT --side sell --sz 0.1 --szCcy BTC
# Get history
okx asset convert-historyDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

