precise: Skill for Claude Code

.claude/skills/keyed-dynamic-universe/SKILL.md

keyed-dynamic-universe is a skill for Claude Code from microprediction/precise. It costs 57 tokens per session (482 once invoked), scanned A, original, MIT.

A statistical tool for tracking covariance among named data series when the set of names changes over time. Covariance measures how two values tend to vary together.

In plain words
What is it for?
Use it for online covariance calculations involving changing collections of assets or other named series.
Why use it?
It handles observations stored by name even when items enter or leave the dataset.

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/keyed-dynamic-universe/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 keyed-dynamic-universe

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microprediction/precise/keyed-dynamic-universe"><img src="https://agentmods.dev/badge/skills/microprediction/precise/keyed-dynamic-universe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 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.00057 $0.00482
Opus 5.5 $0.00023 $0.00193
Sonnet 5.5 $0.00011 $0.00096
Haiku 4.5 $0.00006 $0.00048

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

Security

Grade A, and why

keyed-dynamic-universe 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/keyed-dynamic-universe/SKILL.md · 42 lines

What it actually says

Keyed covariance over a changing universe

In streaming/finance settings observations are dicts keyed by name, and the set of names changes. keyed decorates any positional estimator to consume keyed dicts and emit keyed output.

pip install precise            # add [pandas] for to_frame()
from precise import keyed, EwaCovariance

est = keyed(EwaCovariance(r=0.05), dynamic=True)     # universe may change over time
est.partial_fit({"BTC": 0.01, "ETH": -0.02})         # river-style: also .update / .learn_one
est.partial_fit({"ETH": 0.00, "SOL": 0.03})          # BTC drops out, SOL enters

est.covariance_["ETH"]["SOL"]                         # dict-of-dicts over the live universe
est.to_frame()                                        # pandas DataFrame  (needs [pandas])

Fixed vs dynamic

  • keyed(est) / dynamic=False → FixedUniverse: one wrapped estimator; missing keys are imputed. Use when the set of names is stable and you just want dict ergonomics.
  • keyed(est, dynamic=True) → DynamicUniverse: tracks multiple live key-sets with staleness / longevity eviction and assembles a pairwise matrix. Use when names genuinely enter and leave.

Notes

  • The adapter adds no covariance math of its own — it wraps the positional estimator, so any estimator from the estimate-online-covariance skill works inside it (LedoitWolfCovariance, HuberCovariance, …).
  • The assembled matrix is projected to the nearest PSD; expect small adjustments when the live universe changes.
  • To score/compare keyed estimators, extract the dense covariance_ (e.g. via to_frame().values) and use the score-covariance-estimate skill.
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 · 42 lines · 57 tokens per session scan A b705e4afbfd0

Subscribe to this mod's changes

keyed-dynamic-universe is a skill published in the GitHub repository microprediction/precise (338 stars, last pushed 5d ago), licensed MIT. It adds 57 tokens to every session and 482 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

keyed-dynamic-universe compared with skills from other repositories

keyed-dynamic-universe next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keyed-dynamic-universemicroprediction/preciseSkill3385d agoMITA57Claude 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