quant_concepts

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

A reference guide to common quantitative modeling concepts, including probability scoring, calibration, logistic regression, Poisson models, and gradient boosting. It explains what each method means and when it fits the available data.

In plain words
What is it for?
Use it to choose model families, understand Brier score and log-loss, evaluate out-of-sample predictions, interpret calibration curves, and decide when regularization or walk-forward testing is appropriate.
Why use it?
It makes model choices easier to justify and helps reveal problems such as overconfident predictions, correlated inputs, or noisy results from too little data.

Skill for Claude CodeCodex

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

Good fit Use it to choose model families, understand Brier score and log-loss, evaluate out-of-sample predictions, interpret calibration curves, and decide when regularization or walk-forward testing is appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danieltomaro13/sportsdata-agents/quant_concepts
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 quant_concepts
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 quant_concepts

README.md
[![agentmods](https://agentmods.dev/badge/skills/danieltomaro13/sportsdata-agents/quant_concepts.svg)](https://agentmods.dev/skills/danieltomaro13/sportsdata-agents/quant_concepts)
Your own site
<a href="https://agentmods.dev/skills/danieltomaro13/sportsdata-agents/quant_concepts"><img src="https://agentmods.dev/badge/skills/danieltomaro13/sportsdata-agents/quant_concepts.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 814 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.00045 $0.00814
Opus 5 $0.00023 $0.00407
Sonnet 5 $0.00009 $0.00163
Haiku 4.5 $0.00005 $0.00081

Measured 7d ago against content hash 017873ad7712, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

quant_concepts 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 7d 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/quant_concepts/SKILL.md · 57 lines

How it starts

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

Quant concepts — working definitions

Use these to explain your choices and to choose the right tool for the data volume.

Scoring probabilities

  • Brier score: mean squared error of prob vs outcome. 0 = oracle; 0.25 = coin flip on a balanced set. Insensitive to tail confidence; easy to interpret.
  • Log-loss: negative mean log-likelihood. Punishes confident wrongness brutally (a 0.99 that loses costs ~4.6; a 0.6 that loses costs ~0.9). If log-loss looks much worse than Brier, the model is overconfident in its tails.
  • Calibration curve: bucket predictions (e.g. deciles), compare bucket mean prob vs bucket hit rate. The diagonal is calibrated; S-shapes mean over/underconfidence. With < ~200 samples, buckets are noise — say so instead of plotting noise.
  • Always score on out-of-sample data; training-set scores are advertising.

Model families (match the tool to the sample size)

  • Logistic regression — the default. Linear in log-odds, a handful of parameters, stable on hundreds of events, coefficients are readable ("home advantage = +0.18 log-odds"). Add L2 regularization when features correlate.
  • Poisson / normal approximations — for scores and totals: model the scoring process (goals ~ Poisson, points ~ Normal), derive market probs analytically. Few parameters, strong structure — excellent for small samples.
  • Gradient boosting (XGBoost/LightGBM) — trees capture interactions and non-linearities, but they overfit small samples enthusiastically and their raw outputs are usually MIScalibrated (recalibrate afterwards — see calibrate_probabilities). Reach for boosting when you have thousands of events and engineered features; never for 50 games. The sandbox has no GPU and may not carry xgboost — sklearn's GradientBoostingClassifier or hand-rolled logistic is the portable default.
  • Elo-style ratings — not a model family, a feature factory: a single online rating per team, updated per game, feeds any of the above as a strong feature.

Read the full file on GitHub · 57 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. 7d ago First seen · 57 lines · 45 tokens per session scan A 017873ad7712

Subscribe to this mod's changes

quant_concepts is a skill published in the GitHub repository DanielTomaro13/sportsdata-agents (6 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 814 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.