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.
curl -O https://raw.githubusercontent.com/microprediction/precise/main/.claude/skills/choose-covariance-estimator/SKILL.mdgit clone --depth 1 https://github.com/microprediction/preciseWrote 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.
[](https://agentmods.dev/skills/microprediction/precise/choose-covariance-estimator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 2mo ago First seen · 45 lines · 50 tokens per session scan A 86073203da24
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.
choose-covariance-estimator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| choose-covariance-estimatormicroprediction/precise | Skill | 338 | 5d ago | MIT | A | 50 | Claude Code |
| arboretoK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 55 | Claude Code, Codex |
| deepspot-mK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 70 | Claude Code |
| torchdrugK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 64 | Claude Code |
| pyhealthK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 84 | Claude Code, Codex |
| nemo-mbridge-perf-expert-parallel-overlapNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 56 | Claude Code |
| ml-training-recipesOrchestra-Research/AI-Research-SKILLs | Skill | 14k | 26d ago | MIT | A | 88 | Claude Code |