build_a_totals_model

build_a_totals_model is a skill for Claude Code, Codex from DanielTomaro13/sportsdata-agents. It costs 32 tokens per session (488 once invoked), scanned A, original, MIT.

A worked method for building a sports model that predicts whether a game’s combined score will be over or under a betting line. It uses scoring data, team pace and strength, probability estimates, and later-game testing.

In plain words
What is it for?
Use it to build and evaluate totals models, account for factors such as rest, venue, altitude, or weather, and check calibration on games held out from training.
Why use it?
It provides a structured way to measure whether score predictions are useful while limiting overconfidence from too little or poorly tested data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build and evaluate totals models, account for factors such as rest, venue, altitude, or weather, and check calibration on games held out from training.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danieltomaro13/sportsdata-agents/build_a_totals_model
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 DanielTomaro13/sportsdata-agents --skill build_a_totals_model
Clone the repo
git clone --depth 1 https://github.com/DanielTomaro13/sportsdata-agents

Made for: Claude Code, Codex.

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 build_a_totals_model

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danieltomaro13/sportsdata-agents/build_a_totals_model"><img src="https://agentmods.dev/badge/skills/danieltomaro13/sportsdata-agents/build_a_totals_model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 488 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.00032 $0.00488
Opus 5 $0.00016 $0.00244
Sonnet 5 $0.00006 $0.00098
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

build_a_totals_model 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 11d 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.

src/sportsdata_agents/skills/build_a_totals_model/SKILL.md · 36 lines

What it actually says

Build a totals model — worked example

Follow model_development for the method; this is the totals instantiation.

Recipe (run_python, one script)

  1. Data: per-game totals for both teams across as many seasons as the regime allows — count EVENTS against the parameter budget (model_development §2: 10–20 outcomes per parameter; a recent-window-only model must say how little it knows). Weight recency (exponential decay, half-life tuned on train) rather than truncating to a tiny window.
  2. Model the scoring process: totals are sums of scoring events — Normal(μ, σ) for high-scoring sports (basketball), Poisson for low-scoring (soccer/NHL goals). μ from pace-adjusted team offense/defense; σ estimated, not assumed (floor it sensibly; print it).
  3. Probability: p_over = 1 - CDF(line) — hand-rolled normal CDF (0.5 * (1 + math.erf((x - mu) / (sigma * 2**0.5)))) keeps the sandbox dependency-free.
  4. Features beyond pace (ask the user which they value — model_development §3): rest days, altitude/venue, weather for outdoor sports. Each one is a parameter; justify it.
  5. Holdout: train on the earlier slice, collect {prob, outcome} on the later slice ONLY, calibration_metricssave_model (params: μ/σ method, weights, seasons, line convention) → record_predictions with honest predicted_at.

Honesty rules

  • A Brier ≥ 0.25 on a balanced set is coin-flip territory — say so plainly.
  • The bar is the closing total (query_line_movement), not the base rate (quant_concepts: CLV) — report model vs market side by side.
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. 11d ago First seen · 36 lines · 32 tokens per session scan A 7709bb6c1c30

Subscribe to this mod's changes

build_a_totals_model is a skill published in the GitHub repository DanielTomaro13/sportsdata-agents (5 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 488 once invoked, about $0.0002 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

committee-prep

Utiliser pour préparer un comité d'arbitrage ou un comité de pilotage. Produit une synthèse de fond, des contre-arguments classés, les objections anticipées par participant, une formulation médiane et les critères de décision attendus.

Ludovic33Fr/product-ai-toolbox · 54 tokens

subagent-driven-development

Execute plans via delegatetask subagents (2-stage review).

NousResearch/hermes-agent · 17 tokens

mcporter

List, auth, and call MCP servers/tools from the terminal.

NousResearch/hermes-agent · 16 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens