Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-kalshi

БесплатноБез исполняемых скриптовНе проверен

Trade prediction markets, persist tick data, and answer category-level P&L questions Kalshi.com cannot. Trigger phrases: `kalshi market price`, `track…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Kalshi — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the kalshi-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install kalshi --cli-only
    
  2. Verify: kalshi-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/payments/kalshi/cmd/kalshi-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Every Kalshi feature, plus a local SQLite store that records market prices on every sync — so movers, correlations, and price history work offline. Honest about read-only vs read/write keys, with --dry-run on every mutator and a global --read-only safe-mode lock for newsroom and bot deployments.

When to Use This CLI

Reach for kalshi-pp-cli when an agent needs price-over-time or category-level analytics on Kalshi markets — the public API only returns current prices and flat positions, so historical and aggregated questions require the local snapshot store. Use it for daily portfolio reconciliation, signal discovery via correlation across markets, and safe scripting against read-only API credentials.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • portfolio attribution — See your realized P&L broken down by market category and series over any time window — answer 'did politics actually make money this quarter?' in one command.

    Use when an agent needs realized P&L sliced by Kalshi taxonomy — the API returns flat fills and settlements; this command joins them with the category metadata required to attribute correctly.

    kalshi-pp-cli portfolio attribution --since 2026-01-01 --by category --json
    
  • markets history — Show how a market's yes/no price moved over time, with a sparkline rendering — built from snapshots captured by every markets sync.

    Use when an agent asks 'how did this market move' or needs price-over-time for backtesting; the API only returns current price.

    kalshi-pp-cli markets history KXPRES-2028-DJT --since 2026-04-01 --sparkline
    
  • portfolio winrate — Calculate your win/loss ratio, expected value, and ROI across all settled positions, optionally sliced by category.

    Use when an agent evaluates trading-strategy performance; no Kalshi tool computes this.

    kalshi-pp-cli portfolio winrate --category sports --since 2026-01-01 --json
    
  • portfolio calendar — See upcoming settlements with your positions, expected payouts, and category breakdown over the next N days.

    Use when an agent needs to plan around upcoming settlements; the API surfaces positions and event expiries on different endpoints.

    kalshi-pp-cli portfolio calendar --days 14
    
  • markets movers — Find markets with the biggest price swings since the last sync — sorted by absolute delta or by volume change.

    Use when an agent needs to surface notable market activity; the API has no 'recent movers' endpoint.

    kalshi-pp-cli markets movers --window 24h --category politics --json
    
  • markets correlate — Compute Pearson correlation of two markets' price histories — find correlated events for hedging or signal discovery.

    Use when an agent investigates cross-market relationships; no API endpoint or other tool computes correlation across Kalshi markets.

    kalshi-pp-cli markets correlate KXFEDFUNDS-26FEB KXCPI-26FEB --window 30d --json
    
  • portfolio exposure — Break down total exposure by category with concentration warnings when any bucket exceeds a configurable risk threshold.

    Use when an agent needs portfolio-level risk; the API doesn't aggregate exposure by Kalshi taxonomy.

    kalshi-pp-cli portfolio exposure --by category --warn-threshold 0.4 --json
    
  • watch diff — Maintain a local watchlist of t

Полный SKILL.md на GitHub

Установить pp-kalshi в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-kalshi?

Trade prediction markets, persist tick data, and answer category-level P&L questions Kalshi.com cannot. Trigger phrases: `kalshi market price`, `track prediction market`, `kalshi portfolio P&L`, `kalshi correlate markets`, `use kalshi`, `run kalshi`.

Как установить скилл pp-kalshi?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-kalshi запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-kalshi с