Skip to content
TakoAPI
Back to skills

kalshi-agent

by jthomasdevs

Media & Streaming
1.1kDownloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Kalshi prediction market agent - analyzes markets and executes trades via the Kalshi v2 API.

Description

What This Skill Does

CLI tool for interacting with Kalshi prediction markets via the Kalshi v2 API. Supports browsing markets, searching by keyword or ticker, managing a portfolio, and placing or canceling trades from the terminal.

Provides full trade execution and market research in a single CLI without needing to navigate the Kalshi web UI.

When to Use It

  • Check current odds on a political event before placing a trade
  • Search for sports markets expiring this week with minimum 5% odds
  • Buy or sell contracts on a specific market ticker without opening a browser
  • Cancel an open order from the command line

Example Workflow

INPUT

User asks: buy 10 YES contracts on the Super Bowl market at 62 cents

AGENT
  1. 1

    Run kalshi search 'Super Bowl' to find the relevant market ticker

  2. 2

    Review the results and identify the correct ticker (e.g. KXSB-26)

  3. 3

    Run kalshi orderbook KXSB-26 to check current depth and confirm pricing

  4. 4

    Run kalshi buy KXSB-26 10 62 and review the cost summary

  5. 5

    Confirm the trade or use --force to skip the prompt

OUTPUT

Order placed for 10 YES contracts at $0.62 each on KXSB-26

Requirements

  • KALSHI_ACCESS_KEY environment variable
  • Kalshi account with API access enabled (https://kalshi.com/api)
  • RSA private key file at ~/.kalshi/private_key.pem

Installation

clawhub install jthomasdevs/kalshi-agent

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links