kalshi
БесплатноБез исполняемых скриптовНе проверенKalshi API integration with managed authentication. This is a write-capable, real-money trading integration for the Kalshi prediction-market exchange…
от maton98 установок в других каталогахОб этом скилле
Kalshi
Access the Kalshi trading API with managed authentication. Read markets, events, series, order books, and your portfolio, and place, amend, or cancel orders you have approved.
Quick Start
maton login # authenticate once (device flow, recommended)
maton connection create kalshi # connect the account with a Kalshi API key (needs user approval)
maton api '/kalshi/trade-api/v2/exchange/status' # first call
Installation
NPM
npm install -g @maton/[email protected]
Homebrew
brew install maton-ai/cli/maton
brew pin maton
Versions are pinned to the release this skill was reviewed against. Upgrade deliberately - check the release notes, then move the pin - rather than by re-running an unpinned install. Homebrew cannot select a version from a tap, so brew pin maton holds the installed build until you choose to upgrade; maton-ai/cli is Maton's own tap.
Authentication
maton login
Prints a login link. Open it in a browser and copy the verification code shown. Then run maton login --code <CODE> to finish signing in. Once complete, it creates a profile in config.toml (eg. $HOME/.config/maton/config.toml) and stores the access and refresh tokens in the operating system's credential store (Keychain on macOS, Credential Manager on Windows, Secret Service on Linux), auto-renewed on expiry. The CLI reads them when it needs them.
Verify
maton whoami --json
{
"authenticated": true,
"profile_name": "[email protected]",
"auth_type": "oauth"
}
- If
authenticatedisfalse, stop and login again viamaton login. - If
auth_typeisapi_key, it is recommended to login viamaton loginand avoid keeping a long-lived credential.
Connections
List Connections
maton connection list kalshi --status ACTIVE
{
"connections": [
{
"connection_id": "{connection_id}",
"status": "ACTIVE",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=5e9...",
"app": "kalshi",
"method": "BASIC",
"metadata": {}
}
]
}
Refer to maton connection list --help for possible flags and values.
Create Connection
Requires explicit user approval. Confirm that the user intends to connect their Kalshi account before running this. Never create a connection on your own initiative.
maton connection create kalshi
--access-policy '<json>' (or --access-policy-file policy.json) limits which Kalshi endpoints the connection may call; see Change Access Policy.
Refer to maton connection create --help for possible flags and values.
The connect page asks for two values from a Kalshi API key, which the user creates at kalshi.com/account/profile under API Keys → Create New API Key:
- API Key ID — the key's ID, a UUID shown next to the key.
- Private Key — the PEM file Kalshi shows (and downloads as a
.txtfile) when the key is created, pasted whole, including the-----BEGIN ... PRIVATE KEY-----and-----END ... PRIVATE KEY-----lines. Kalshi shows it only once. Ed25519 is the default key type; RSA keys also work.
The user enters these on the Maton connect page themselves — never ask for the private key in chat, and never put it in a command, file, or request. Maton stores the key and signs every request with it, so calls carry no Kalshi auth headers.
Get Connection
maton connection get {connection_id}
{
"connection": {
"connection_id": "{connection_id}",
"status": "PENDING",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=5e9...",
"app": "kalshi",
"method": "BASIC",
"metadata": {},
"access_policy": null
}
}
Open the returned URL in a browser to complete authorizing Kalshi. If Kalshi offers scope selection, choose only the scopes the current task needs.
access_policy is null when the connection has full access, or the allow and deny rules it is limited to.
The page asks for the API Key ID and Private Key (see Create Connection).
Reauthorize Connection
Requires explicit user approval. Confirm the connection and that the user intends to authorize access again. Never reauthorize a connection on your own initiative.
maton connection reauthorize {connection_id}
Reauthorizes a FAILED or PENDING connection in place: the user authorizes the app again in the browser and the connection keeps its ID, so anything using that ID keeps working. The user enters the API Key ID and Private Key again, for example after rotating the key in Kalshi. An ACTIVE connection doesn't need reauthori
Установить kalshi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGrepGlobFAQ
Что делает скилл kalshi?
Kalshi API integration with managed authentication. This is a write-capable, real-money trading integration for the Kalshi prediction-market exchange: balance, positions, orders, fills, settlements, markets, events, series, order books, and exchange status, plus placing, amending, and canceling orders. Use this skill when users want to look up Kalshi markets and prices, check their Kalshi portfolio, or place or cancel a Kalshi order they have explicitly approved. Connect with the least-privileged Kalshi API key available, verify the intended connection ID before each request, and revoke unused connections promptly. Every order write requires explicit user approval showing the exact market ticker, side, count, price, order type, and total cost before execution. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI after `maton login`; the Kalshi API key and private key stay in the gateway and are never handled locally. Only your own Maton credential is used locally — held by the CLI, or supplied as `MATON_API_KEY` in the appendix fallback. Default to read and list calls, stay on the endpoints this skill documents, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Kalshi connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Kalshi action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Running that automation includes administering it, and the skill covers that too: listing, reauthorizing and deleting connections, and changing or clearing a connection's access policy, which sets the endpoints it may call; creating, deploying, searching, updating and deleting functions and their environment variables; creating, updating and deleting triggers and their destinations, including pointing a destination at a URL the user supplies
Как установить скилл kalshi?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kalshi запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic