plumb-line-audit

plumb-line-audit is a skill for Claude Code from slopstopper/plumb-line. It costs 0 tokens per session (3,912 once invoked), scanned A, original, Apache-2.0.

A read-only review of a code change or repository against stated design and consistency principles.

In plain words
What is it for?
Use it to audit a diff or repository after declaring its architecture and source-of-truth layers.
Why use it?
It looks for hidden assumptions, leaking boundaries, unsupported claims, missing source history, and unexplained changes from the baseline.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the plumb-line plugin — 5 skills shipped together

Good fit Use it to audit a diff or repository after declaring its architecture and source-of-truth layers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/slopstopper/plumb-line/plumb-line-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 slopstopper/plumb-line --skill plumb-line-audit
Clone the repo
git clone --depth 1 https://github.com/slopstopper/plumb-line

Made for: Claude Code.

Or install plumb-line, the plugin that ships this one along with the rest of its 5 skills.

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 plumb-line-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/slopstopper/plumb-line/plumb-line-audit/github.svg)](https://agentmods.dev/skills/slopstopper/plumb-line/plumb-line-audit)
Your own site
<a href="https://agentmods.dev/skills/slopstopper/plumb-line/plumb-line-audit"><img src="https://agentmods.dev/badge/skills/slopstopper/plumb-line/plumb-line-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 plumb-line-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/slopstopper/plumb-line/plumb-line-audit"><img src="https://agentmods.dev/badge/skills/slopstopper/plumb-line/plumb-line-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,912 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.00000 $0.03912
Opus 5 $0.00000 $0.01956
Sonnet 5 $0.00000 $0.00782
Haiku 4.5 $0.00000 $0.00391

Measured today against content hash 6e4fba670b8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

plumb-line-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 today.

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/plumb-line-audit/SKILL.md · 265 lines

How it starts

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

Audit against the plumb-line principles

REQUIRED READING FIRST: reference/portable-principles.md (plugin root). If this file cannot be read, stop immediately and report: "Cannot audit: reference/portable-principles.md is missing or unreadable. Do not proceed from memory — the principles file is the source of truth for this audit."

Scope the audit to the diff if one is given, else the whole repo. For broad sweeps, dispatch read-only subagents and keep only their findings.

Declared architecture first (stop before auditing blind). Several checks (P1 source-truth, P2 layering, the omission pass's adoption calibration) are only as good as the audit's knowledge of what the project declares. Resolve it, in order: (1) supplied in the invocation/prompt by the builder; (2) the project's ruleset file (AGENTS.md, CLAUDE.md, or equivalent) and boundary config. If neither yields a source-truth layer and layer direction:

  • Builder present — stop before the traversal plan and say what is missing. Offer to invoke plumb-line-bootstrap in its declaration-only entry (a two-minute detour: it asks only the three declaration questions, writes the ruleset so the next audit never hits this stop, installs nothing, and returns the baton); on yes, invoke it naming that entry, then resume the audit using the freshly declared architecture. On no, proceed as below.
  • Builder absent, or declined — proceed, calibrated to adopted principles only (see "Calibrate to adopted principles"), and record the gap in the report: an undeclared architecture is itself a P6-adjacent advisory (the project's rules exist only as vibes), and the audit's P1/P2 coverage is correspondingly partial, which the coverage map must say.

Never infer a source-truth layer the project did not declare — an invented layer would make P1/P2 findings artifacts of the audit's own assumptions.

Coverage honesty (emit a traversal plan first). Before reading, list the in-scope files — the diff's touched files, or the repo's source tree — and state which you will read, sample, or skip. That list is the audit's denominator. Track read / partial / not-read as you go and report it in the coverage map (Report §4). On anything larger than a small diff you will NOT read every file; say so up front rather than at the end. Never state or imply full coverage unless every in-scope file is marked read — an unread file with no finding is not a clean file, and claiming otherwise is the laundered-uncertainty / overstated- maturity failure this audit exists to catch (P8 — State-first lineage, and the honest-denominator discipline), turned on the audit itself.

Read the full file on GitHub · 265 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. today Changed 6e4fba670b8d
  2. 11d ago First seen · 265 lines · 0 tokens per session scan A 34061f714aab

Subscribe to this mod's changes

plumb-line-audit is a skill published in the GitHub repository slopstopper/plumb-line (4 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,912 tokens. 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

craft-audit

The front door to the craft skills — a whole-project production-readiness orchestrator that drives the ten per-domain craft skills (ux, frontend, backend, db, security, infra, observability, testing, lint, ai) instead of auditing one surface at a time. It discovers the project's shape, plans an audit per surface, and…

gul-labs/craftsman-marketplace · 197 tokens

craft-backend

The Craftsman standard for building and reviewing backend code — API routes, request validation, the authentication boundary, service/business logic, error handling, route rate-limit middleware, third-party integrations, and background jobs. Use this WHENEVER the work touches the server side: adding or reviewing a…

gul-labs/craftsman-marketplace · 138 tokens

explain-back

Use before trusting, merging, or building on top of code you (or an agent) just wrote or are about to change. The agent explains the code back in plain language — what it does, why it exists, what breaks if it's wrong — and refuses to proceed until the mental model is confirmed. Use when a diff looks fine but nobody…

mikestangdevs/craft-skills · 103 tokens

boyscout

Use when touching an existing file to make a change, so you leave it slightly cleaner than you found it without derailing into a giant refactor. Identifies small, safe, in-scope improvements adjacent to the change you're already making — a better name, a deleted dead line, an extracted helper, a clarified condition …

mikestangdevs/craft-skills · 107 tokens

why-comments

Use when a file is littered with comments that narrate what the code already says (// increment the counter), when load-bearing code has no explanation of why it exists, or when reviewing AI-generated code (agents pad output with narration and never record the why). Deletes comments that restate the code, keeps and…

mikestangdevs/craft-skills · 130 tokens

everywhere-else

Use immediately after fixing a bug or improving a pattern in one place — before reporting done. Asks the question agents never ask themselves: 'did you do that anywhere else?' Enumerates the full population of sibling sites (other templates, scenarios, endpoints, components, fixtures, configs that share the same…

mikestangdevs/craft-skills · 134 tokens