# Send Kalshi to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kalshi",
    "name": "Kalshi",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/henrik-openclaw/kalshi",
    "canonicalUrl": "https://clawhub.ai/henrik-openclaw/kalshi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kalshi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kalshi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/api.md",
      "scripts/kalshi_portfolio.py",
      "scripts/kalshi_markets.py",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kalshi",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T00:53:04.995Z",
      "expiresAt": "2026-05-09T00:53:04.995Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kalshi",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kalshi",
        "contentDisposition": "attachment; filename=\"kalshi-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kalshi"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kalshi"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kalshi",
    "downloadUrl": "https://openagent3.xyz/downloads/kalshi",
    "agentUrl": "https://openagent3.xyz/skills/kalshi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kalshi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kalshi/agent.md"
  }
}
```
## Documentation

### Kalshi Prediction Markets

Read-only integration with Kalshi's prediction market API.

### Capabilities

Browse markets: List active events and markets by category
Market analysis: Get prices, volumes, orderbook depth
Portfolio view: Check positions and P&L (requires API key)
Trade recommendations: Find high-certainty, high-payoff opportunities

### Setup

Install dependencies:

pip install requests cryptography

For portfolio access (RSA key signing required):

Go to kalshi.com/account/profile
Create new API key → save the Key ID and download the private key
Store credentials:

mkdir -p ~/.kalshi
mv ~/Downloads/your-key-file.txt ~/.kalshi/private_key.pem
chmod 600 ~/.kalshi/private_key.pem

Create ~/.kalshi/credentials.json:

{
  "api_key_id": "your-key-id-here",
  "private_key_path": "~/.kalshi/private_key.pem"
}

Or run interactive setup:

python scripts/kalshi_portfolio.py setup

### Market Data (No Auth Required)

# List trending markets
python scripts/kalshi_markets.py trending

# Search markets by query
python scripts/kalshi_markets.py search "bitcoin"

# Get specific market details
python scripts/kalshi_markets.py market TICKER

# Find high-value opportunities
python scripts/kalshi_markets.py opportunities

### Portfolio (Auth Required)

# View positions
python scripts/kalshi_portfolio.py positions

# View balance
python scripts/kalshi_portfolio.py balance

# Trade history
python scripts/kalshi_portfolio.py history

### Opportunity Analysis

The opportunities command identifies markets where:

High certainty: Price ≥85¢ YES or ≤15¢ YES (implies 85%+ confidence)
Meaningful payoff: Potential return ≥10% on capital
Sufficient liquidity: Orderbook depth supports reasonable position size

Formula: expected_value = probability * payoff - (1 - probability) * cost

A good opportunity has: EV / cost > 0.1 (10%+ expected return)

### Categories

Kalshi markets span:

Politics & Elections
Economics (Fed rates, inflation, GDP)
Weather & Climate
Finance (stock prices, crypto)
Entertainment & Sports
Science & Tech

### API Reference

See references/api.md for endpoint details.

### Important Notes

This skill is READ-ONLY — no trade execution
Public endpoints don't require authentication
Portfolio/balance requires API credentials
Markets settle in cents (100¢ = $1)
All times in UTC
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: henrik-openclaw
- Version: 1.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T00:53:04.995Z
- Expires at: 2026-05-09T00:53:04.995Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kalshi)
- [Send to Agent page](https://openagent3.xyz/skills/kalshi/agent)
- [JSON manifest](https://openagent3.xyz/skills/kalshi/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kalshi/agent.md)
- [Download page](https://openagent3.xyz/downloads/kalshi)