OpenClaw skill for trading prediction markets on Kalshi.
This skill wraps kalshi-cli, a standalone CLI for browsing, searching, and trading on Kalshi from your terminal.
- kalshi-cli — the core CLI tool (required)
- Python 3.10+
- Kalshi API credentials (get them here)
npm install -g kalshi-climkdir -p ~/.kalshi
# Place your RSA private key at ~/.kalshi/private_key.pem
# Set your access key
echo 'KALSHI_ACCESS_KEY=your_access_key_id' > ~/.kalshi/.envOr run kalshi setup-shell to export the access key to your shell config automatically.
kalshi search soccer # find soccer markets
kalshi series -e # browse series sorted by expiry
kalshi detail KXSB-26 # market details
kalshi buy KXSB-26 10 68 # buy 10 YES contracts at 68¢
kalshi balance # check balanceSee kalshi-cli for full command reference and documentation.
This skill is designed for OpenClaw agents. See SKILL.md for agent integration details.
MIT