Kalshi Trading Skill for Openclaw

A professional-grade interface for trading CFTC-regulated prediction markets on Kalshi via the kalshi-cli command-line tool.

lacymorrow
v1.0.0
Mar 4, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install kalshi-cli-trading

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install kalshi-cli-trading using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Kalshi Trading Skill?

The Kalshi Trading Skill enables AI agents to interact directly with Kalshi, the first legal prediction market in the US. By leveraging this tool within the framework of Openclaw Skills, developers and traders can manage event contracts for politics, economics, crypto, and weather without ever leaving their coding environment. It provides a bridge between high-level AI reasoning and low-level market execution, using secure RSA-PSS authentication and a safety-first approach that defaults to demo environments.

This skill is designed for those who want to automate their trading strategies or research markets efficiently. Through the integration of Openclaw Skills, users get access to real-time price streaming, portfolio management, and advanced order types. Because it uses the kalshi-cli, all operations settle in USD, avoiding the complexities of blockchain or gas fees associated with decentralized prediction markets.

Kalshi Trading Skill Use Cases

  • Executing automated limit and market orders on US-regulated event contracts.
  • Monitoring economic and political prediction markets for real-time sentiment analysis.
  • Building market-making bots that leverage order groups to manage risk exposure.
  • Streaming live price updates and order book deltas via WebSockets for algorithmic trading.
  • Managing complex portfolios across multiple subaccounts for strategy isolation.

How Kalshi Trading Skill Works

  1. The AI agent initializes the kalshi-cli environment by verifying the local authentication status via the keyring or environment variables.
  2. Users search for specific event series or markets using filtered discovery commands.
  3. Market sentiment is analyzed through order book depth and terminal-based ASCII candlestick charts.
  4. Trades are structured as JSON payloads and executed in either demo or production mode based on user-defined flags.
  5. The skill maintains a persistent connection via WebSockets to provide real-time feedback on order fills and position changes.

Kalshi Trading Skill Setup

To begin using this skill, install the kalshi-cli via Homebrew or Go:

brew install 6missedcalls/tap/kalshi-cli
# OR
go install github.com/6missedcalls/kalshi-cli/cmd/kalshi-cli@latest

Once installed, perform the interactive login to sync your API keys with Openclaw Skills:

kalshi-cli auth login

Verify that your configuration is active and pointing to the correct environment (Demo/Production):

kalshi-cli auth status

Kalshi Trading Skill Data Schema & Taxonomy

The skill manages data across several key taxonomies to ensure precise execution within Openclaw Skills:

Object Description
Tickers Structured strings combining series, date, and strike price (e.g., KXBTC-26FEB12-B97000).
Subaccounts Up to 32 isolated accounts per user for multi-strategy management.
Order Groups Grouping mechanism to cap total fills across different market sides.
JSON Schema Every command supports a --json flag for machine-readable integration.

Kalshi Trading Skill Advanced Features

  • Order Groups: Native support for capping fills across multiple orders to facilitate market-making.
  • Batch Trading: Create hundreds of orders simultaneously using JSON file inputs.
  • RFQ System: Request and respond to quotes for large block trades directly from the CLI.
  • WebSocket Streaming: Real-time data feeds for tickers, trades, and personal account notifications.
  • Multi-Environment Support: Seamless switching between Demo (fake money) and Production (USD) modes using simple flags.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*