← Back to list
💰

kalshi-api Checked

Kalshi exchange mechanics — RSA-PSS auth, order schema, YES/NO orderbook convention, WebSocket, a…
💰 Finance & Trading skills By agiprolabs Version v1.0.0 Updated 2026-09-20
9.1Overall rating

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "kalshi-api" skill by following the instructions at https://skill123.me/install/kalshi-api.
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/kalshi-api.sh | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0 · 12 KB

About this skill

Overview

Kalshi exchange mechanics — RSA-PSS auth, order schema, YES/NO orderbook convention, WebSocket, and endpoint surface. Market-type-agnostic shared layer for all Kalshi skills.

Source

  • Repo: https://github.com/agiprolabs/claude-trading-skills
  • Path: skills/kalshi-api

Score breakdown

Trigger
7.5
Description states What (auth, order schema, orderbook convention, WS, endpoints) and positioning as shared layer for all Kalshi skills; boundary only implicit via cross-references; good keyword coverage.
Structure
9.3
200-line SKILL.md, three well-partitioned references (auth/orders, endpoints, websocket), one stdlib script in scripts/; Files section maps roles; no redundant files.
Workflow
8.8
Quick Start gives ordered steps (credentials, install, host+auth, candlesticks); strong error-handling design (401 causes, 400 field rules, lifecycle gotchas, reconnect with re-subscribe); verification via smoke-test-against-live-response and worked example; minor: no explicit confirmation gate for order placement.
Content
10.0
Imperative, dense, concrete parameter examples everywhere; tables of rules; zero filler.
Engineering
10.0
Valid frontmatter; script has shebang, stdlib-only, offline, __main__ example; all referenced paths exist.
Security
10.0
6.0 manifest: no file writes; network only to declared official Kalshi hosts for the skill's declared purpose; env-var credential access is declared and best-practice; no persistence changes. Capabilities match declared scope. No prompt injection, no hardcoded secrets.
Excellent tool-wrapper reference for the Kalshi exchange API. Strong: RSA-PSS signing spec with the three classic 401 failures, dollar-string order schema with per-field 400 rules, YES/NO both-bid-ladder convention, WS signing-path gotcha, T-1 discovery pipeline, dead-host warnings, verify-before-coding guard. Script is pure stdlib offline with worked example. Deductions: D1 lacks explicit when-not; D3 order-placement is documented without an explicit pre-trade confirmation gate (acceptable for a reference wrapper, but noted). 6.0 manifest: network destinations api.elections.kalshi.com / external-api-ws.kalshi.com / demo-api.kalshi.co (all official Kalshi), docs.kalshi.com, trading-api.readme.io (official legacy mirror), github.com/Kalshi - all declared exchange endpoints, no undeclared egress. Reads KALSHI_KEY_ID / KALSHI_PRIVATE_KEY_PATH from env with explicit 'never in code' guidance - legitimate, declared credential use. No injection, no destructive commands, no persistence.