AGENT SKILL

ac-trading-agent-desk

Governs the design, security, and operational boundaries of an AI agent trading desk. Defines the absolute division between deterministic code (ingest, watermarks, risk gates, order plumbing) and probabilistic LLM agents (news extraction, regime labelling, memo drafting with spot audits and n-thresholds). Enforces the trifecta security invariant (disjoint sandboxes separating untrusted content, credentials, and egress), addresses structural regime blindness (Aldridge 2026, arXiv 2611.01799) and herd amplification dynamics, establishes phone-class batch cadence constraints, and details failure mode mitigations. Use when asking 'AI agent trading desk', 'should an agent trade', 'agent risk gate', 'LLM trading bot', 'agent sandbox', 'can agents manage my book'. Not for generic multi-agent orchestration (ac-multi-agent-orchestration), not for the trade record or risk budget (ac-crypto-trading-discipline), not for liquidation hunt analysis (ac-liquidation-hunt-analysis).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 81
Forks
17

01 前言 Front Matter

name
ac-trading-agent-desk
status
seedling
license
MIT
metadata
{ "domain": "crypto-trading" }
description
Governs the design, security, and operational boundaries of an AI agent trading desk. Defines the absolute division between deterministic code (ingest, watermarks, risk gates, order plumbing) and probabilistic LLM agents (news extraction, regime labelling, memo drafting with spot audits and n-thresholds). Enforces the trifecta security invariant (disjoint sandboxes separating untrusted content, credentials, and egress), addresses structural regime blindness (Aldridge 2026, arXiv 2611.01799) and herd amplification dynamics, establishes phone-class batch cadence constraints, and details failure mode mitigations. Use when asking 'AI agent trading desk', 'should an agent trade', 'agent risk gate', 'LLM trading bot', 'agent sandbox', 'can agents manage my book'. Not for generic multi-agent orchestration (ac-multi-agent-orchestration), not for the trade record or risk budget (ac-crypto-trading-discipline), not for liquidation hunt analysis (ac-liquidation-hunt-analysis).

02 资源文件 10

03 SKILL.md 正文

Trading Agent Desk

This skill provides the rigorous architectural, security, and operational standards required to govern an AI agent trading desk. It operationalizes verified findings from quantitative finance and secure systems engineering, establishing an uncompromisable boundary between deterministic risk controls and probabilistic agent tasks.

Primary sources for the claims here: https://doi.org/10.1016/j.sysconle.2023.105542 and https://doi.org/10.1016/j.jfi.2023.100982.

Subskills Index

Subskill File Domain Path Scope / Description
subskills/division-of-labour.md crypto-trading/division-of-labour Deterministic invariants versus agent-delegated tasks in a trading desk operation
subskills/verifiable-outputs.md crypto-trading/verifiable-outputs The verifiable-output contract, auditing protocols, and sample size constraints for agent tasks
subskills/sandbox-and-trifecta.md crypto-trading/sandbox-and-trifecta Disjoint sandboxes, the trifecta invariant, and tool absence over prompt wording for agent security
subskills/regime-blindness.md crypto-trading/regime-blindness Mathematical regime blindness, statistical identification limits, and exposure-based monitoring
subskills/herd-amplification.md crypto-trading/herd-amplification Agent-driven herd amplification, all-or-nothing participation, and market maker fragility
subskills/desk-cadence.md crypto-trading/desk-cadence Batch cadence, concurrency limits for phone-class hardware, queue discipline, and cost ledgers
subskills/agent-failure-modes.md crypto-trading/agent-failure-modes Failure modes, indirect injection, hallucination detection, silent tool failure, and emergency kill switches

Core Principles

  1. Deterministic Risk Invariants: All operations moving capital, enforcing leverage limits, managing watermarks, and executing orders are strictly deterministic and unbypassable by AI components.
  2. The Trifecta Security Invariant: Processing untrusted content, holding private credentials, and maintaining network egress are strictly partitioned into disjoint sandboxes.
  3. Verifiable Agent Workflows: LLM agents are restricted to text extraction, qualitative memo drafting, and regime labelling, backed by a 10% re-read check, explicit sample size ($n$) thresholds, and 3% to 5% continuous spot audits.
  4. Structural Regime Blindness: Acknowledging Aldridge's theorem (arXiv 2611.01799) that herd and arbitrage regimes share identical return distributions, focusing risk management on observable exposure rather than regime prediction.
  5. Phone-Class Operational Discipline: Operating within rigid batch cadences, concurrency caps ($\le 1$ dispatcher, $\le 2$ workers), and cost ledger tracking suited for resource-constrained environments.

Sources & References

04 同仓库更多 Skills

jiayaoqijia
jiayaoqijia/cryptoskill

troves

Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

trade

Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

staking

Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

send

Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

portfolio

View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

multi-swap

Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.

★ 81