CAT
/Skills
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Crypto Com Exchange

crypto-com/crypto-agent-trading
123 installs9 stars
Summary

This is a comprehensive wrapper for Crypto.com's spot trading API with 50+ endpoints covering everything from basic market data to advanced order types like OCO and OTOCO. You get both public endpoints (tickers, order books, candlesticks) and authenticated private ones (trading, balance management, withdrawals, sub-account transfers). The authentication requires API keys, and it supports both production and UAT sandbox environments. It's thorough but you'll need to understand the platform's quirks, like case-sensitive instrument names (BTC_USD works, btc_usd doesn't) and specific parameter formats. Good choice if you're building serious trading automation on Crypto.com Exchange rather than just pulling basic price data.

Install to Claude Code

npx -y skills add crypto-com/crypto-agent-trading --skill crypto-com-exchange --agent claude-code

Installs into .claude/skills of the current project.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Files
SKILL.mdView on GitHub

Crypto.com Exchange Skill

Trade on Crypto.com Exchange using the cdcx CLI. Covers spot, derivatives, advanced orders, portfolio, and wallet operations.

Prerequisites

  1. Install: npx @cryptocom/cdcx-cli@latest or see references/install.md
  2. Authenticate: run cdcx auth login --oauth — opens browser for OAuth, no manual key entry needed
  3. Verify: cdcx account summary -o json

If cdcx account summary fails with "No credentials found", immediately execute cdcx auth login --oauth via Bash (with ~120s timeout for browser callback).

Capabilities

DomainCLI GroupWhat It Does
Market Datacdcx marketPrices, orderbook, candles, trades, instruments — no auth needed
Order Executioncdcx tradePlace/amend/cancel LIMIT and MARKET orders
Advanced Orderscdcx advancedOCO, OTO, OTOCO bracket orders with trigger logic
Portfoliocdcx accountBalances, positions, sub-accounts, P&L
Historycdcx historyOrder history, fills, transactions
Walletcdcx walletDeposits, withdrawals, network info
Margincdcx marginIsolated margin transfers, leverage
Stakingcdcx stakingStake/unstake, conversion, reward history
Fiatcdcx fiatFiat deposit/withdrawal, bank accounts
Paper Tradingcdcx paperLocal simulation with live prices, no auth
Streamingcdcx streamReal-time WebSocket data (NDJSON)

Safety Model

Every command has a safety tier. The CLI enforces these automatically:

TierBehaviorExamples
readRuns freelycdcx market ticker, cdcx market book
sensitive_readRuns freely (auth required)cdcx account summary, cdcx trade open-orders
mutateRequires --yes or MCP acknowledged=truecdcx trade order, cdcx trade amend
dangerousRequires --allow-dangerous on MCP servercdcx trade cancel-all, cdcx wallet withdraw

Always use --dry-run before live orders to preview the request.

Quick Start

Check Balance

cdcx account summary -o json

Get Market Price

cdcx market ticker BTC_USDT -o json

Place a Limit Order

# Preview first
cdcx trade order BUY BTC_USDT 0.01 --type LIMIT --price 50000 --dry-run -o json

# Execute
cdcx trade order BUY BTC_USDT 0.01 --type LIMIT --price 50000 --client-oid my-buy-001 -o json

Place a Market Order

cdcx trade order BUY BTC_USDT 0.01 --type MARKET -o json

Cancel an Order

cdcx trade cancel --order-id 123456789 -o json
cdcx trade cancel --client-oid my-buy-001 -o json

Amend an Order

cdcx trade amend --order-id 123456789 --new-price 51000 --new-quantity 0.01 -o json

Both --new-price and --new-quantity are required — re-submit the original value for the field you don't want to change.

Market Data (No Auth)

cdcx market ticker BTC_USDT -o json          # Current price
cdcx market ticker -o json                    # All instruments
cdcx market book BTC_USDT --depth 10 -o json  # Orderbook
cdcx market candlestick BTC_USDT --timeframe 1h --count 24 -o json  # OHLCV
cdcx market trades BTC_USDT -o json           # Recent prints
cdcx market instruments -o json               # All tradable pairs + tick sizes

Supported timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 6h, 12h, 1D, 7D, 14D, 1M

Streaming (real-time)

cdcx stream ticker BTC_USDT ETH_USDT   # NDJSON to stdout
cdcx stream book BTC_USDT
cdcx stream trades BTC_USDT

Order Execution

Positional args: <side> <instrument> <quantity>. Side is BUY or SELL.

# Limit order
cdcx trade order BUY BTC_USDT 0.01 --type LIMIT --price 50000 -o json

# Market order (buy by notional)
cdcx trade order BUY BTC_USDT --type MARKET --notional 500 -o json

# Batch (up to 10)
cdcx trade order-list --order-list '[
    {"instrument_name":"BTC_USDT","side":"BUY","type":"LIMIT","price":"49000","quantity":"0.01"},
    {"instrument_name":"BTC_USDT","side":"BUY","type":"LIMIT","price":"48000","quantity":"0.01"}
]' -o json

