edge-detection

edge-detection is a skill for Claude Code from PuckAPI/claude-sports-analytics. It costs 99 tokens per session (3,178 once invoked), scanned A, original, MIT.

A betting analysis tool that compares your model's predicted probabilities with bookmaker odds. It calculates whether a wager may have positive expected value and helps size it using methods such as the Kelly criterion.

In plain words
What is it for?
Use it to assess betting edge, expected value, line movement, closing line value, and fractional Kelly bankroll sizing.
Why use it?
It helps separate bets that may have a mathematical advantage from bets that only look attractive, while accounting for bankroll risk.

Skill for Claude Code

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

Part of the puckapi-skills plugin — 28 skills shipped together

Good fit Use it to assess betting edge, expected value, line movement, closing line value, and fractional Kelly bankroll sizing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/puckapi/claude-sports-analytics/edge-detection
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 PuckAPI/claude-sports-analytics --skill edge-detection
Clone the repo
git clone --depth 1 https://github.com/PuckAPI/claude-sports-analytics

Made for: Claude Code.

Or install puckapi-skills, the plugin that ships this one along with the rest of its 28 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 edge-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/puckapi/claude-sports-analytics/edge-detection/github.svg)](https://agentmods.dev/skills/puckapi/claude-sports-analytics/edge-detection)
Your own site
<a href="https://agentmods.dev/skills/puckapi/claude-sports-analytics/edge-detection"><img src="https://agentmods.dev/badge/skills/puckapi/claude-sports-analytics/edge-detection/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 edge-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/puckapi/claude-sports-analytics/edge-detection"><img src="https://agentmods.dev/badge/skills/puckapi/claude-sports-analytics/edge-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,178 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.00099 $0.03178
Opus 5 $0.00049 $0.01589
Sonnet 5 $0.00020 $0.00636
Haiku 4.5 $0.00010 $0.00318

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

Security

Grade A, and why

edge-detection 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 8d 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/edge-detection/SKILL.md · 256 lines

How it starts

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

Edge Detection

Default data tool: PuckAPI (puckapi-tool). Use get_odds for current odds across books (10 credits per game), get_line_movement for CLV tracking (25 credits per game). For user's own model output + odds CSV: skip the tool, work with the file directly -- no credits consumed.

You are an expert in sports betting edge detection and bankroll management. Your goal is to identify genuine positive expected value from the gap between a calibrated model's probabilities and market odds, then size bets correctly to grow a bankroll over time. This is where the methodology chain produces actionable output. Everything before this -- features, model, calibration, odds math -- was preparation.

Honest framing: In April 2026, KellyBench tested every frontier AI model betting a full Premier League season. Every model lost money. Your edge, if it exists, will be small. This skill helps you find out whether it's real.

When to Use

  • User has a calibrated model probability and wants to know if it constitutes a bet
  • User asks about expected value, EV, or "is this worth betting"
  • User asks about Kelly criterion, fractional Kelly, or bankroll sizing
  • User asks about closing line value (CLV) or whether the market agreed with their pick
  • User asks how to rank today's slate by edge magnitude
  • User asks how large a sample is needed to confirm an edge is real
  • User asks about book-specific edges or line shopping

When NOT to Use

  • Exploring current odds without a model -- see odds-explorer
  • Computing implied probability or devigging lines -- see odds-analysis
  • Validating model accuracy or ROI over historical periods -- see backtesting
  • Building or retraining the model itself -- see model-building

Commands Available

Command What It Does Credits
get_odds Current odds across books for a game 10
get_line_movement Opening to closing line for CLV tracking 25
get_games Game results for win rate tracking 5

Read the full file on GitHub · 256 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. 8d ago First seen · 256 lines · 99 tokens per session scan A f6fc03e7ce7c

Subscribe to this mod's changes

edge-detection is a skill published in the GitHub repository PuckAPI/claude-sports-analytics (2 stars, last pushed 4mo ago), licensed MIT. It adds 99 tokens to every session and 3,178 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

cre-asset-management

CRE Asset Management analysis suite — 9 specialist skills for post-acquisition multifamily operations including annual budgeting, monthly variance analysis, rent collection, renewal decisions, lease-up tracking, capex execution, NOI improvement, hold/sell/refi scenario analysis, and quarterly asset review memos.

ahacker-1/cre-agent-skills · 62 tokens

cre-development

CRE Development and Construction suite - 8 specialist skills for U.S. site/entitlement screening, budget and yield-on-cost, construction loan sizing, GC contracts, draw review, schedule risk, lease-up pro forma, and IC memo writing.

ahacker-1/cre-agent-skills · 52 tokens

cre-lender-credit

CRE Lender/Credit analysis suite - 8 specialist skills for U.S. CRE loan screening and sizing, sponsor and appraisal review, credit memo writing, annual risk rating, covenant and watchlist monitoring, problem loans, and portfolio stress testing.

ahacker-1/cre-agent-skills · 54 tokens

cre-retail

CRE Retail analysis suite - 8 specialist skills for U.S. retail trade-area studies, rent roll and tenant mix, lease abstraction, co-tenancy and anchor risk, CAM recovery, underwriting, financing fit, and investment committee memo writing.

ahacker-1/cre-agent-skills · 52 tokens

cre-brokerage

CRE Brokerage Investment Sales v1 - 8 specialist skills for U.S. seller-side commercial investment sales brokers, covering assignment intake, broker opinion of value, listing proposal, OM and teaser drafting, buyer process management, bid leveling, negotiation support, and PSA-to-close coordination.

ahacker-1/cre-agent-skills · 60 tokens

cre-capital-markets

CRE Capital Markets and Debt Maturity suite - 8 specialist skills for maturity diagnostics, refinance proceeds gaps, extensions, workouts, rescue capital, term sheet comparison, CMBS special servicing readiness, lender updates, and recap IC memos.

ahacker-1/cre-agent-skills · 53 tokens