一键导入
cdcx-autonomy-levels
Progressive agent autonomy — from read-only to fully autonomous. Pick the lowest level that gets the job done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Progressive agent autonomy — from read-only to fully autonomous. Pick the lowest level that gets the job done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Advanced contingency orders — OCO, OTO, OTOCO. Triggered orders with linked cancellation logic.
Credential and profile management — configure API keys via the setup wizard, environment variables, or config file. Resolution order and troubleshooting.
Verify credentials and inspect account balance — the first action an agent takes before trading.
Order placement and management — place, amend, cancel, close-position. Safety-first with dry-run and preflight checks.
Trade instruments that require isolated margin (e.g. RWA/equity perpetuals like SPYUSD-PERP). Covers the create-order flag, funding transfers, leverage adjustment, and the TUI M toggle.
Fetch and analyze market data — prices, orderbook depth, candles, recent trades
| name | cdcx-autonomy-levels |
| description | Progressive agent autonomy — from read-only to fully autonomous. Pick the lowest level that gets the job done. |
Agents should operate at the lowest autonomy level that accomplishes their task. Each level upward trades human oversight for agent independence.
Every cdcx MCP tool is classified into one of four tiers:
| Tier | Agent Behaviour | Example |
|---|---|---|
read | Runs freely, no acknowledgement | cdcx_market_ticker |
sensitive_read | Runs freely, no acknowledgement | cdcx_account_summary |
mutate | Requires acknowledged: true in tool arguments | cdcx_trade_order |
dangerous | Refused unless server was started --allow-dangerous | cdcx_trade_cancel_all, cdcx_funding_withdraw |
Agent can observe the market but cannot touch the account.
cdcx mcp config --reset # ensures only market is enabled
Use for: market research agents, price alerts, chart commentary.
Agent can read live market data plus read authenticated account info; any actual trading is paper-only and handled CLI-side (not via MCP).
cdcx mcp config --enable account
Pair the MCP server with shell access to cdcx paper for simulated execution. Paper has no MCP tools; execution stays outside the agent's tool surface.
Use for: strategy research with real account context, backtest harnesses.
Agent can place and cancel real orders, but every mutation requires explicit acknowledgement from the host application (human-in-the-loop).
cdcx mcp config --enable account,trade,advanced
The agent calls cdcx_trade_order; the host MUST echo the intent to the human and only pass acknowledged: true once approved. Dangerous tools (cancel-all, withdraw) are refused at the server since allow_dangerous is not set.
Use for: semi-automated trading with human oversight, production with guardrails.
Agent executes anything without per-call confirmation. Dangerous tier is available.
cdcx mcp config --enable account,trade,advanced,funding
cdcx mcp config --allow-dangerous
Even at level 3, mutate tools still require acknowledged: true in the tool arguments — but an autonomous agent will pass it automatically without a human prompt. --allow-dangerous additionally unlocks cancel-all and withdrawals.
Use for: fully automated strategies with external risk controls (position limits, drawdown circuit breakers, monitoring alerts). Rare in production.
| From → To | Requirement |
|---|---|
| 0 → 1 | Agent correctly interprets market data, no hallucinated instruments |
| 1 → 2 | Strategy is profitable or sound on paper; agent handles API errors gracefully |
| 2 → 3 | Agent has operated supervised without unexpected actions for a meaningful period |
Valid MCP service groups: market, account, trade, advanced, margin, staking, funding, fiat, otc, stream.
account also exposes history (orders/trades/transactions)funding maps to the wallet CLI group (deposit/withdraw/networks)paper is not an MCP group — paper trading is CLI-onlycdcx mcp config --enable all is a shortcut to enable everythingfunding withdraw) should only be unlocked at Level 3 and only with --allow-dangerous; they are the highest-risk action availableallow_dangerous only affects the dangerous tier. Mutate tools always need acknowledged: true regardless