adbertram

cryptocom-cli

Use this skill for service operations only. DO NOT use this skill for CLI implementation lifecycle work such as creating, testing, updating, troubleshooting, validating, removing, or documenting the CLI tool itself; delegate those tasks to cli-tool-expert. MANDATORY: Use this skill to execute Crypto.com Exchange operations using the `cryptocom` CLI tool. Crypto.com Exchange API CLI. Triggers: cryptocom, cryptocom cli, Crypto.com Exchange, crypto.com exchange api, crypto.com market data, crypto.com balances, crypto.com positions, crypto.com open orders, BTCUSD-PERP ticker, Exchange API profiles

adbertram 6 Updated 1mo ago

Resources

1
GitHub

Install

npx skillscat add adbertram/cli-tools/cryptocom-cli

Install via the SkillsCat registry.

SKILL.md
Execute Crypto.com Exchange operations using the `cryptocom` CLI. All Crypto.com Exchange interactions should use this CLI. The `cryptocom` CLI follows this pattern: ```bash cryptocom [arguments] [options] ```
Command Purpose
cryptocom instruments list --limit 5 List available Exchange instruments
cryptocom ticker get BTCUSD-PERP Get ticker data for one instrument
cryptocom book get BTCUSD-PERP --depth 10 Get an order book snapshot
cryptocom trades list BTCUSD-PERP --limit 10 List recent public trades
cryptocom candlesticks list BTCUSD-PERP --timeframe 1m --limit 10 List OHLCV candles
cryptocom orders details --client-oid CLIENT_ORDER_ID Reconcile an order by persisted client ID
cryptocom orders history --limit 100 Read one terminal order-history page
cryptocom account fee-rate Get account fee rates in basis points
cryptocom account instrument-fee-rate SOL_USD Get effective instrument fee rates in basis points
cryptocom account fills --limit 100 Read one private trade-fill page
cryptocom account balance Get authenticated account balances
cryptocom account positions List positive non-USD spot holdings with quantity and market value
cryptocom account open-orders --instrument-name BTCUSD-PERP List authenticated open orders
cryptocom auth profiles list List auth profiles
</quick_start>
**MANDATORY: Consult the adjacent `usage.json` at `/_repo/skills/-cli/usage.json` before executing ANY `cryptocom` command.** This file contains complete command syntax, all arguments, all options, and usage instructions for every command. Never guess at command syntax. - **account**: authenticated balances, positive non-USD spot positions, open orders, fee rates, and private fills - **orders**: create, cancel, open-order list, details by venue/client ID, and terminal history - **book**: order book instrument discovery and snapshots - **candlesticks**: OHLCV candle lists and recent candle lookup - **instruments**: Exchange instrument discovery and metadata - **ticker**: ticker lists and single-instrument ticker data - **trades**: recent public trade lists and trade lookup - **auth**: API key/secret login, status, logout, testing, and profiles - **cache**: cache maintenance Public market-data commands use `no_auth`. Private `account` commands require `cryptocom auth login` with Exchange `API_KEY` and `API_SECRET`; use `cryptocom auth profiles` for sandbox or alternate profile workflows. Persist client IDs before submitting orders. Create/cancel transport calls never retry automatically. Lookup accepts exactly one venue ID or client ID. History/fills are single pages with at most 100 rows; use explicit time windows and never infer completeness from a full page or filtered page. Fee rates use basis points (divide by 10,000); private fill fees preserve negative balance deductions. A cancellation acknowledgement is not proof of terminal order status. **`usage.json`** — Complete command tree with arguments, options, defaults, and usage instructions for every command. </reference_index> - Command executes without error - Output is displayed in requested format - Correct command and flags used, verified against usage.json </success_criteria>