Skip to content
Docs Worker, CLI & skill
Tech

Worker, CLI and agent skill

Run the same engines headless, from a terminal, or from an AI agent.

Headless worker

The worker runs grids and the Shield without a browser. Keys come from the environment, state is saved to a file, and on restart it backfills missed fills and reconciles open orders.

shell
export STRIKE_API_PUBLIC_KEY=...
export STRIKE_API_PRIVATE_KEY=...
npm run worker
curl localhost:8787/          # status
curl -X POST localhost:8787/panic

Command line

shell
npm run cli -- plan ADA-USD --lower 0.21 --upper 0.235 --levels 12 --margin 200 --leverage 5
npm run cli -- backtest ADA-USD --days 7
npm run cli -- smart-range ADA-USD
npm run cli -- status

Agent skill

skills/vektor-grid/SKILL.md teaches an AI coding agent (Claude Code, Cursor and similar) to plan, backtest and deploy grids through the CLI. Copy it into the agent's skills folder.