kalshi-api SKILL.md skillA

kalshi-api from agentmc15/polymarket-trader is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add agentmc15/polymarket-trader/kalshi-api@git:20260906.08ff3f1

Pins git:20260906.08ff3f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
agentmc15/polymarket-trader
Path
.claude/skills/kalshi-api/SKILL.md
Versions recorded
1
Latest version
git:20260906.08ff3f1, committed Sep 6, 2026
Size
6,015 bytes
Repository stars
26
License
none declared

Kalshi Trade API v2 integration facts, endpoints, and fee model. Reference for venue adapter implementation (app/venues/kalshi/).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Kalshi Trade API v2 — Vendor Facts

Pinned from docs.kalshi.com on 2026-09-04. Do NOT re-fetch from the network (GUARDRAILS.md §1.4).

## Base URLs

- **Production**: `https://external-api.kalshi.com/trade-api/v2` (alt: `https://api.elections.kalshi.com/trade-api/v2`)
- **Demo**: `https://external-api.demo.kalshi.co/trade-api/v2`
- **WebSocket** (NOT used in this kit): `wss://external-api-ws.kalshi.com/trade-api/ws/v2`

## Authentication

Signature-based with RSA private key:

- Headers: `KALSHI-ACCESS-KEY` (public key ID), `KALSHI-ACCESS-TIMESTAMP` (ms), `KALSHI-ACCESS-SIGNATURE`
- Signature algorithm: RSA-PSS(SHA256, MGF1-SHA256, salt length = digest length)
- Signed string: `f"{timestamp_ms}{METHOD}{path}"` where `path` is URL path WITHOUT query string
- Example: sign `/trade-api/v2/portfolio/orders`, not `…?status=open`
- Private key format: PEM-encoded

## Market Payload

Fixed-point dollar strings for prices and sizes (some older payloads use integer cents; parse both):

- `yes_bid_dollars`, `yes_ask_dollars`, `no_bid_dollars`, `no_ask_dollars` — top-of-book bids/asks
- `last_price_dollars` — most recent trade price
- `*_fp` fields — sizes (fixed-point, contract count)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agentmc15/polymarket-trader/kalshi-api@sha256:be129f0a1dd2e512

The line at the top of this page pins the label git:20260906.08ff3f1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qbzijzfm2fyziidk.svg)](https://markdownregistry.com/a/art_qbzijzfm2fyziidk)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 6, 2026.

versioncommittedcommitsizeaudit
git:20260906.08ff3f1 latest2026-09-06 08ff3f1 6,015 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6015 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

agentmc15/polymarket-trader · 26 stars · license none declared · pushed 2026-09-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qbzijzfm2fyziidk
GET https://markdownregistry.com/api/v1/resolve?ref=agentmc15/polymarket-trader/kalshi-api
GET https://markdownregistry.com/api/v1/blob/be129f0a1dd2e5127e64e63c615e53406268f72c7b6b42d42cedf3ac41968a3f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from agentmc15/polymarket-trader

polymarket-api SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/polymarket-api/SKILL.md · Deep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading…
git:20260906.08ff3f1 · audit A · 26 stars
trading-strategies SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/trading-strategies/SKILL.md · Framework for developing, testing, and deploying trading strategies for prediction markets. Use when creating new…
git:20260906.08ff3f1 · audit A · 26 stars
CLAUDE.md CLAUDE.md file
agentmc15/polymarket-trader · CLAUDE.md
git:20260906.08ff3f1 · audit A · 26 stars

Every file in agentmc15/polymarket-trader

Browse by kind, by grade A, or by owner.