# polymarket-analyzer

Scans Polymarket prediction markets for arbitrage, order book imbalances, and volume spikes. Useful for traders evaluating price inefficiencies without API keys.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 486 installs · ★ 97
- Author: mjunaidca
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mjunaidca/polymarket-skills/tree/HEAD/polymarket-analyzer/SKILL.md
- Updated: 2026-02-26
- HTML: https://affpapa.org/en/nevibecode/skills/polymarket-analyzer

## What it does

This skill connects your coding agent to live Polymarket data via public Gamma and CLOB APIs. All requests run read-only and require zero authentication. The skill will never execute trades for you, so every position must be placed manually.

Execution relies on four Python scripts. The `scripts/find_edges.py` tool scans active markets where YES and NO contract sums diverge from parity after deducting taker fees. To inspect market depth for a specific token, `scripts/analyze_orderbook.py` takes a `--token-id` flag to evaluate bid-ask spreads, imbalance ratios, and liquidity thickness.

For market movement, `scripts/momentum_scanner.py` spots markets where 24-hour volume exceeds the 7-day average. The bundle also provides `scripts/correlation_tracker.py`, which grades portfolio risk on a 0 to 100 diversification scale. Keep in mind that 5-minute and 15-minute crypto markets incur dynamic taker fees, which the scripts account for in breakeven calculations.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mjunaidca/polymarket-skills --skill polymarket-analyzer -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/polymarket-analyzer/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/polymarket-analyzer/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mjunaidca/polymarket-skills --skill polymarket-analyzer -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/polymarket-analyzer/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mjunaidca/polymarket-skills --skill polymarket-analyzer -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/polymarket-analyzer/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mjunaidca/polymarket-skills polymarket-analyzer
```

2. **Manually: put the files in place**
- File: `.github/skills/polymarket-analyzer/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mjunaidca/polymarket-skills --skill polymarket-analyzer -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mjunaidca/polymarket-skills --path polymarket-analyzer
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/polymarket-analyzer/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add mjunaidca/polymarket-skills --skill polymarket-analyzer -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mjunaidca/polymarket-skills/tree/HEAD/polymarket-analyzer/SKILL.md

## When to use it
- detect underpriced and overpriced contract pairs across active markets
- calculate order book spread and bid-ask depth for a target token
- screen prediction markets for 24-hour volume surges
- score portfolio diversification from 0 to 100 to catch clustered exposure

## Example prompts
- Scan Polymarket for pricing discrepancies using scripts/find_edges.py
- Check the order book imbalance for --token-id <TOKEN_ID> with depth 10
- Run momentum_scanner.py to find recent volume surges above 10000

## Similar
- [polymarket](https://affpapa.org/en/nevibecode/skills/polymarket.md) — skill · 1300 installs
- [trading-strategies](https://affpapa.org/en/nevibecode/skills/trading-strategies.md) — skill · 1200 installs
- [web3-polymarket](https://affpapa.org/en/nevibecode/skills/web3-polymarket.md) — skill · 578 installs
- [llmquant-prediction-markets](https://affpapa.org/en/nevibecode/skills/llmquant-prediction-markets.md) — skill · 496 installs
- [markets](https://affpapa.org/en/nevibecode/skills/markets.md) — skill · 861 installs
- [market-breadth-analyzer](https://affpapa.org/en/nevibecode/skills/market-breadth-analyzer.md) — skill · 3500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
