polymarket-brier

polymarket-brier is a skill for Claude Code from runesleo/polymarket-toolkit. It costs 37 tokens per session (1,382 once invoked), scanned A, original, MIT.

A calculator for Brier Score, a standard measure of how accurate probability forecasts are, applied to Polymarket addresses.

In plain words
What is it for?
Use it to assess a Polymarket trader's prediction accuracy independently of profit, position size, and trading strategy. Lower scores indicate better accuracy.
Why use it?
Profit alone cannot show whether someone predicted outcomes well, because traders may earn money through market making or arbitrage.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to assess a Polymarket trader's prediction accuracy independently of profit, position size, and trading strategy. Lower scores indicate better accuracy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runesleo/polymarket-toolkit/polymarket-brier
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 runesleo/polymarket-toolkit --skill polymarket-brier
Clone the repo
git clone --depth 1 https://github.com/runesleo/polymarket-toolkit

Made for: Claude Code.

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 polymarket-brier

README.md
[![agentmods](https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-brier/github.svg)](https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-brier)
Your own site
<a href="https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-brier"><img src="https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-brier/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 polymarket-brier

Your own site · 80×15
<a href="https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-brier"><img src="https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-brier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,382 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 pass 7 Sept 2026
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.00037 $0.01382
Opus 5 $0.00018 $0.00691
Sonnet 5 $0.00007 $0.00276
Haiku 4.5 $0.00004 $0.00138

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

Security

Grade A, and why

polymarket-brier 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 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.

Makes network callslowCapability

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

allowed-tools: Bash(curl:*) Read Write Edit
skills/polymarket-brier/SKILL.md · 138 lines

How it starts

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

Polymarket Brier Score

Calculate prediction accuracy for any Polymarket address. Brier Score measures how close a trader's positions were to the actual outcomes — independent of PnL, position size, or trading strategy.

Why Brier Score?

PnL tells you who made money. Brier Score tells you who predicted correctly.

  • High PnL + Poor Brier → Market maker or arbitrageur (earns spread, not predictions)
  • Low PnL + Good Brier → Accurate predictor with small positions or conservative sizing
  • High PnL + Good Brier → Skilled predictor who also sizes well — the real signal

Trigger

User asks about prediction accuracy, Brier score, prediction quality, forecasting skill, or "how accurate is this trader".

Background

The Brier Score is a standard metric in forecasting (used by Metaculus, Good Judgment Project, etc.).

Formula: BS = (1/N) × Σ(forecast_probability - actual_outcome)²

  • 0.0 = perfect prediction (always right with 100% confidence)
  • 0.25 = no skill (equivalent to random 50/50 guessing)
  • 0.5+ = worse than random

Lower is better.

Input

Same as polymarket-profile — accepts 0x address, username, or profile URL.

Execution

Step 1: Fetch Settled Positions

curl -s "https://data-api.polymarket.com/positions?user={ADDRESS}&sizeThreshold=0&limit=100&offset=0"

Paginate until all positions are fetched (same as polymarket-profile).

Filter to settled positions only: redeemable == true.

For each settled position, extract:

  • outcome: "Yes" or "No" — the side the trader held
  • avgPrice: the trader's average entry price = their implied probability forecast
  • currentValue > 0: whether the market resolved in their favor (won) or not (lost)

Step 2: Determine Actual Outcome

For each settled position:

  • If currentValue > 0 (won): the outcome the trader bet on did happenactual = 1
  • If currentValue == 0 (lost): the outcome the trader bet on did not happenactual = 0

Step 3: Calculate Brier Score

Read the full file on GitHub · 138 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 · 138 lines · 37 tokens per session scan A 973cb51e4ef9

Subscribe to this mod's changes

polymarket-brier is a skill published in the GitHub repository runesleo/polymarket-toolkit (193 stars, last pushed 19d ago), licensed MIT. It adds 37 tokens to every session and 1,382 once invoked, about $0.0002 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.