prediction-market-arbitrage

prediction-market-arbitrage is a skill for Claude Code, Codex from AIsa-team/agent-skills. It costs 23 tokens per session (1,819 once invoked), scanned A, original, Apache-2.0.

A tool for comparing prediction markets, which are platforms where people trade contracts tied to future events, such as Polymarket and Kalshi. It finds price differences between matching markets.

In plain words
What is it for?
Use it to match equivalent markets, compare prices, monitor spreads, and inspect order-book depth across supported prediction markets.
Why use it?
It helps identify possible arbitrage: buying related contracts at different prices, while also checking whether market depth makes the difference usable.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

Good fit Use it to match equivalent markets, compare prices, monitor spreads, and inspect order-book depth across supported prediction markets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aisa-team/agent-skills/prediction-market-arbitrage
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 AIsa-team/agent-skills --skill prediction-market-arbitrage
Clone the repo
git clone --depth 1 https://github.com/AIsa-team/agent-skills

Made for: Claude Code, Codex.

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-market-arbitrage

README.md
[![agentmods](https://agentmods.dev/badge/skills/aisa-team/agent-skills/prediction-market-arbitrage/github.svg)](https://agentmods.dev/skills/aisa-team/agent-skills/prediction-market-arbitrage)
Your own site
<a href="https://agentmods.dev/skills/aisa-team/agent-skills/prediction-market-arbitrage"><img src="https://agentmods.dev/badge/skills/aisa-team/agent-skills/prediction-market-arbitrage/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-market-arbitrage

Your own site · 80×15
<a href="https://agentmods.dev/skills/aisa-team/agent-skills/prediction-market-arbitrage"><img src="https://agentmods.dev/badge/skills/aisa-team/agent-skills/prediction-market-arbitrage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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: 7 findings, 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 Data Exfiltration · line 95
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 99
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 107
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 119
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 127
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 139
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 147
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00023 $0.01819
Opus 5 $0.00012 $0.00910
Sonnet 5 $0.00005 $0.00364
Haiku 4.5 $0.00002 $0.00182

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

Security

Grade A, and why

prediction-market-arbitrage scanned grade A with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/arbitrage_finder.py, scripts/prediction_market_client.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
financial/prediction-market-arbitrage/SKILL.md · 201 lines

How it starts

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

Cross-Platform Prediction Market Arbitrage ⚖️

Find arbitrage opportunities across prediction markets for autonomous agents. Powered by AIsa.

One API key. Match events across Polymarket and Kalshi to detect price discrepancies and potential risk-free profit opportunities.

Compatibility

Works with any agentskills.io-compatible harness, including:

  • Claude Code and Claude (Anthropic)
  • OpenAI Codex
  • Cursor
  • Gemini CLI (Google)
  • OpenCode, Goose, OpenClaw, Hermes
  • and any other harness that implements the Agent Skills specification

Requires Python 3, a POSIX shell, and AISA_API_KEY (get one at aisa.one).

What Can You Do?

Detect Price Discrepancies

"Find the current price difference for the US election market between Polymarket and Kalshi."

Match Cross-Platform Markets

"Find the Kalshi equivalent for this Polymarket sports event."

Track Arbitrage Spreads

"Monitor the price spread for the upcoming NBA game across all supported prediction markets."

Analyze Orderbook Depth

"Check the orderbook depth on both platforms to see if the arbitrage opportunity is actionable."

Quick Start

export AISA_API_KEY="your-key"

How to Look Up IDs

Most endpoints require an ID from the /markets or /matching-markets responses. Always query markets first, then pass the relevant ID to downstream endpoints.

  1. Polymarket token_id: Query /polymarket/markets, find side_a.id or side_b.id in the response, then use that value in the market price and orderbook endpoints.
  2. Kalshi market_ticker: Query /kalshi/markets, find market_ticker in the response, then use that value in the market price and orderbook endpoints.

Core Capabilities

1. Find Matching Markets

The first step in arbitrage is finding the same event on multiple platforms.

Read the full file on GitHub · 201 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 201 lines · 23 tokens per session scan A c75574b4b44b

Subscribe to this mod's changes

prediction-market-arbitrage is a skill published in the GitHub repository AIsa-team/agent-skills (25 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 1,819 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens