precise: Skill for Claude Code

.claude/skills/assess-covariance-method/SKILL.md

assess-covariance-method is a skill for Claude Code from microprediction/precise. It costs 78 tokens per session (1,641 once invoked), scanned A, original, MIT.

A method for carefully evaluating a new covariance, correlation, or precision estimator—statistical ways to describe relationships and variation in data.

In plain words
What is it for?
It is for checking implementation correctness, compliance, and benchmark results for covariance-related methods.
Why use it?
It helps determine whether a proposed statistical method follows its specification and performs well against alternatives.

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/assess-covariance-method/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 assess-covariance-method

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microprediction/precise/assess-covariance-method"><img src="https://agentmods.dev/badge/skills/microprediction/precise/assess-covariance-method.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,641 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.00078 $0.01641
Opus 5.5 $0.00031 $0.00656
Sonnet 5.5 $0.00016 $0.00328
Haiku 4.5 $0.00008 $0.00164

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

Security

Grade A, and why

assess-covariance-method 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/assess-covariance-method/SKILL.md · 114 lines

How it starts

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

Assess a new covariance/correlation methodology

A protocol for turning "here's a covariance idea" into a defensible verdict. Work the steps in order; stop early only if a step fails. Install: pip install precise[research] (the research/ scripts use scikit-learn and randomcov).

0. Classify the method first

  • Estimator (produces a matrix) vs assessor (scores a matrix)? Different paths below.
  • Online (updatable per observation) or batch? precise is an online library; a batch method can still be wrapped, but say so.
  • Does it target the covariance, correlation, or precision? It must expose, or be convertible to, covariance_.
  • Does evaluating it need the ground-truth covariance (simulation only) or work on real data?

1. Implement it to the contract

Subclass BaseOnlineCovariance. The cheapest correct route: copy the simplest existing estimator and modify it — read precise/empirical.py (and precise/base.py for the exact hook signatures, typically _init_state / _update_state / _state_to_cov / _state_to_mean). The base class owns partial_fit, fit, and the derived attributes; the subclass only supplies the state update and the map to a covariance. Register it in precise/registry.py so all_estimators() includes it.

A scoring rule instead? Implement an Assessor (see precise/assessment/), set needs_data / needs_truth, and follow the higher = better convention.

2. Conformance — non-negotiable

Run the conformance suite (tests/test_estimators.py parametrizes over all_estimators()), or check the invariants directly:

  • covariance_ is symmetric and PSD (eigenvalues ≥ 0);
  • correlation_ has unit diagonal; precision_ @ covariance_ ≈ I when well-conditioned;
  • streaming rows via partial_fit equals fit(X) for non-windowed estimators;
  • set_state(get_state()) round-trips;
  • it runs on the numpy-only install (no hidden heavy deps).

If it fails any of these, fix the implementation before any benchmarking — numbers from a non-conformant estimator are meaningless.

Read the full file on GitHub · 114 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. 2mo ago First seen · 114 lines · 78 tokens per session scan A 516081facb0e

Subscribe to this mod's changes

assess-covariance-method is a skill published in the GitHub repository microprediction/precise (338 stars, last pushed 5d ago), licensed MIT. It adds 78 tokens to every session and 1,641 once invoked, about $0.0003 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

assess-covariance-method compared with skills from other repositories

assess-covariance-method next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
assess-covariance-methodmicroprediction/preciseSkill3385d agoMITA78Claude Code
marketing-psychologyfigueroaignacio/ignaciofigueroa.devSkill78d agoMITA111Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA43Claude Code, Codex