En

agent-trade-kit

A localized trading toolkit that connects AI assistants with the OKX exchange.

Install & Use

Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:

Help me install this AI Skill: agent-trade-kit.
It is used for: A localized trading toolkit that connects AI assistants with the OKX exchange.
Full Skill content: https://321skill.com/skills/agent-trade-kit/raw/index.md
Read that page and install it.

The prompt includes a link to the full Skill content. You can also view the full content.

The OKX Agent Trade Kit addresses the operational disconnect between AI assistants and cryptocurrency exchanges. Instead of constantly switching between an AI chat interface and the exchange's web page, users can simply describe their trading intent in natural language. The AI can then directly execute operations via OKX APIs using this toolkit, delivering a 'think-it-and-get-it' trading experience.

This toolkit runs as a local process and connects to MCP-compatible AI clients like Claude Desktop and Cursor via the Model Context Protocol (MCP). It consists of two independent packages: okx-trade-mcp serves as the MCP server for AI invocation, while okx-trade-cli provides a command-line interface (CLI) for direct terminal operations. All API keys are stored only on the user's local device, with no cloud services involved, ensuring data security.

It is particularly suitable for quantitative traders, agent developers, and cryptocurrency investors looking to automate or assist their trading workflows with AI. For users requiring high-frequency, multi-strategy, or complex conditional trade execution, this toolkit can significantly enhance decision-making and operational efficiency.

Before use, you must generate and securely store API keys on the OKX official website. It is recommended to enable the --read-only flag for initial functional testing. Familiarize yourself with the tool before proceeding to live trading. Please note that the tool itself does not provide investment advice, and users bear all risks associated with their trading decisions.

Key Features

Its core differentiator lies in providing 145 tools covering the entire OKX trading lifecycle, with native support for advanced algorithmic order features such as conditional orders, OCO (One-Cancels-the-Other), and trailing stop orders. It also ensures security through strict local execution and permission controls (e.g., read-only mode, module filtering), which many similar tools offering only basic query functions lack.

Limitations

This tool is not suitable for purely UI-interactive users who have no programming or command-line experience and are unwilling to configure an MCP environment.

FAQ

Is this tool safe to use? Will my API keys be leaked?

Yes, it is safe. The tool runs entirely locally. Your API keys are stored only on your computer and are never sent to any third-party servers.

Which AI software is supported?

It supports all clients compatible with the MCP protocol, such as Claude Desktop, Cursor, and Windsurf.

Installation guide for AI assistants

If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:

Visit https://321skill.com/skills/agent-trade-kit/raw/index.md to read the original Skill definition (Markdown format) for agent-trade-kit, and install it according to the instructions.