prediction-alpha

prediction-alpha is a skill for Claude Code from mturac/hermes-supercode-skills. It costs 129 tokens per session (1,195 once invoked), scanned A, original, MIT.

A set of procedures for analyzing prediction markets such as Polymarket, Manifold Markets, and Kalshi. It converts market odds into probabilities and calculates measures such as expected value and possible arbitrage.

In plain words
What is it for?
Use it to analyze market probabilities, compare prices across platforms, find possible arbitrage, and calculate expected value or Kelly fractions.
Why use it?
It helps compare markets and interpret odds mathematically, while keeping the results informational rather than presenting them as financial advice.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the api-sculptor plugin — 13 skills shipped together , and of auth-architect, db-whisperer, deploy-ninja, ghost-scraper, infra-automation, mcp-conductor, obs-guardian, pipeline-architect, prediction-alpha, prompt-forge, quantum-debugger, security-sentinel

Good fit Use it to analyze market probabilities, compare prices across platforms, find possible arbitrage, and calculate expected value or Kelly fractions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mturac/hermes-supercode-skills/prediction-alpha
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 mturac/hermes-supercode-skills --skill prediction-alpha
Clone the repo
git clone --depth 1 https://github.com/mturac/hermes-supercode-skills

Made for: Claude Code.

Or install api-sculptor, the plugin that ships this one along with the rest of its 13 skills.

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-alpha

README.md
[![agentmods](https://agentmods.dev/badge/skills/mturac/hermes-supercode-skills/prediction-alpha/github.svg)](https://agentmods.dev/skills/mturac/hermes-supercode-skills/prediction-alpha)
Your own site
<a href="https://agentmods.dev/skills/mturac/hermes-supercode-skills/prediction-alpha"><img src="https://agentmods.dev/badge/skills/mturac/hermes-supercode-skills/prediction-alpha/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-alpha

Your own site · 80×15
<a href="https://agentmods.dev/skills/mturac/hermes-supercode-skills/prediction-alpha"><img src="https://agentmods.dev/badge/skills/mturac/hermes-supercode-skills/prediction-alpha.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,195 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00129 $0.01195
Opus 5.5 $0.00052 $0.00478
Sonnet 5.5 $0.00026 $0.00239
Haiku 4.5 $0.00013 $0.00120

Measured 3mo ago against content hash 66d044af9367, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prediction-alpha scanned grade A with 0 findings 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 3mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prediction-alpha/SKILL.md · 166 lines

How it starts

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

Prediction Alpha

You are a prediction market analyst. You work with mathematical precision on odds, probabilities, and expected value calculations. You never give financial advice — every output is informational analysis with a mandatory disclaimer.

Ethical Stance — Read This First

  • Never frame output as financial advice or trading recommendations
  • Always include a disclaimer at the end of every analysis
  • Always note the snapshot timestamp — odds change by the second
  • Present analysis as "the data suggests" not "you should"

Core Mathematics

These formulas are your foundation. Apply them correctly every time.

Implied probability from decimal odds:

P_implied = 1 / decimal_odds

Vig-free (fair) probability:

P_fair_i = P_implied_i / sum(all P_implied)

Expected value per unit staked:

EV = (P_win × net_payout) - (P_loss × stake)

Kelly criterion (fraction of bankroll):

f* = (b × p - q) / b
where b = net odds, p = estimated true probability, q = 1 - p

Arbitrage condition:

If sum(1 / best_odds_i for each outcome) < 1, arbitrage exists
Profit margin = 1 - sum(1 / best_odds_i)

Workflow

1. Market Discovery

Identify the market(s) the user is asking about. If they give a slug or URL, fetch directly. If they describe an event, search for matching markets.

Polymarket API:

GET https://clob.polymarket.com/markets
GET https://gamma-api.polymarket.com/markets?slug={slug}

Manifold API:

GET https://api.manifold.markets/v0/markets?term={search}
GET https://api.manifold.markets/v0/market/{slug}

2. Data Extraction

For each market, extract:

  • Current prices (YES/NO or multi-outcome)
  • 24h and 7d volume
  • Liquidity depth
  • Number of unique traders
  • Resolution date and criteria
  • Market creator reputation (if available)

3. Analysis

Run through these checks in order:

Market efficiency: Bid-ask spread < 2% and volume > $100k suggests efficient pricing — edge is unlikely. Thin markets with < $10k volume are more likely mispriced but harder to trade.

Read the full file on GitHub · 166 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. 3mo ago First seen · 166 lines · 129 tokens per session scan A 66d044af9367

Subscribe to this mod's changes

prediction-alpha is a skill published in the GitHub repository mturac/hermes-supercode-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 129 tokens to every session and 1,195 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

prediction-alpha compared with skills from other repositories

prediction-alpha next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prediction-alphamturac/hermes-supercode-skillsSkill26mo agoMITA129Claude Code
procurement-optimizeralirezarezvani/claude-skillsSkill31kyesterdayMITA50Claude Code
cfo-advisoralirezarezvani/claude-skillsSkill31kyesterdayMITA53Claude Code
ma-playbookalirezarezvani/claude-skillsSkill31kyesterdayMITA29Claude Code
sox-itgcSushegaad/Claude-Skills-Governance-Risk-and-ComplianceSkill1.1k18d agoMITA202Claude Code
agi-arbetsgivardeklarationseabasst/claude-smb-sverigeSkill103d agoMITA260Claude Code, Codex
f-skatt-bolagskontrollseabasst/claude-smb-sverigeSkill103d agoMITA250Claude Code, Codex