From cdcx-cli
Configures cdcx CLI API credentials and profiles via interactive wizard, env vars, or TOML config file. Covers resolution order, verification, and troubleshooting auth issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cdcx-cli:cdcx-auth-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- First-time cdcx setup
cdcx resolves credentials in this order (first match wins):
--api-key / --api-secret command-line flagsCDCX_API_KEY / CDCX_API_SECRET environment variables (preferred prefix)CDC_API_KEY / CDC_API_SECRET environment variables (legacy prefix)~/.config/cdcx/config.toml profile (default profile, or --profile <name>)cdcx setup
Prompts for API key, secret, and profile name. Writes ~/.config/cdcx/config.toml with mode 600. Handles migration from the legacy CDC_ variables.
export CDCX_API_KEY="your-key"
export CDCX_API_SECRET="your-secret"
cdcx account summary -o json
Prefer this for CI or containers where you don't want a config file on disk.
~/.config/cdcx/config.toml:
[profiles.default]
api_key = "your-key"
api_secret = "your-secret"
[profiles.uat]
api_key = "uat-key"
api_secret = "uat-secret"
env = "uat"
Must be mode 600 — cdcx refuses to read world-readable credential files.
cdcx --profile uat account summary # Use UAT profile
cdcx --profile default account summary # Explicit default
CDCX_PROFILE=uat cdcx account summary # Env var alternative
Valid --env values: production (default), uat.
cdcx --env uat market ticker BTC_USDT
cdcx --env production account summary
--env is independent of --profile. You can override either or both per call.
# Public call (no auth)
cdcx market ticker BTC_USDT -o json
# Auth check
cdcx account summary -o json
# Verbose — shows which profile / env resolved
cdcx --verbose account summary
| Symptom | Cause | Fix |
|---|---|---|
| "No credentials found" | No flags, env vars, or config profile | Run cdcx setup or export CDCX_API_KEY/CDCX_API_SECRET |
| HTTP 401 / signature invalid | Wrong key/secret or clock skew | Re-run cdcx setup; ensure system clock is within a few seconds of UTC |
| "Permission denied" on config | File mode not 600 | chmod 600 ~/.config/cdcx/config.toml or re-run cdcx setup (auto-fixes) |
| UAT calls hitting production | --env not set on the profile | Add env = "uat" to the profile or pass --env uat |
| "Withdrawal not enabled" | API key lacks withdrawal permission | Re-issue the key with withdrawal permission in the Exchange web GUI |
cdcx output or logs. Verbose mode only confirms which profile was resolved~/.config/cdcx/config.toml to version control; it is explicitly not git-trackednpx claudepluginhub crypto-com/cdcx-cli --plugin cdcx-cliConfigures Revolut X CLI: installs CLI tool, generates Ed25519 keypair, registers public key, sets API key, and handles authentication errors.
Verifies trading account credentials and retrieves balance summaries via cdcx CLI, including total available USDT for gating trades before execution.
Installs kraken-cli via brew/cargo/binary, sets up paper trading with simulated balances, and configures secure API credentials for live Kraken trading.