Kalshi Trading Bot CLI — AI skill for Claude Code
AI-native CLI for trading Kalshi prediction markets.
How to install Kalshi Trading Bot CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sudo-ai-git/kalshi-trading-bot-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Kalshi Trading Bot CLI does
AI-native CLI for trading Kalshi prediction markets. Runs deep fundamental research, generates independent probability estimates, computes edge vs. live order books, and executes trades with Kelly sizing and a 5-gate risk engine.
Alternatives in AI
- Agent Rules Books — AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k ★
- Style Distill — style-distill skill — 三阶段 13 模板 LLM 蒸馏(style-distill-order) 669 ★
- Browser Operator Core — Browser Operator - The AI browser with built in Multi-Agent platform 500 ★
README
Kalshi Trading Bot CLI
AI-powered Kalshi trading CLI that finds edge and executes trades.
Runs deep fundamental research on every market — independent probability estimates, ranked price drivers, catalyst calendars — then computes edge as the spread between model price and the live order book. Signals are sized using half-Kelly and filtered through a 5-gate risk engine before a dollar is risked.
Integrates with the [Octagon Research API](https://app.octagonai.co) for AI-generated probability estimates that power the edge detection engine.

Prerequisites
- Bun ≥ 1.1 (required — the bot uses
bun:sqliteand runs.tsxdirectly; Node.js won't work)curl -fsSL https://bun.com/install | bash - A Kalshi account with API access (API key + RSA private key)
- One LLM provider key (OpenAI / Anthropic / Google / xAI / OpenRouter / Ollama). The setup wizard collects these on first run.
- Optional: an Octagon key for AI edge analysis, and a Tavily key for web research.
Quick Start
bunx kalshi-trading-bot-cli@latest
That's it — no clone, no install. The setup wizard runs automatically on first launch and walks you through API keys.
Prefer a global install? `bun add -g kalshi-trading-bot-cli` then run `kalshi`.
**Scripting and agent use** — for parallel invocations, `--json` consumers, or anything that pipes our output: **install globally and use the `kalshi` binary**, not `bunx`. See [Scripting & Parallel Use](#scripting--parallel-use) below for the gory details.
Or work from a clone:
git clone https://github.com/OctagonAI/kalshi-trading-bot-cli.git
cd kalshi-trading-bot-cli
bun install
bun start
Where things live
- Config, cache, SQLite DB:
~/.kalshi-bot/ - API keys (
.env):~/.kalshi-bot/.env— written by the setup wizard. A.envin the current directory takes precedence (handy
Related Skills
Kalshi AI Trading Bot
Multi-model AI trading bot for Kalshi prediction markets. Five-agent ensemble with portfolio optimization.
Phil
Phil is a self-improving trader: an AI agent that trades short-term prediction markets and rewrites his own st
SimSwarm
Open-source, self-hostable swarm-intelligence simulations with LLM agents: reports, entity graphs, and predict
Claude Agent Trader
Claude Agent SDK-based trading system -- Claude AI analyzes ICT/SMC patterns, auto-executes trades via MT5 MCP
Claude Equity Research Skills
Institutional-quality equity research skills for Claude AI — systematizing the fundamental analysis playbook f
AI Token Optimizer Claude Codex Cursor
Local AI Context Compressor with Claude Code, Codex and Cursor profiles, duplicate-context removal, Git diff p
Related Agents
Desk Lead
Runs the Hyperliquid trading desk. The user's main entry point; routes work to specialists, runs the trade lif
Bstocks
Autonomous bStocks trading agent for Binance Agent OS. Scans tokenized stocks (bStocks), compares with underly
Kalshi Bettor
Specialized agent for scanning, analyzing, and placing bets on Kalshi prediction markets. Use when the user wa