cdcx-execution

A trading-order tool for placing, changing, cancelling, and closing cryptocurrency or other market positions through cdcx.

In plain words
What is it for?
Use it to place market or limit orders, amend prices or quantities, cancel open orders, cancel all orders with special permission, or close a derivatives position.
Why use it?
It adds previews, confirmations, authentication checks, and extra protection around actions that can change real orders or positions.

Skill for Claude CodeCodex

Part of the cdcx-cli plugin — 13 skills, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/crypto-com/cdcx-cli/cdcx-execution
Any agent
npx skills add crypto-com/cdcx-cli --skill cdcx-execution
Clone the repo
git clone --depth 1 https://github.com/crypto-com/cdcx-cli

Made for: Claude Code, Codex.

Or install cdcx-cli, the plugin that ships this one along with the rest of its 13 skills, 1 MCP server.

Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00029 $0.01173
Opus 5 $0.00015 $0.00587
Sonnet 5 $0.00006 $0.00235
Haiku 4.5 $0.00003 $0.00117

Measured 3d ago against content hash c0312b1d0bf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cdcx-execution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cdcx-cli/skills/cdcx-execution/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Order Execution

When to Use

  • Place a LIMIT or MARKET order
  • Amend price or quantity of a live order
  • Cancel one or many open orders
  • Close an open derivatives position
  • Batch order placement

Requires authentication.

Safety Model

Every order command lives in one of two tiers:

Tier Commands Behaviour
mutate order, amend, cancel, order-list, cancel-list, close-position Requires acknowledged=true in MCP mode; CLI prompts unless --yes
dangerous cancel-all Requires --allow-dangerous on the MCP server

Always use --dry-run first to preview the request body.

Tools Used

Tool Purpose Tier
cdcx_trade_order Place a new BUY or SELL mutate
cdcx_trade_amend Amend price/quantity of open order mutate
cdcx_trade_cancel Cancel a single order mutate
cdcx_trade_cancel_all Cancel every order dangerous
cdcx_trade_order_list Place up to 10 orders in one call mutate
cdcx_trade_cancel_list Cancel up to 10 orders in one call mutate
cdcx_trade_close_position Close an open position (async) mutate
cdcx_trade_open_orders List open orders sensitive_read
cdcx_trade_order_detail Lookup by order_id or client_oid sensitive_read

Workflow

Place a Limit Order (preferred path)

# 1. Preflight — verify funds and current price
cdcx account summary -o json
cdcx market ticker BTC_USDT -o json

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

# 3. Place
cdcx trade order BUY BTC_USDT 0.01 \
    --type LIMIT --price 50000 \
    --client-oid my-buy-001 \
    -o json

# 4. Confirm
cdcx trade order-detail --client-oid my-buy-001 -o json

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 140 lines · 29 tokens per session scan A c0312b1d0bf1

Subscribe to this mod's changes

cdcx-execution is a skill published in the GitHub repository crypto-com/cdcx-cli (25 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 1,173 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

copy-trading-solana

Copy trade Solana wallets - mirror trades automatically.

alsk1992/CloddsBot · 15 tokens

southwest

Search Southwest Airlines fares and points pricing via Patchright browser automation. SW is not in any GDS or API. Covers all fare classes, Companion Pass value, and fare drop monitoring.

borski/travel-hacking-toolkit · 40 tokens

alpaca-trade-api-sdk

Integrate and build on the @alpacahq/alpaca-trade-api TypeScript SDK for the Alpaca Trading and Market Data APIs (the unified Alpaca client, ergonomic order builders, normalized market-data shapes, pagination, typed errors, resilience, and real-time streaming). Use when writing or reviewing code that imports…

alpacahq/alpaca-trade-api-js · 123 tokens

alphagbm-greeks

Greeks dashboard for any option contract or multi-leg position. Covers first-order Greeks (Delta, Gamma, Theta, Vega, Rho) and second-order Greeks (Charm, Vanna, Volga). Returns individual and position-level Greeks with scenario heatmaps. Use when: checking option sensitivities, managing position risk, understanding…

AlphaGBM/skills · 128 tokens