rust-doctor: Skill for Claude Code

.claude/skills/corpus-adjudicate/SKILL.md

corpus-adjudicate is a skill for Claude Code from arthjean/rust-doctor. It costs 79 tokens per session (4,164 once invoked), scanned A, original, Apache-2.0.

A procedure for testing one catalogued rule against a deeper sample of real code from a fixed collection of websites.

In plain words
What is it for?
Use it when adjudicating a rule: verify the test suite, inspect the pinned corpus and rule criteria, examine the actual code, and recompute the measured rate.
Why use it?
A five-site sample can only estimate accuracy in 20-point steps, so more examples are needed to judge whether a rule is wrong often enough to matter.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is arthjean/rust-doctor's own configuration. It tells Claude Code how to work on rust-doctor 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 rust-doctor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arthjean/rust-doctor. 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/arthjean/rust-doctor/main/.claude/skills/corpus-adjudicate/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arthjean/rust-doctor

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 corpus-adjudicate

README.md
[![agentmods](https://agentmods.dev/badge/skills/arthjean/rust-doctor/corpus-adjudicate/github.svg)](https://agentmods.dev/skills/arthjean/rust-doctor/corpus-adjudicate)
Your own site
<a href="https://agentmods.dev/skills/arthjean/rust-doctor/corpus-adjudicate"><img src="https://agentmods.dev/badge/skills/arthjean/rust-doctor/corpus-adjudicate/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 corpus-adjudicate

Your own site · 80×15
<a href="https://agentmods.dev/skills/arthjean/rust-doctor/corpus-adjudicate"><img src="https://agentmods.dev/badge/skills/arthjean/rust-doctor/corpus-adjudicate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,164 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.04164
Opus 5 $0.00039 $0.02082
Sonnet 5 $0.00016 $0.00833
Haiku 4.5 $0.00008 $0.00416

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

Security

Grade A, and why

corpus-adjudicate 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.

.claude/skills/corpus-adjudicate/SKILL.md · 373 lines

How it starts

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

Adjudicate one rule

Admission asks whether a rule fires on the pattern it claims. This asks the other question, how often it is wrong on healthy code, and it is the question the published rate answers. adjudication.sampling states plainly that five sites resolve steps of twenty points and cannot place a rule against the five percent threshold, so deepening a sample is what turns a published number into a defensible one.

One word governs the whole run. A verdict reached without opening the code is hearsay: inferred from a neighbouring site, from the rule's reputation, or from the tool's own claim. Hearsay is not a weaker verdict, it is not a verdict, and it never enters the measurement. Everything below exists to keep it out.

Read the "The pinned corpus" and "Admitting a rule" sections of docs/catalog-and-corpus.md first, and the adjudication.criterion field of tests/corpus.json, which is the definition every verdict is measured against. Verify the suite is green before starting, so a failure during the run belongs to this work.

Nothing below asks for a figure to be computed by hand. Every statistic this protocol publishes is recomputed by the suite from the record you write: what this skill has to get right is the record, not the arithmetic over it.

What the harness already enforces

Six invariants hold whatever you do. They catch a corrupted sample, never hearsay, which reads exactly like a real verdict and is yours to keep out:

  • The rate is derived, never written. precision() in tests/support/corpus.rs computes every published rate from adjudication.reviewed alone, and a test asserts the published field equals the recomputation.
  • The interval and the separation are derived from the same sample, so a rate that settles nothing against the threshold says so rather than reading like a measurement.
  • The agreement of the two passes is derived from adjudication.agreement.pairs alone: every row of adjudication.agreement.coefficients is recomputed by the suite, and a row edited by hand fails naming the rule and the field.
  • A reviewed site must name a finding the corpus actually produced, at its published path and line, and in its published context. Both are checked in the_published_observations_reproduce_the_pinned_corpus_run.
  • (rule, repository, path, line) is unique. A site reviewed twice makes the rule incomplete and withholds its rate.
  • MINIMUM_REVIEWED_SITES is a floor of five, not a ceiling. The only upper bound is reviewed <= findings.

Read the full file on GitHub · 373 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 · 373 lines · 79 tokens per session scan A 5ff37a7d7f3d

Subscribe to this mod's changes

corpus-adjudicate is a skill published in the GitHub repository arthjean/rust-doctor (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 79 tokens to every session and 4,164 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-30.

Related

Other skills, from other repositories

ast-grep

Use for ast-grep project setup, rule authoring, rule debugging, and structural search workflows.

vinhnx/VTCode · 24 tokens

ix

This skill should be used when answering structural questions about a codebase: understanding what a symbol is, tracing flows, measuring change impact, finding callers/callees/imports, or detecting code smells. It drives the Ix CLI (ix map/explain/trace/impact/search/rank/smells) against a persistent code graph stored…

ix-infrastructure/Ix · 103 tokens

skill-installer

Install VT Code skills into /.agents/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo, including private repos.

vinhnx/VTCode · 52 tokens

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

cymbal

Tree-sitter indexed code navigator. Use the cymbal CLI — not Read, Grep, Glob, or Bash — for finding where symbols are defined, tracing callers and callees, locating interface implementations, understanding the impact of a change, and mapping imports across an existing codebase. Returns precise, token-efficient…

1broseidon/cymbal · 89 tokens

cmd-analyze

Perform comprehensive codebase analysis and generate reports (usage: /analyze [full|security|performance]).

vinhnx/VTCode · 25 tokens