From cdcx-cli
Analyzes CDCX trading portfolios via CLI tools: fetches balances, positions with P&L, sub-accounts, fee rates, transaction history. Activates on balance, holdings, PnL queries or reports.
npx claudepluginhub crypto-com/cdcx-cli --plugin cdcx-cliThis skill uses the workspace's default tool permissions.
- User asks "what's my balance" / "what do I hold" / "how much PnL"
Analyzes Kraken crypto portfolios using kraken CLI: fetches balances/prices for valuation/P&L, trade history/ledgers, fees/volume tiers, exports reports.
Queries OKX exchange account balances, positions, P&L, transaction history, fees, withdrawable amounts; manages fund transfers and position modes via okx CLI. Requires API credentials.
Queries Kraken crypto exchange account via kraken_cli.py wrapper for portfolio summaries, net worth, holdings, staking rewards, market data, orders, and trades.
Share bugs, ideas, or general feedback.
Requires authentication (CDCX_API_KEY/CDCX_API_SECRET or a configured profile).
| Tool | Purpose | Tier |
|---|---|---|
| cdcx_account_summary | Wallet balances (cash per currency) | sensitive_read |
| cdcx_account_balance_history | Historical balance snapshots | sensitive_read |
| cdcx_account_positions | Open positions with unrealized P&L | sensitive_read |
| cdcx_account_info | Master account + sub-accounts | sensitive_read |
| cdcx_account_subaccount_balances | Per-sub-account balances | sensitive_read |
| cdcx_trade_fee_rate | Account fee tier | sensitive_read |
| cdcx_trade_instrument_fee_rate | Instrument-specific fee rate | sensitive_read |
| cdcx_account_orders | Historical orders | sensitive_read |
| cdcx_account_trades | Historical fills | sensitive_read |
| cdcx_account_transactions | All transactions (fills, funding, etc) | sensitive_read |
| cdcx_market_ticker | Mark prices for P&L valuation | read |
Note: MCP tool names beginning with cdcx_account_orders/cdcx_account_trades/cdcx_account_transactions correspond to the history schema group which the account MCP service group also exposes.
cdcx account summary -o json
Returns per-currency balance with balance, available, reserved_qty, collateral_amount.
# 1. Cash
cdcx account summary -o json
# 2. Open positions (derivatives + margin)
cdcx account positions -o json
# 3. Mark prices for valuation
cdcx market ticker -o json
Combine: total equity = cash + Σ (position size × mark price) + Σ unrealized P&L. Break down by instrument; call out largest winners/losers.
cdcx account positions BTCUSD-PERP -o json
cdcx history orders BTC_USDT --limit 50 -o json
cdcx history trades BTC_USDT --limit 50 -o json
cdcx history transactions --limit 100 -o json
Time windows via --start-time / --end-time (ms since epoch).
cdcx trade fee-rate -o json # Account tier
cdcx trade instrument-fee-rate --instrument-name BTC_USDT -o json
Note: fee-rate commands live under trade, not account.
cdcx account info -o json # List master + sub-accounts
cdcx account subaccount-balances -o json # Balances per sub-account
cdcx account subaccount-transfer \
--from <sub_uuid_a> --to <sub_uuid_b> \
--currency USDT --amount 1000 # Transfer (mutate)
subaccount-transfer is tier mutate — requires acknowledged=true in MCP mode.
cdcx account balance-history --timeframe D1 -o json
Returns daily snapshots for building an equity curve chart.
account summary shows cash; account positions shows open derivatives/margin positions — both are needed for a full equity viewsubaccount-transfer moves real funds — treat as a mutatetrade group by the upstream API; don't expect them under account