Agent skill

Polymarket

by AlexAI-MCP in AlexAI-MCP/hermes-CCC

Query Polymarket prediction markets for probability data and research insights on real-world events.

MITAuto-check passedBusiness, Finance & HR

Install Polymarket

skills CLI
$ npx skills add AlexAI-MCP/hermes-CCC --skill polymarket -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AlexAI-MCP/hermes-CCC polymarket --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/polymarket .claude/skills/polymarket && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
polymarket
GitHub stars
135
Token cost
~1.8k tokens
SKILL.md length
796 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Query Polymarket prediction markets for probability data and research insights on real-world events.

  • Works in 3 steps: Track a single topic with curl and jq. → Save a reproducible snapshot before… → Filter to liquid markets in Python…
  • Business, Finance & HR work in your project
  • SKILL.md covers Purpose, API Surface, Request Discipline and Rate… and Fetch Active Markets, plus 12 more sections
  • Calls curl and jq; reaches gamma-api.polymarket.com and clob.polymarket.com

What it does

Polymarket is an agent skill from AlexAI-MCP/hermes-CCC. Query Polymarket prediction markets for probability data and research insights on real-world events.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR. It works with Polymarket. The repository describes itself as: Hermes Agent ported to Claude Code Channel — 46 native skills, no OAuth, no external process. The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “/polymarket”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Track a single topic with curl and jq.
  2. Save a reproducible snapshot before doing interpretation.
  3. Filter to liquid markets in Python before ranking.

What it can do on your machine

Read from SKILL.md and the folder at commit 8107e89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • gamma-api.polymarket.com
    • clob.polymarket.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Polymarket loads about 1.8k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 796 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AlexAI-MCP/hermes-CCC at commit 8107e89, republished under its MIT licence (© AlexAI-MCP). 796 words, ~1,762 tokens.

Download SKILL.mdSave it as .claude/skills/polymarket/SKILL.md (or your agent's skills folder).
name
polymarket
description
Query Polymarket prediction markets for probability data and research insights on real-world events.
version
1.0.0
author
hermes-CCC (ported from Hermes Agent by NousResearch)
license
MIT

Polymarket

Purpose

  • Use this skill to pull live prediction market data for research and forecasting workflows.
  • Polymarket is useful for probability-oriented views of current events, elections, macro themes, and sports or policy questions.
  • Treat the market price as a crowd-implied probability signal, not ground truth.

API Surface

  • Base reference: https://clob.polymarket.com/
  • Public market discovery is commonly accessed through the gamma API.
  • Start with active markets and then filter by topic or keyword.

Request Discipline and Rate Limits

  • Send a timeout on every request and fail fast instead of hanging a long-running research pass.
  • Start with at most 1 request per second when iterating on the gamma API and slow down further if responses get unstable.
  • Back off and retry once on 429 or transient 5xx responses with a short sleep before the second request.
  • Cache raw JSON snapshots by timestamp when polling the same topic so you do not hit the API repeatedly for the same view.
  • Keep limit small during discovery, then widen only after you confirm the endpoint shape and the filter logic you need.
  • Record the exact URL you used in notes or logs so later analysis can reproduce the same market slice.

Fetch Active Markets

bash
curl "https://gamma-api.polymarket.com/markets?active=true&limit=20"
  • This returns a JSON list of market objects.
  • Use small limits during exploration and larger limits when building a topic watcher.

Important Market Fields

  • question
  • outcomes
  • outcomePrices
  • volume

These are usually enough for first-pass research.

Additional Fields to Inspect

  • Inspect slug when you need a stable human-readable identifier for later lookups or reporting.
  • Inspect endDate or other settlement timing fields when the timing of resolution matters more than the headline probability.
  • Inspect liquidity when present to separate tradeable markets from thin markets that move on little size.
  • Inspect active and closed to keep live monitoring separate from post-resolution analysis.
  • Inspect category, tags, or related event metadata when you need to group markets into a watcher by theme.
  • Inspect conditionId or token identifiers when you need to correlate market data across downstream systems.

Interpret the Data

  • question is the market prompt.
  • outcomes lists the named outcomes, often Yes and No.
  • outcomePrices represents the current market-implied probabilities.
  • volume helps indicate liquidity and how much weight to assign the price signal.

Probability Interpretation

  • Interpret a price like 0.65 as roughly a 65 percent implied chance.
  • Lower-liquidity markets may be noisier.
  • High probability is not certainty.
  • Large probability moves over time can matter more than a single point estimate.

Python Example

python
import requests

url = "https://gamma-api.polymarket.com/markets?active=true&limit=20"
markets = requests.get(url, timeout=20).json()

for market in markets:
    question = market.get("question")
    prices = market.get("outcomePrices")
    print(question, prices)
  • This is the minimum useful fetch loop.
  • Add defensive parsing because API field presence can vary.
Show full SKILL.md (375 more words)Show less

Error Handling and Parsing Rules

  • Call response.raise_for_status() before parsing JSON so transport failures are not mistaken for empty market sets.
  • Normalize the response into a list even if the endpoint returns a single object or a wrapped payload.
  • Parse outcomes and outcomePrices defensively because some clients expose them as serialized JSON strings.
  • Skip a market if the number of outcomes does not match the number of prices, and log the question for review.
  • Treat missing volume or liquidity as a low-confidence signal instead of silently trusting the quoted price.
  • Drop closed or inactive markets from live-monitoring runs unless the task is explicitly about settlement or historical analysis.
  • Return the raw market object when the schema changes and your parser no longer finds the expected keys.

Filter by Category or Keyword

  • Filter by category when tracking a domain like politics, crypto, or macro.
  • Filter by keyword when you care about a specific topic such as tariffs, Fed, or OpenAI.
  • Keep the raw result set if you want to backtest or compare price movement later.

Simple pattern:

python
keyword = "election"
filtered = [
    m for m in markets
    if keyword.lower() in (m.get("question", "")).lower()
]

Concrete Workflows

  1. Track a single topic with curl and jq.
bash
curl -s "https://gamma-api.polymarket.com/markets?active=true&limit=100" \
  | jq -r '.[] | select((.question // "") | ascii_downcase | contains("fed")) | [.question, .outcomePrices, .volume] | @tsv'
  1. Save a reproducible snapshot before doing interpretation.
bash
mkdir -p data/polymarket
curl -s "https://gamma-api.polymarket.com/markets?active=true&limit=100" \
  -o "data/polymarket/markets_$(date +%Y%m%d_%H%M%S).json"
  1. Filter to liquid markets in Python before ranking.
python
import requests

markets = requests.get(
    "https://gamma-api.polymarket.com/markets?active=true&limit=100",
    timeout=20,
).json()

liquid = [
    m for m in markets
    if float(m.get("volume") or 0) >= 10000
]

Use these workflows for headline watchers, event-specific dashboards, and daily probability snapshots that need to be comparable over time.

Research Use Cases

  • calibration research
  • current event probabilities
  • forecasting support
  • comparing market odds to analyst narratives
  • monitoring how expectations move after news breaks

Practical Workflow

  1. Pull active markets.
  2. Filter to the topic you care about.
  3. Extract question, outcomes, outcomePrices, and volume.
  4. Rank by liquidity or relevance.
  5. Compare probability shifts over time for insight.

Caveats

  • Prediction markets reflect tradable sentiment, not guaranteed truth.
  • Low volume can distort the apparent probability.
  • Market structure and fees can affect behavior.
  • Always interpret results in context of liquidity and market design.

Summary

  • Use Polymarket for research into crowd-implied probabilities on real-world events.
  • Start with https://clob.polymarket.com/ and fetch active markets via https://gamma-api.polymarket.com/markets?active=true&limit=20.
  • Useful market fields include question, outcomes, outcomePrices, and volume.
  • A price such as 0.65 can be read as about a 65 percent implied chance.
  • Use simple Python requests scripts or curl, then filter by category or keyword for forecasting and calibration workflows.

© AlexAI-MCP, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/polymarket of AlexAI-MCP/hermes-CCC.

Open the folder on GitHubat commit 8107e89

Compare with similar skills

Polymarket next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Polymarket compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Polymarket this skillAlexAI-MCP/hermes-CCC135—~1.8kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Polymarket TradingBlockRunAI/ClawRouter6.6k—~1.4kAutomated safety check: PassMIT
Dr Manhattanguzus/dr-manhattan204—~2kAutomated safety check: PassApache-2.0
Fintoolsecond-state/fintool316—~5.9kAutomated safety check: PassNone

Similar skills

  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Polymarket Trading

    BlockRunAI/ClawRouter

    A skill your agent uses when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools).

    6.6k GitHub stars~1.4k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Dr Manhattan

    guzus/dr-manhattan

    Trade prediction markets (Polymarket, Kalshi, Opinion, Limitless, Predict.fun) using a unified CCXT-style API.

    204 GitHub stars~2k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Fintool

    second-state/fintool

    Financial trading CLIs — spot and perp trading on Hyperliquid, Binance, Coinbase, OKX.

    316 GitHub stars~5.9k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed

More from AlexAI-MCP/hermes-CCC

All 44 skills in this repo
  • GitHub Code Review

    AlexAI-MCP/hermes-CCC

    Review GitHub pull requests with a findings-first engineering mindset.

    135 GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • GitHub PR Workflow

    AlexAI-MCP/hermes-CCC

    Run a disciplined GitHub pull request workflow from branch creation through merge.

    135 GitHub stars~1.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Memory

    AlexAI-MCP/hermes-CCC

    Manage durable project memory for Claude Code. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Route

    AlexAI-MCP/hermes-CCC

    Route Claude Code work by complexity, risk, and tool needs. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Skill

    AlexAI-MCP/hermes-CCC

    Create, improve, inventory, and audit Claude Code skills. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Traj

    AlexAI-MCP/hermes-CCC

    Capture Claude Code interaction trajectories in training-friendly formats.

    135 GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Works with

Questions about Polymarket

What does Polymarket do?

Query Polymarket prediction markets for probability data and research insights on real-world events. Polymarket is an agent skill from AlexAI-MCP/hermes-CCC. Query Polymarket prediction markets for probability data and research insights on real-world events.

When should I use Polymarket?

Polymarket fits situations like: business, Finance & HR work in your project.

How do I install Polymarket in Claude Code?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill polymarket -a claude-code`. Or copy the skill folder (skills/polymarket in AlexAI-MCP/hermes-CCC) into .claude/skills/polymarket in your project. Claude Code loads it when a task matches its description.

How do I install Polymarket in Codex?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill polymarket -a codex`. Or copy the skill folder (skills/polymarket in AlexAI-MCP/hermes-CCC) into .agents/skills/polymarket in your project. Codex loads it when a task matches its description.

Can I use Polymarket in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlexAI-MCP/hermes-CCC --skill polymarket -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/polymarket, .gemini/skills/polymarket, .github/skills/polymarket and .opencode/skills/polymarket in your project.

What does Polymarket need to run?

Going by SKILL.md and its folder, Polymarket needs the command-line tools its instructions call (curl and jq). Our summary lists: Python 3.

Does Polymarket access the network?

SKILL.md names 2 domains. In commands or code: gamma-api.polymarket.com and clob.polymarket.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Polymarket safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Polymarket use?

Polymarket is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Polymarket use?

About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Polymarket?

Skills that share tags, products or a category with Polymarket: Digital Oracle (komako-workshop/digital-oracle, 878 stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Polymarket Trading (BlockRunAI/ClawRouter, 6.6k stars) and Dr Manhattan (guzus/dr-manhattan, 204 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Polymarket?

AlexAI-MCP (a GitHub user) maintains it in AlexAI-MCP/hermes-CCC, which has 135 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on April 8, 2026.

Source: AlexAI-MCP/hermes-CCC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.