add-scored-audit

add-scored-audit is a skill for Claude Code from JMMonte/agentic-digital-twin. It costs 88 tokens per session (893 once invoked), scanned A, original, MIT.

A procedure for adding an automated PASS, WARN, or FAIL check to a hardware project’s audit program. The check verifies exported design measurements against expected reference values.

In plain words
What is it for?
Checking requirements such as dimensions, volume, centre of gravity, mass, clearances, or safety margins using the project’s exported JSON data.
Why use it?
It prevents important requirements from quietly breaking and avoids audits that pass merely because a value exists or is positive.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-digital-twin plugin — 8 skills, 1 agent shipped together

Good fit Checking requirements such as dimensions, volume, centre of gravity, mass, clearances, or safety margins using the project’s exported JSON data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmmonte/agentic-digital-twin/add-scored-audit
Install

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.

Any agent
npx skills add JMMonte/agentic-digital-twin --skill add-scored-audit
Clone the repo
git clone --depth 1 https://github.com/JMMonte/agentic-digital-twin

Made for: Claude Code.

Or install agentic-digital-twin, the plugin that ships this one along with the rest of its 8 skills, 1 agent.

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 add-scored-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmmonte/agentic-digital-twin/add-scored-audit/github.svg)](https://agentmods.dev/skills/jmmonte/agentic-digital-twin/add-scored-audit)
Your own site
<a href="https://agentmods.dev/skills/jmmonte/agentic-digital-twin/add-scored-audit"><img src="https://agentmods.dev/badge/skills/jmmonte/agentic-digital-twin/add-scored-audit/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 add-scored-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmmonte/agentic-digital-twin/add-scored-audit"><img src="https://agentmods.dev/badge/skills/jmmonte/agentic-digital-twin/add-scored-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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.00088 $0.00893
Opus 5 $0.00044 $0.00447
Sonnet 5 $0.00018 $0.00179
Haiku 4.5 $0.00009 $0.00089

Measured 12d ago against content hash 515b100de229, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-scored-audit 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 12d 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.

skills/add-scored-audit/SKILL.md · 80 lines

How it starts

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

Add a scored audit check

A requirement that is not in an audit is a requirement that will silently regress. This skill adds one check the right way.

The rules a check must follow

  1. Read, don't redeclare. Pull the value from design/design.json or a build-exported out/*.json artifact. NEVER hard-code a geometry constant in the audit (regex it from the build source or read the JSON). A duplicated constant drifts and the audit then verifies a fiction.
  2. Assert an EXPECTED value, not existence. The gold guardrail: a wrong boolean still passes watertight + volume>0. So check that the as-built bbox / volume / CG / margin matches a known anchor within a tolerance — not merely that it is positive.
  3. Three outcomes. PASS, WARN (an HONEST, documented shortfall — e.g. physics contradicting a marketing claim), or FAIL (a real violation that must gate). Never use WARN to bury a real FAIL.
  4. Cross-check against an anchor. A derived number is only trustworthy when it agrees with an independent truth: a published [PUB] value, an analytic formula, or the REAL exported artifact.

Procedure

  1. Open the project's audit.py. Identify (or add) the right section header (sec = "N section name").

  2. Find the source of truth for the value being checked:

    • a [PUB] anchor or requirement in design/design.json, or
    • a build-exported artifact in out/ (bbox, volume, contact, section). If the build does not yet export what you need, add the export to the build FIRST (that is the source-of-truth discipline), then read it here.
  3. Add the check. For a value-vs-anchor check, prefer the expect() helper:

    sec = "2 clearances"
    prop_clearance = COMP["prop"]["bboxMin"][2] - deck_top_z   # from out/*.json
    req = D["requirements"]["prop_clearance_min_mm"]["min"]
    check(sec, "prop clears deck", prop_clearance >= req,
          f"clearance {prop_clearance:.1f} mm >= req {req} mm")
    

    For an as-built-matches-design check (the gold rule), assert the expected value, not just presence:

Read the full file on GitHub · 80 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. 12d ago First seen · 80 lines · 88 tokens per session scan A 515b100de229

Subscribe to this mod's changes

add-scored-audit is a skill published in the GitHub repository JMMonte/agentic-digital-twin (2 stars, last pushed 3mo ago), licensed MIT. It adds 88 tokens to every session and 893 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories