Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Trade on Kalshi prediction markets: check portfolio, search markets, analyze orderbooks, place/cancel orders, and manage binary contract positions.
Trade on Kalshi prediction markets: check portfolio, search markets, analyze orderbooks, place/cancel orders, and manage binary contract positions.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Trade on Kalshi prediction markets via a self-contained CLI script. Supports market search, portfolio tracking, and full order lifecycle (place/cancel/monitor).
All commands route through a single script. Output is JSON.
Primary script: {baseDir}/scripts/kalshi-cli.mjs <command> [args...] Helper script: {baseDir}/scripts/quick-analysis.mjs <ticker> Combines market details + orderbook in a single call for fast analysis.
CommandDescriptionbalanceGet account balance (cash + portfolio value)portfolioGet balance + all open positionstrendingTop markets by 24h volumesearch <query>Search markets by keywordmarket <ticker>Get details for a single marketorderbook <ticker>Get bid/ask levels for a marketbuy <ticker> <yes|no> <count> <price>Place a buy order (price in cents 1-99)sell <ticker> <yes|no> <count> <price>Place a sell order (price in cents 1-99)cancel <orderId>Cancel a resting orderorders [resting|canceled|executed]List orders, optionally filtered by statusfills [ticker]List recent fills, optionally filtered by ticker
# Check balance {baseDir}/scripts/kalshi-cli.mjs balance # See what's trending {baseDir}/scripts/kalshi-cli.mjs trending # Search for markets about bitcoin {baseDir}/scripts/kalshi-cli.mjs search "bitcoin" # Get details on a specific market {baseDir}/scripts/kalshi-cli.mjs market KXBTCD-26FEB14-B55500 # Check orderbook {baseDir}/scripts/kalshi-cli.mjs orderbook KXBTCD-26FEB14-B55500 # Buy 5 YES contracts at 65 cents {baseDir}/scripts/kalshi-cli.mjs buy KXBTCD-26FEB14-B55500 yes 5 65 # Sell 5 YES contracts at 70 cents {baseDir}/scripts/kalshi-cli.mjs sell KXBTCD-26FEB14-B55500 yes 5 70 # Check open orders {baseDir}/scripts/kalshi-cli.mjs orders resting # Check recent fills {baseDir}/scripts/kalshi-cli.mjs fills
All commands output JSON to stdout. Parse the result to present it to the user.
Critical: ALWAYS confirm with the user before placing any buy or sell order. Before executing a trade, show the user: Ticker Side (YES or NO) Count (number of contracts) Price (in cents) Total cost = count ร price cents = $X.XX Price format: Prices are in cents (1-99) 65 cents = $0.65 per contract Minimum: 1 cent, Maximum: 99 cents Payouts: All contracts pay $1.00 (100 cents) if correct, $0 if wrong YES at 65ยข: costs 65ยข, pays $1.00 if YES wins โ 35ยข profit per contract NO at 35ยข: costs 35ยข, pays $1.00 if NO wins โ 65ยข profit per contract YES price + NO price โ 100ยข (spreads cause small deviations) Before selling: Verify the user holds the position by checking portfolio first
setup-guide.md - Getting API credentials, configuration, troubleshooting trading-guide.md - Market mechanics, strategy tips, risk management api-notes.md - Technical API details, data formats, common patterns
Required: KALSHI_API_KEY_ID โ your Kalshi API key UUID KALSHI_PRIVATE_KEY_PATH โ absolute path to your RSA private key PEM file See setup-guide.md for detailed configuration instructions.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.