prediction-markets

prediction-markets is a skill for Claude Code, Codex from BlockRunAI/blockrun-mcp. It costs 136 tokens per session (3,755 once invoked), scanned A, original, MIT.

A collection of tools for checking prediction-market data across services such as Polymarket and Kalshi. Prediction markets let people trade contracts tied to future events, with prices commonly treated as rough probabilities.

In plain words
What is it for?
Use it to look up current markets and odds, study price or volume history, inspect order books, find smart-money positions, examine wallet performance, or compare the same event across venues.
Why use it?
It provides data that public market listings usually do not contain, such as historical prices, order-book records, trading activity, and information about active wallets. It also matches related markets across different services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to look up current markets and odds, study price or volume history, inspect order books, find smart-money positions, examine wallet performance, or compare the same event across venues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blockrunai/blockrun-mcp/prediction-markets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BlockRunAI/blockrun-mcp --skill prediction-markets
Clone the repo
git clone --depth 1 https://github.com/BlockRunAI/blockrun-mcp

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin prediction-markets/plugin install prediction-markets after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prediction-markets

README.md
[![agentmods](https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/prediction-markets/github.svg)](https://agentmods.dev/skills/blockrunai/blockrun-mcp/prediction-markets)
Your own site
<a href="https://agentmods.dev/skills/blockrunai/blockrun-mcp/prediction-markets"><img src="https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/prediction-markets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prediction-markets

Your own site · 80×15
<a href="https://agentmods.dev/skills/blockrunai/blockrun-mcp/prediction-markets"><img src="https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/prediction-markets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 227
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00136 $0.03755
Opus 5 $0.00068 $0.01878
Sonnet 5 $0.00027 $0.00751
Haiku 4.5 $0.00014 $0.00376

Measured 9d ago against content hash 7d792b3fee72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

prediction-markets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prediction-markets/SKILL.md · 294 lines

How it starts

The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prediction Markets (Predexon)

55 endpoints across Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, Binance Futures, sports, and the UMA oracle — one x402 gateway, no Predexon account or API key.

What is worth paying for. Current market lists are free from public APIs. These are not, and cannot be backfilled after the fact:

  • History — candlesticks, orderbook snapshots, volume charts, open interest, trade history. Built from continuous ingestion; nobody can reconstruct it retroactively.
  • Smart money — leaderboards, cohort stats, top holders, which wallets are positioned where, and which markets high-performing wallets just entered.
  • Wallet intelligence — profiles, P&L time series, identity metadata, and on-chain clustering (find the other wallets behind one address).
  • Cross-venue canonical IDs — one question, matched across five venues. The basis for arbitrage and consensus.

How to Call from MCP

One tool, three params. Method auto-routes: POST when body is set, GET otherwise.

blockrun_markets({ path: "polymarket/events", params: { limit: "10" } })

blockrun_markets({ path: "polymarket/candlesticks/0xCONDITION_ID", params: { interval: "1440" } })

blockrun_markets({ path: "polymarket/wallet/identities", body: {
  addresses: ["0xabc...", "0xdef..."]
}})

Paths are relative — no /api/v1/pm/ prefix. Use agent_id to bill a child agent's budget.

Paid calls can run in parallel on Base: each EIP-3009 authorization carries its own random nonce, so concurrent calls from one wallet cannot collide. The Solana payload has no nonce field — distinctness comes from the SDK (@blockrun/llm >= 3.8.4), so keep that floor if you fan out on Solana.

Current parameter contracts that prevent paid 4xx responses:

  • Discover with markets/search (its search term is q), then resolve the selected market with polymarket/markets/keyset + condition_id.
  • On polymarket/markets{,/keyset} the free-text filter is search, not q. Use status:"open" rather than Gamma's active/closed, and sort rather than order/ascending. end_after/end_before are supported (Unix seconds).
  • Candlestick interval is integer minutes (1440, not 1h) and is optional — the server has a default. Which intervals a market can serve varies: 1440 may work where 60 returns a paid 400. Optional start_time/end_time are Unix seconds.
  • polymarket/orderbooks requires token_id, start_time, and end_time; the times are Unix milliseconds.
  • Smart-money needs a smart-wallet criterion: min_trades, min_volume, min_roi, min_realized_pnl, min_total_pnl, min_win_rate, or min_profit_factor. window only scopes the time range and is not sufficient alone (verified: window-only returns a paid 400). Use { window: "30d", min_trades: "100" }; narrower cohorts are fine.
  • markets/listings is retired upstream (410 Gone) — the MCP blocks it before payment.

Read the full file on GitHub · 294 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 294 lines · 136 tokens per session scan A 7d792b3fee72

Subscribe to this mod's changes

prediction-markets is a skill published in the GitHub repository BlockRunAI/blockrun-mcp (393 stars, last pushed 2d ago), licensed MIT. It adds 136 tokens to every session and 3,755 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

x402-list

Discover x402 payment services and on-chain-verified facilitator settlement volume via the x402-list directory. Use when a user or agent needs to find an API/service that accepts x402 (HTTP 402 stablecoin) payments, compare services by reliability and price, check service uptime/health, see whether a service has…

mcccsm/x402-list-mcp · 99 tokens

x402

HTTP 402 payment protocol for AI agent commerce — three-actor model (Client, Resource Server, Facilitator), ERC-3009 transferWithAuthorization, server middleware (@x402/express), client patterns in TypeScript and Python, facilitator integration, agent-to-agent payments, pricing strategies, and replay protection. Works…

aomi-labs/skills · 84 tokens

polymarket-tennis

Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier. Use when asked for a Polymarket tennis bot or market watcher, a Kalshi tennis trading bot, tennis prediction-market data, Gamma API tennis markets, matching a market to a…

livetennisapi/livetennisapi-mcp · 179 tokens

market-research

Use for informational market, industry, company, earnings, or public financial research with Axon, not personalized investment advice.

dinglebear-ai/axon · 28 tokens

shop

Use when the user wants Axon-backed product research, product comparisons, review synthesis, budget-aware recommendations, or cart preparation without checkout.

dinglebear-ai/axon · 29 tokens

onesource-batch-config

Configure OneSource MCP x402 batch-settlement preferences from the session using the 1sbatchconfig tool — autonomy (ask/auto/off), the "many calls" threshold, the channel deposit multiplier, and the default payment mode. Settings persist across restarts with no config-file editing. Use when the user wants to change…

blockparty-global/1s-mcp · 91 tokens