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★ 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:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install kalshi --cli-only - Verify:
kalshi-pp-cli --version - Ensure the reported install directory is on
$PATHfor 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 --jsonmarkets 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 --sparklineportfolio 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 --jsonportfolio 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 14markets 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 --jsonmarkets 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 --jsonportfolio 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 --jsonwatch diff— Maintain a local watchlist of t
Установить pp-kalshi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic