agentleFS
juwonyeejuwonyee/election-risk/skills/prediction-markets/SKILL.md

prediction-markets

Skill2 starsChanged 17 days agoMITView on GitHub

Lists and prices every open Kalshi and Polymarket market for the Nov 3, 2026 US elections and for US policy events (bills, tariffs, regulators, ballot measures, court rulings), with midpoint prices, volume and rules text, from public APIs with no key. Use when the user asks for the odds of an election or policy outcome, wants to see which markets exist on a topic, or before an election-risk or candidate-positions task that needs the market list.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. BlockRunAI/blockrun-mcp★ 389same name
    2. predictionmarketspicks/mcp★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Files
SKILL.md

Prediction markets

Markets are information. Never say buy, sell or hedge, never size a position, and never help open an account or get around a venue's regional restrictions.

erisk below means python3 <skill-dir>/scripts/erisk.py (${CLAUDE_SKILL_DIR} in Claude Code). Run it from the user's working directory; output goes to ./election-risk-out/. Python 3.10+, standard library only.

The full list (read it, then search as a check)

erisk markets pull            # about 6 minutes the first time each day; then cached

Writes two plain lists, one line per event (venue:event | title | volume | close date | top outcomes):

  • election-risk-out/_markets/elections.md: contests decided by the Nov 3 vote (winners, chamber control, ballot measures). Margin, turnout and vote-share side markets are dropped. About 35k tokens: read it whole, in parts if your file reader has a size cap.
  • election-risk-out/_markets/house-districts.md: single House districts (they act through House control).
  • election-risk-out/_markets/policy.md: markets whose Yes is a policy (bill, tariff, regulator, moratorium, court ruling, government deal).

Each list can be read whole. Read the relevant one in full first: the titles are terse and the same thing is often priced under a name you would not search for. The filter keeps anything that might matter, so off-topic lines get in; skip them.

Then search as a check. The lists come from a keyword filter, and a market it misses is invisible. For each issue you are looking for, run erisk markets search with its one or two plainest words (USMCA, "data center", "minimum wage", a company or agency name). Search covers every open market on both venues, unfiltered. Add anything it finds that the lists missed.

One market in detail

erisk markets show GOVPARTYGA-26 --venue kalshi                       # prices + rules text
erisk markets show georgia-governor-winner-2026 --venue polymarket
erisk markets search "data center" --prices                           # keyword search, both venues

rules in the show output is one string when every outcome shares the same text, and an object keyed by outcome ticker (or Polymarket slug) when they differ, as in most races.

Read the rules before using a market. It counts only if its resolution text matches the question: what exactly resolves Yes, by when, and who decides. Similar titles often differ. Details, venue quirks and how prices are computed: references/markets.md.

Answer format

Market (what resolves Yes)VenuePriceVolumeCloses

Price = bid/ask midpoint, "thin" under 10,000 contracts (Kalshi) or $10,000 traded (Polymarket). Give both venues when both list it. Say when the prices were pulled. If a venue could not be reached (Polymarket returns HTTP 451 in some countries), say so and finish with the other.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.