cTrader skills for AI agents
Agent skills for cTrader by Spotware Systems Ltd. The skills give your AI agent the knowledge it needs to drive the cTrader MCP servers and the cTrader CLI: how to tell the Remote and the Local MCP server apart, the units each server uses, the checks before and after every order-changing call, recipes for common trading tasks, and the routes, output and exit codes of the CLI.
The skills hold instructions and helper scripts only. They do not set up a server or the CLI, so connect your agent to the Remote or the Local cTrader MCP server, or install the cTrader CLI, before you use them.
Prerequisites
Both skills bundle Python helper scripts. ctrader-mcp-servers bundles five under skills/ctrader-mcp-servers/scripts/ for precision-critical calculations (pip math, position sizing, conversion-rate chains, tiered-margin computation, units encoding). ctrader-cli bundles one under skills/ctrader-cli/scripts/ that finds the result in the captured output of a cTrader CLI command; the written rule it implements works without Python. The AI agent invokes a script as python3 <script> on macOS and Linux and as python <script> on Windows, or py <script> where python is not on PATH. These scripts use only the Python standard library, so they need no third-party packages.
- Python 3.11 or newer must be installed and available on
PATH (verify with python3 --version on macOS and Linux, or python --version on Windows).
- If your system does not have Python 3.11+, install it from https://www.python.org/downloads/ or use your OS package manager:
- macOS:
brew install [email protected]
- Debian and Ubuntu:
sudo apt install python3 installs the distribution's Python 3. Use it when python3 --version reports 3.11 or newer; otherwise install Python from python.org.
- Windows:
winget install Python.Python.3.12 or download from python.org
- Node.js for the
npx skills installation below. The skills CLI states the Node.js version it requires.
The AI agent invokes the bundled scripts on your behalf. You do not need to run them by hand.
Supported agents
The skills follow the Agent Skills format. You can install them with npx skills in any agent it supports, including Claude Code, Cursor, Windsurf, Codex, Cline and OpenCode. Claude Code can also install them as a plugin.
Install
Agents that read Agent Skills
Install with npx skills for the current project:
npx skills add spotware/ctrader-skills --skill '*' --yes
For all projects:
npx skills add spotware/ctrader-skills --skill '*' --yes --global
To install for one agent only, name it with --agent, for example Claude Code:
npx skills add spotware/ctrader-skills --agent claude-code --skill '*' --yes --global
Claude Code
Install the skills as a Claude Code plugin:
claude plugin marketplace add spotware/ctrader-skills
claude plugin install ctrader-skills@ctrader-skills
Install script (Claude Code and Deep Agents Code)
Clone the repository and run the bundled install script:
# Install for Claude Code in current directory (default)
./install.sh
# Install for Claude Code in a specific project directory
./install.sh ~/my-project
# Install for Claude Code globally
./install.sh --global
# Install for Deep Agents Code in a specific project directory
./install.sh --deepagents ~/my-project
# Install for Deep Agents Code globally
./install.sh --deepagents --global
The installer asks for confirmation before it copies anything; where no one can answer, as when an agent or a script runs it, pass --yes.
| Flag / Argument | Description |
|---|
DIRECTORY | Target project directory (default: current directory, ignored with --global) |
--claude | Install for Claude Code (default) |
--deepagents | Install for Deep Agents Code |
--global, -g | Install globally instead of current directory |
--force, -f | Overwrite skills with same names as this package |
--yes, -y | Skip confirmation prompts |
Usage
After the installation, start your agent in the directory where you installed the skills, or in any directory after a global installation. The agent finds the skills and applies them when you work with a cTrader MCP server or the cTrader CLI.