From cdcx-cli
Generates morning market and portfolio briefing report with top movers, prices, positions, P&L, overnight orders using CDCX CLI and jq. For daily trading status checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cdcx-cli:recipe-morning-briefThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Start-of-day status check
Requires authentication for the portfolio half. The market half is public.
# --- Market half (public) ---
# 1. Market-wide snapshot
cdcx market ticker -o json > /tmp/cdcx-tickers.json
# 2. Top movers: pick N largest |change_24h|
jq '.data[] | {i:.i, last:.a, chg:(.c|tonumber)}' /tmp/cdcx-tickers.json | \
jq -s 'sort_by(-(.chg|fabs)) | .[0:10]'
# --- Portfolio half (auth) ---
# 3. Cash balances
cdcx account summary -o json
# 4. Open positions + unrealized P&L
cdcx account positions -o json
# 5. Open orders left from overnight
cdcx trade open-orders -o json
cdcx advanced open-orders -o json
# 6. Yesterday's realized activity
cdcx history trades --start-time $(date -v-1d +%s)000 -o json
cdcx history transactions --start-time $(date -v-1d +%s)000 -o json
# 7. Equity curve snapshot
cdcx account balance-history --timeframe D1 -o json
(Note: date -v-1d is BSD/macOS. On GNU coreutils use date -d '1 day ago' +%s.)
Combine the above into a text briefing:
=== CDCX Morning Brief — $(date +%Y-%m-%d) ===
TOP MOVERS
BTC_USDT +3.2% @ 51,250
ETH_USDT +2.1% @ 2,820
SOL_USDT -4.5% @ 141
PORTFOLIO
Cash: 12,450 USDT
Positions: 3 open (BTC_USDT long, ETH_USDT long, SOL_USDT short)
Unrealized P&L: +245 USDT
OVERNIGHT ORDERS
2 open limit orders on BTC_USDT
1 OTOCO bracket on ETH_USDT
YESTERDAY
4 fills, 850 USDT realized P&L
cdcx account balance-history is useful for charting equity curves over timec field in ticker is a 24h change ratio (multiply by 100 for percent)history trades and history transactions take --start-time / --end-time as milliseconds-since-epochcdcx advanced open-orders or they'll be missednpx claudepluginhub crypto-com/cdcx-cli --plugin cdcx-cliGenerates concise morning market summary with Kraken prices, volumes, 24h OHLC changes, portfolio balances, open orders, futures P&L, and earn allocations via 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.
Summarizes daily risk — open positions, total exposure, realized/unrealized P&L, and panic-cooldown status. Flags daily loss limit warnings.