Skills for cTrader CLI¶
Skills help your AI agent understand how to work with cTrader CLI. They are published in the cTrader skills GitHub repository.
Note
Skills add instructions and reference files for the agent to read. They do not replace cTrader CLI setup.
Install skills¶
Open Windows PowerShell, or a terminal on macOS or Linux, and run:
npx skills add spotware/ctrader-skills --agent '*' --skill ctrader-cli --yes --global
Verify the installation¶
-
List the globally installed skills:
npx skills ls -g -
Confirm that
ctrader-cliappears in the output. The installer writes to disk, so if your agent is already running, restart it so that it can load the new skills. -
To check that the agent is using the skills, ask it to report your cTrader CLI version. The agent should run a read-only command:
ctrader-cli --version
Warning
Never use a trading command as your first test. Start with read-only commands such as --version, accounts or symbols.
Update skills¶
To update the installed skills later, run:
npx skills update ctrader-cli -g -y
If your agent is already running, restart it afterwards so that it reads the updated skills.
Note
Confirm any unfamiliar command against the CLI references before you run it.
Use skills safely¶
Skills improve how reliably an agent drives cTrader CLI, but they do not remove your responsibility for what runs against your account.
Warning
An AI agent can produce and execute commands that place, modify or close real trades.
- Review every command before you allow it to run.
- Authorise each state-changing action separately.
- Test trading workflows on a demo account before a live one.