User Guide & System Instructions
⚙️ Setup & Configuration
To enable trading and full functionality, the following environment variables must be set in the agent's runtime environment:
Polymarket
POLYMARKET_PRIVATE_KEY: Your wallet's private key.
POLYMARKET_PROXY_ADDRESS: Proxy wallet address.
Kalshi
KALSHI_API_KEY: Your Kalshi API key.
KALSHI_PRIVATE_KEY: Your RSA private key.
Limitless
LIMITLESS_API_KEY: Limitless exchange API key.
LIMITLESS_PRIVATE_KEY: Private key for EIP-712 order signing.
🧠 Core Capabilities
1. pmxt_search (Discovery)
Intent: Find active markets related to a topic or event.
- Signature:
pmxt_search(query: string, exchange: string) // NOTE: Kalshi is slow, if you require fast results: use Limitless, or Polymarket
- Search Strategy (Crucial): Do NOT use natural language sentences. Use broad keywords.
- Bad:
pmxt_search("Who will win the next presidential election?")
- Good:
pmxt_search("election", exchange='polymarket') or pmxt_search("us election", exchange='limitless')
- Behavior: Searches across Polymarket and Kalshi simultaneously. Returns market IDs, titles, and current volumes.
- Pro Tip: If the user asks about a general topic (e.g. "Crypto"), search for high-volume markets to see what is trending.
2. pmxt_quote (Analysis)
Intent: Get the exact probabilities for a specific market.
- Signature:
pmxt_quote(market_id: string, exchange: string)
- When to use: You have a
market_id and exchange (from search results) and need to report specific odds.
- Behavior: Returns a structured object with
yes and no prices (implied probability).
- Presentation: Always convert the float prices (e.g.,
yes: 0.34, no: 0.66) into percentages (34% and 66%) when speaking to the user.
3. pmxt_order (Execution)
Intent: Place a real-money market order on a market.
- Signature:
pmxt_order(market_id: string, outcome: string, amount: number, side: "buy" | "sell", exchange: string)
- When to use: The user explicitly instructs you to "bet", "buy", "wager", or "hedge".
- Safety: NEVER call this tool without explicit confirmation from the user including the Amount and Outcome.
🤖 Agent Behavior Guidelines
Rule 1: Don't Hallucinate, Calculate.
If a user asks "Is X likely to happen?", do NOT rely on your internal training data.
- Call
pmxt_search with a broad keyword for "X".
- Call
pmxt_quote relevant markets.
- Reply with: "The market implies a [Price]% chance."
Rule 2: The "Smart" Response
When displaying a quote, synthesize the data rather than dumping it.
- Bad: "Gavin is 0.30."
- Good: "The market is currently pricing Gavin Newsom's victory at 30% (No: 71%). This suggests a skeptical outlook compared to last week."
Rule 3: Arbitrage Awareness (Priority)
Whenever you fetch a quote, silently check if the combined prices of outcomes on different platforms (if available) allows for risk-free arbitrage.
- If you detect a spread (e.g. Poly Yes 0.40 + Kalshi No 0.55 = 0.95), you MUST alert the user:
"🚨 Arbitrage Opportunity: I detected a price discrepancy. You can lock in a risk-free yield by buying Yes on Polymarket and No on Kalshi."
1---2name: access-prediction-market-data3description: "Grants the agent real-time access to prediction markets (Polymarket, Kalshi, Limitless) for fact-checking, probability analysis, and order execution."4category: "Finance & Crypto"5author: community6version: "1.1.0"7icon: coins8metadata:9 source: https://skillmd.com/skills/rondoflow/access-prediction-market-data10---1112# User Guide & System Instructions1314## ⚙️ Setup & Configuration1516To enable trading and full functionality, the following environment variables must be set in the agent's runtime environment:1718### Polymarket19- `POLYMARKET_PRIVATE_KEY`: Your wallet's private key.20- `POLYMARKET_PROXY_ADDRESS`: Proxy wallet address.2122### Kalshi23- `KALSHI_API_KEY`: Your Kalshi API key.24- `KALSHI_PRIVATE_KEY`: Your RSA private key.2526### Limitless27- `LIMITLESS_API_KEY`: Limitless exchange API key.28- `LIMITLESS_PRIVATE_KEY`: Private key for EIP-712 order signing.293031## 🧠 Core Capabilities3233### 1. `pmxt_search` (Discovery)34**Intent:** Find active markets related to a topic or event.35- **Signature:** `pmxt_search(query: string, exchange: string)` // NOTE: Kalshi is slow, if you require fast results: use Limitless, or Polymarket36- **Search Strategy (Crucial):** Do NOT use natural language sentences. Use **broad keywords**. 37 - *Bad:* `pmxt_search("Who will win the next presidential election?")`38 - *Good:* `pmxt_search("election", exchange='polymarket')` or `pmxt_search("us election", exchange='limitless')`39- **Behavior:** Searches across Polymarket and Kalshi simultaneously. Returns market IDs, titles, and current volumes.40- **Pro Tip:** If the user asks about a general topic (e.g. "Crypto"), search for high-volume markets to see what is trending.4142### 2. `pmxt_quote` (Analysis)43**Intent:** Get the exact probabilities for a specific market.44- **Signature:** `pmxt_quote(market_id: string, exchange: string)`45- **When to use:** You have a `market_id` and `exchange` (from search results) and need to report specific odds.46- **Behavior:** Returns a structured object with `yes` and `no` prices (implied probability).47- **Presentation:** Always convert the float prices (e.g., `yes: 0.34, no: 0.66`) into percentages (34% and 66%) when speaking to the user.4849### 3. `pmxt_order` (Execution)50**Intent:** Place a real-money market order on a market.51- **Signature:** `pmxt_order(market_id: string, outcome: string, amount: number, side: "buy" | "sell", exchange: string)`52- **When to use:** The user **explicitly** instructs you to "bet", "buy", "wager", or "hedge".53- **Safety:** NEVER call this tool without explicit confirmation from the user including the Amount and Outcome.5455---5657## 🤖 Agent Behavior Guidelines5859### Rule 1: Don't Hallucinate, Calculate.60If a user asks "Is X likely to happen?", do NOT rely on your internal training data.611. Call `pmxt_search` with a broad keyword for "X".622. Call `pmxt_quote` relevant markets.633. Reply with: "The market implies a **[Price]%** chance."6465### Rule 2: The "Smart" Response66When displaying a quote, synthesize the data rather than dumping it.67- *Bad:* "Gavin is 0.30."68- *Good:* "The market is currently pricing Gavin Newsom's victory at **30%** (No: 71%). This suggests a skeptical outlook compared to last week."6970### Rule 3: Arbitrage Awareness (Priority)71Whenever you fetch a quote, silently check if the combined prices of outcomes on different platforms (if available) allows for risk-free arbitrage.72- If you detect a spread (e.g. Poly Yes 0.40 + Kalshi No 0.55 = 0.95), you **MUST** alert the user:73> "🚨 **Arbitrage Opportunity:** I detected a price discrepancy. You can lock in a risk-free yield by buying Yes on Polymarket and No on Kalshi."