# List open orders
cdcx trade open-orders BTC_USDT -o json

# Close a position
cdcx trade close-position BTCUSD-PERP --type MARKET -o json

Order Options

FlagPurpose
--typeLIMIT or MARKET
--priceLimit price (string)
--notionalSpend amount in quote currency (MARKET BUY)
--client-oidYour correlation ID (max 36 chars)
--time-in-forceGOOD_TILL_CANCEL, FILL_OR_KILL, IMMEDIATE_OR_CANCEL
--exec-instPOST_ONLY, SMART_POST_ONLY, REDUCE_ONLY, ISOLATED_MARGIN
--dry-runPreview without executing

Advanced Orders (OCO / OTO / OTOCO)

OTOCO Bracket (entry + stop-loss + take-profit)

cdcx advanced create-otoco '[
    {"instrument_name":"BTC_USDT","side":"BUY","type":"LIMIT","price":"50000","quantity":"0.01"},
    {"instrument_name":"BTC_USDT","side":"SELL","type":"STOP_LOSS","trigger_price":"48000","quantity":"0.01","ref_price_type":"MARK_PRICE"},
    {"instrument_name":"BTC_USDT","side":"SELL","type":"TAKE_PROFIT","trigger_price":"55000","quantity":"0.01","ref_price_type":"MARK_PRICE"}
]' --dry-run -o json

OTO (entry + protection)

cdcx advanced create-oto '[
    {"instrument_name":"BTC_USDT","side":"BUY","type":"LIMIT","price":"50000","quantity":"0.01"},
    {"instrument_name":"BTC_USDT","side":"SELL","type":"STOP_LOSS","trigger_price":"48000","quantity":"0.01","ref_price_type":"MARK_PRICE"}
]' -o json

OCO (two-sided exit for existing position)

cdcx advanced oco '[
    {"instrument_name":"BTC_USDT","side":"SELL","type":"LIMIT","price":"55000","quantity":"0.01"},
    {"instrument_name":"BTC_USDT","side":"SELL","type":"STOP_LOSS","trigger_price":"48000","quantity":"0.01","ref_price_type":"MARK_PRICE"}
]' -o json

Single Trigger Order

cdcx advanced order BTCUSD-PERP --side SELL --type STOP_LOSS --quantity 0.01 --trigger-price 48000 --ref-price-type MARK_PRICE -o json

Manage Advanced Orders

cdcx advanced open-orders BTC_USDT -o json
cdcx advanced order-detail --order-id <id> -o json
cdcx advanced cancel-otoco --list-id <list_id> -o json
cdcx advanced cancel-oco --list-id <list_id> -o json
cdcx advanced cancel-oto --list-id <list_id> -o json

Portfolio & Account

cdcx account summary -o json                # Cash balances
cdcx account positions -o json              # Open positions + unrealized P&L
cdcx account info -o json                   # Master + sub-accounts
cdcx account subaccount-balances -o json    # Per-sub-account
cdcx account balance-history --timeframe D1 -o json  # Equity curve

# Fee rates
cdcx trade fee-rate -o json
cdcx trade instrument-fee-rate --instrument-name BTC_USDT -o json

# History
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

Wallet Operations

# Deposit
cdcx wallet networks -o json                        # Supported networks
cdcx wallet deposit-address BTC -o json             # Get address
cdcx wallet deposit-history -o json                 # Track arrivals

# Withdraw (dangerous tier)
cdcx wallet withdraw BTC 0.1 <ADDRESS> --network-id BITCOIN --dry-run -o json
cdcx wallet withdraw BTC 0.1 <ADDRESS> --network-id BITCOIN --client-wid my-wd-001 -o json
cdcx wallet withdrawal-history -o json

