precise: Skill for Claude Code

.claude/skills/choose-covariance-estimator/SKILL.md

choose-covariance-estimator is a skill for Claude Code from microprediction/precise. It costs 50 tokens per session (454 once invoked), scanned A, original, MIT.

A guide for choosing a covariance estimator, which measures how variables in a dataset change together. It considers the dataset's size, numerical condition, and extreme values.

In plain words
What is it for?
Use it when preparing covariance, correlation, or precision estimates for statistical or machine-learning work.
Why use it?
It helps avoid choosing a statistical method that is poorly suited to the data and produces unreliable results.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is microprediction/precise's own configuration. It tells Claude Code how to work on precise itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything precise configures →

Reuse

Borrowing it

Nothing to install: this file belongs to microprediction/precise. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microprediction/precise/main/.claude/skills/choose-covariance-estimator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microprediction/precise

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 choose-covariance-estimator

README.md
[![agentmods](https://agentmods.dev/badge/skills/microprediction/precise/choose-covariance-estimator/github.svg)](https://agentmods.dev/skills/microprediction/precise/choose-covariance-estimator)
Your own site
<a href="https://agentmods.dev/skills/microprediction/precise/choose-covariance-estimator"><img src="https://agentmods.dev/badge/skills/microprediction/precise/choose-covariance-estimator/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 choose-covariance-estimator

Your own site · 80×15
<a href="https://agentmods.dev/skills/microprediction/precise/choose-covariance-estimator"><img src="https://agentmods.dev/badge/skills/microprediction/precise/choose-covariance-estimator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 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.00050 $0.00454
Opus 5.5 $0.00020 $0.00182
Sonnet 5.5 $0.00010 $0.00091
Haiku 4.5 $0.00005 $0.00045

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

Security

Grade A, and why

choose-covariance-estimator 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 2mo 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.

.claude/skills/choose-covariance-estimator/SKILL.md · 45 lines

What it actually says

Choose a covariance estimator for your data

No estimator wins everywhere, so precise recommends one from observable, truth-free features.

from precise import suggest, covariance_features

suggest(X, top=3)        # -> list of estimator CLASSES, best first
covariance_features(X)   # -> dict of the features behind the choice

X is 2-D (rows = observations, columns = variables). Then:

Est = suggest(X, top=1)[0]
est = Est()
est.fit(X)               # or stream rows with partial_fit
cov = est.covariance_

What it keys on

covariance_features(X) returns p, n, p_over_n, effective_rank, sphericity, condition_number, mean_abs_offdiag_corr, avg_excess_kurtosis — all computed from the sample, none requiring the unknown truth. Internally suggest uses a frozen, numpy-only decision tree; broadly it routes high p/n or ill-conditioned data to shrinkage/factor estimators and heavy-tailed data to robust ones.

Guardrail (important)

suggest is a heuristic trained on synthetic regimes. In leave-one-generative-family-out tests it does not reliably beat the single best fixed estimator on a wholly novel data-generating family — it generalizes across samples within familiar regimes, not to arbitrarily new structure. So:

  • Treat its output as a strong shortlist, not an oracle.
  • If the decision matters, verify the shortlist out-of-sample on your own data with the score-covariance-estimate skill, rather than trusting the recommendation blind.
  • A well-conditioned shrinkage estimator (LedoitWolfCovariance / OASCovariance) is a safe default when in doubt.
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. 2mo ago First seen · 45 lines · 50 tokens per session scan A 86073203da24

Subscribe to this mod's changes

choose-covariance-estimator is a skill published in the GitHub repository microprediction/precise (338 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 454 once invoked, about $0.0002 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-09-01.

Related

choose-covariance-estimator compared with skills from other repositories

choose-covariance-estimator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
choose-covariance-estimatormicroprediction/preciseSkill3385d agoMITA50Claude Code
arboretoK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA55Claude Code, Codex
deepspot-mK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA70Claude Code
torchdrugK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA64Claude Code
pyhealthK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA84Claude Code, Codex
nemo-mbridge-perf-expert-parallel-overlapNVIDIA/skillsSkill3.9kyesterdayApache-2.0A56Claude Code
ml-training-recipesOrchestra-Research/AI-Research-SKILLsSkill14k26d agoMITA88Claude Code