agentleFS
open-crab-aiopen-crab-ai/okx-plugin/skills/okx-finance/SKILL.md

okx-finance

Skill1 starsChanged 9 months agoApache-2.0View on GitHub

Use this skill when users want financial products: staking (DeFi, ETH, SOL), savings/earn (lending), flexible loans (borrow/collateral). For trading, use okx-trade. For funding transfers, use okx-asset.

The file

Files
SKILL.md

OKX Financial Products CLI

30+ commands for staking, savings, and flexible loans.

Staking DeFi Commands

okx finance staking offers
okx finance staking offers --ccy ETH
okx finance staking purchase --productId 123 --investData '[{"ccy":"ETH","amt":"1"}]'
okx finance staking redeem --ordId 123 --protocolType defi
okx finance staking cancel --ordId 123 --protocolType defi
okx finance staking orders-active
okx finance staking orders-history

ETH Staking Commands

okx finance eth-staking product-info
okx finance eth-staking purchase --amt 1
okx finance eth-staking redeem --amt 1
okx finance eth-staking balance
okx finance eth-staking history
okx finance eth-staking apy-history

Savings / Earn Commands

okx finance savings balance
okx finance savings balance --ccy USDT
okx finance savings purchase-redempt --ccy USDT --amt 1000 --side purchase
okx finance savings purchase-redempt --ccy USDT --amt 1000 --side redempt
okx finance savings set-lending-rate --ccy USDT --rate 0.01
okx finance savings lending-history
okx finance savings lending-rate-summary
okx finance savings lending-rate-history

Flexible Loan Commands

okx finance flexible-loan borrow-currencies
okx finance flexible-loan collateral-assets
okx finance flexible-loan max-loan --data '{"borrowCcy":"USDT","collateralCcy":"BTC"}'
okx finance flexible-loan adjust-collateral --data '{"type":"add","collateralCcy":"BTC","collateralAmt":"0.1"}'
okx finance flexible-loan loan-info
okx finance flexible-loan loan-history
okx finance flexible-loan interest-accrued

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.