Withdrawals require whitelisted addresses (configured in Exchange web GUI).

Isolated Margin

For instruments that require isolated margin (e.g. SPYUSD-PERP, NVDAUSD-PERP):

cdcx trade order BUY SPYUSD-PERP 0.001 --type LIMIT --price 710.25 --exec-inst ISOLATED_MARGIN -o json

# Fund/withdraw margin
cdcx margin transfer --direction IN --amount 100 <ISOLATION_ID>
cdcx margin transfer --direction OUT --amount 50 <ISOLATION_ID>

# Adjust leverage
cdcx margin leverage --leverage 5 <ISOLATION_ID>

Get isolation_id from cdcx account positions -o json.

Paper Trading (No Auth)

cdcx paper init --balance 50000
cdcx paper buy BTC_USDT --quantity 0.01 -o json
cdcx paper sell BTC_USDT --quantity 0.01 -o json
cdcx paper positions -o json
cdcx paper balance -o json
cdcx paper history -o json
cdcx paper reset --balance 100000

Recipes

Morning Brief

cdcx market ticker -o json                          # Market snapshot
cdcx account summary -o json                        # Cash
cdcx account positions -o json                      # Open positions
cdcx trade open-orders -o json                      # Pending orders
cdcx advanced open-orders -o json                   # Advanced orders
cdcx history trades --start-time $(date -v-1d +%s)000 -o json  # Yesterday's fills

Emergency Flatten

Requires explicit user CONFIRM before execution — this cancels all orders and closes all positions at market.

cdcx trade cancel-all --yes -o json                 # Cancel all orders
cdcx advanced cancel-all --yes -o json              # Cancel all advanced
cdcx account positions -o json | \
    jq -r '.data[].instrument_name' | \
    while read i; do cdcx trade close-position "$i" --type MARKET --yes; done
cdcx account positions -o json                      # Verify flat

Important Notes

  • Instrument names are case-sensitive: BTC_USDT not btc_usd. Spot uses _ (e.g. BTC_USDT), perps use -PERP (e.g. BTC-PERP)
  • Prices in the API are strings — cast to float/decimal before arithmetic
  • c in ticker response is a ratio, not percentage: 0.0257 means +2.57%
  • Always supply --client-oid for order correlation
  • close-position is async — verify with cdcx account positions afterwards
  • Advanced orders live in their own namespace — not visible in cdcx trade open-orders
  • Batch max is 10 orders per call
  • OTOCO structure: Leg 1 = entry LIMIT, Leg 2 = stop-loss trigger, Leg 3 = take-profit trigger
  • OTO second leg must be a trigger type (STOP_LOSS, STOP_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT)
  • get-open-orders has no pagination — returns ALL open orders
  • Withdrawal amount is gross (fee deducted from it)
  • For memo coins (XRP, XLM, EOS), always include --address-tag

Agent Behavior

  1. Always --dry-run before live orders on new strategies
  2. Confirm with user before any mutate tier action in production — ask for "CONFIRM"
  3. Never display full API secrets — mask credentials (first 5 + last 4 for key, last 5 only for secret)
  4. Default to --output json for programmatic consumption
  5. Use cdcx market instruments to verify tick sizes before placing orders
  6. Check cdcx account summary for available balance before order placement
  7. For streaming data, prefer cdcx stream over polling
Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Categories
AI & Agent BuildingFinance & Trading
First SeenJun 3, 2026
View on GitHub

Recommended

More AI & Agent Building →
agent-memory-mcp

sickn33/antigravity-awesome-skills

agent memory mcp
954
39.4k
agent-memory-mcp

davila7/claude-code-templates

agent memory mcp
521
27.7k
llm-application-dev-langchain-agent

sickn33/antigravity-awesome-skills

llm application dev langchain agent
306
39.4k
llm-application-dev

moizibnyousaf/ai-agent-skills

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
1.1k
ai-prompt-engineering-safety-review

github/awesome-copilot

Comprehensive safety analysis and improvement framework for AI prompts with detailed assessment methodologies.
9.4k
34.3k
emblem-ai-prompt-examples

emblemcompany/agent-skills

emblem ai prompt examples
8.7k
10