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.
npx skills add pproenca/dot-skills --skill deterministic-metric-designgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/deterministic-metric-design)<a href="https://agentmods.dev/skills/pproenca/dot-skills/deterministic-metric-design"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/deterministic-metric-design/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/pproenca/dot-skills/deterministic-metric-design"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/deterministic-metric-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00206 | $0.03365 |
| Opus 5.5 | $0.00082 | $0.01346 |
| Sonnet 5.5 | $0.00041 | $0.00673 |
| Haiku 4.5 | $0.00021 | $0.00336 |
Grade A, and why
deterministic-metric-design 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dot-skills Deterministic Metric Design Best Practices
Design metrics that are deterministic, computable, provable, and valid — measures an agent can trust and optimize against without gaming them. The 44 rules across 8 categories take a metric from a fuzzy construct to an adoptable, machine-checkable number: define the construct, confront computability limits with sound proxies, ground it in measurement theory, prove its properties, pin its determinism, validate it empirically, harden it against optimization pressure, and package it for adoption.
A running example threads through every category — a deterministic measure of behavior-preserving codebase-size reduction (shrink code without changing how the app works). It is the ideal stress test because its ideal form is provably out of reach (Kolmogorov complexity is uncomputable; program equivalence is undecidable by Rice's theorem), so the whole craft is building a deterministic, tractable proxy with a proven guarantee.
This is the measurement-design layer that the *-algorithms skills apply (Big-O, NDCG, cyclomatic, MoJoFM) but never teach.
When to Apply
Use this skill when:
- Designing a new metric, score, or index — or reviewing someone's proposed metric for rigor
- Asked to "quantify", "measure", "score", or "rank" a property that has no agreed measure yet
- Building a deterministic optimization target an agent will push on (e.g., reduce code size without changing behavior)
- Auditing an existing metric that "feels off" — it suspiciously tracks LOC, jumps between runs, or gets gamed
- Turning a research idea or formula into something computable, reproducible, and adoptable
Workflow: Define → Make Computable → Prove → Validate → Harden
The categories are ordered by cascade severity — an upstream mistake poisons everything below it. Work top-down, and jump straight to a category using this table:
| If you are… | Start in | First rule |
|---|---|---|
| Starting from a fuzzy property | def- |
def-name-the-latent-construct |
| Worried the ideal is uncomputable / undecidable | comp- |
comp-do-not-define-metric-as-uncomputable-ideal |
| Unsure whether you can average or take ratios | meas- |
meas-declare-the-scale-type |
| Claiming the metric behaves a certain way | prop- |
prop-prove-monotonicity |
| Getting different numbers between runs | det- |
det-pin-iteration-and-tie-break-order |
| Unsure it measures the real thing | valid- |
valid-discriminant-not-just-loc |
| Letting an agent optimize the metric | game- |
game-hard-block-construct-violating-wins |
| Publishing the metric for others | agg- |
agg-ship-reference-impl-and-test-vectors |
What ships with it
49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 13 KB
- assets/templates/_template.md 1.9 KB
- metadata.json 2.1 KB
- README.md 8.2 KB
- references/_sections.md 6.3 KB
- references/agg-report-uncertainty-not-false-precision.md 1.3 KB
- references/agg-respect-scale-in-aggregation.md 1.4 KB
- references/agg-ship-reference-impl-and-test-vectors.md 1.6 KB
- references/agg-version-the-metric-publicly.md 1.3 KB
- references/comp-bound-approximation-error-explicitly.md 1.5 KB
- references/comp-choose-a-decidable-observational-equivalence.md 2.0 KB
- references/comp-design-a-proxy-with-a-proven-error-direction.md 2.0 KB
- references/comp-do-not-define-metric-as-uncomputable-ideal.md 2.0 KB
- references/comp-keep-the-metric-tractable.md 1.9 KB
- references/comp-prefer-monotone-confluent-transformations.md 2.0 KB
- references/comp-respect-rices-theorem-for-semantic-properties.md 2.0 KB
- references/def-anchor-to-the-decision.md 1.6 KB
- references/def-fix-unit-of-analysis.md 1.9 KB
- references/def-name-the-latent-construct.md 2.1 KB
- references/def-operationalize-behavior-and-size.md 2.1 KB
- references/def-separate-construct-from-proxy.md 1.8 KB
- references/def-write-falsifiable-operational-definition.md 1.6 KB
- references/det-control-floating-point-and-accumulation.md 1.6 KB
- references/det-make-the-metric-a-pure-function.md 1.5 KB
- references/det-pin-iteration-and-tie-break-order.md 1.5 KB
- references/det-pin-the-input-representation.md 1.5 KB
- references/det-version-and-record-the-toolchain.md 1.3 KB
- references/game-detect-reward-hacking-with-audits.md 1.5 KB
- references/game-hard-block-construct-violating-wins.md 1.6 KB
- references/game-make-cheapest-improvement-the-right-one.md 1.6 KB
- references/game-pair-with-guardrail-metrics.md 1.5 KB
- references/game-recognize-goodhart-variants.md 1.6 KB
- references/meas-avoid-ad-hoc-weighted-sums.md 1.7 KB
- references/meas-declare-the-scale-type.md 1.5 KB
- references/meas-establish-meaningful-zero-and-unit.md 1.4 KB
- references/meas-only-admissible-statistics.md 1.5 KB
- references/meas-preserve-the-empirical-relation.md 1.6 KB
- references/prop-check-weyuker-briand-axioms.md 1.6 KB
- references/prop-ensure-sensitivity-to-relevant-change.md 1.5 KB
- references/prop-prove-boundedness-and-handle-empty.md 1.6 KB
- references/prop-prove-invariance-under-irrelevant-transforms.md 1.6 KB
- references/prop-prove-monotonicity.md 1.6 KB
- references/prop-prove-or-disclaim-composability.md 1.6 KB
- references/valid-beat-the-trivial-baseline.md 1.4 KB
- references/valid-calibrate-thresholds-to-ground-truth.md 1.4 KB
- references/valid-converge-with-accepted-measure.md 1.6 KB
- references/valid-discriminant-not-just-loc.md 1.6 KB
- references/valid-predictive-validity-against-outcome.md 1.5 KB
- references/valid-validate-out-of-sample.md 1.5 KB
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.
- 3mo ago First seen · 146 lines · 206 tokens per session scan A 149db349fd5a
deterministic-metric-design is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 206 tokens to every session and 3,365 once invoked, about $0.0008 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-08-30.
deterministic-metric-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deterministic-metric-designpproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 206 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |