baseline: Skill for Claude Code

.claude/skills/audit-baseline/SKILL.md

audit-baseline is a skill for Claude Code from friedbotstudio/baseline. It costs 103 tokens per session (1,120 once invoked), scanned A, original, Apache-2.0.

A tool that checks whether the baseline files on disk still match the documented setup. It compares component names, counts, wiring, configuration keys, servers, licenses, and helper scripts.

In plain words
What is it for?
For validating the baseline on demand, during project initialization, or in continuous integration, with deterministic pass-or-fail checks.
Why use it?
It finds drift when the implementation and its documentation no longer describe the same hooks, agents, skills, commands, or settings.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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 audit-baseline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/friedbotstudio/baseline/audit-baseline"><img src="https://agentmods.dev/badge/skills/friedbotstudio/baseline/audit-baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 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.00103 $0.01120
Opus 5.5 $0.00041 $0.00448
Sonnet 5.5 $0.00021 $0.00224
Haiku 4.5 $0.00010 $0.00112

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

Security

Grade A, and why

audit-baseline 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 1mo ago.

The scan reads SKILL.md. This mod also ships 30 executable files (audit.mjs, character.mjs, checks/conformance.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/audit-baseline/SKILL.md · 83 lines

How it starts

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

audit-baseline — drift defender

Mechanical check that the baseline implementation matches its specification. Deterministic, not LLM judgment — pattern matches and file presence only. Run on demand, by /init-project Step 8, or in CI.

What it checks

Category Check
Counts Hooks, agents, skills, commands on disk match the count claimed in seed.md
Names Each component's name matches the canonical list in seed.md §4
Helper scripts validate.mjs, swarm_merge.mjs, render.mjs, lint.mjs, archive.sh present + executable
settings.json Every baseline hook is wired in the correct event/matcher block
project.json Every key listed in seed.md §13 Step 8 exists (values may be null pre-init)
.mcp.json the declared documentation provider and the plantuml server present
Vendored licenses claude-automation-recommender/{LICENSE,NOTICE} present (Apache 2.0 attribution)
Cross-doc counts Numeric claims in CLAUDE.md, README.md, and docs/init/seed.md match disk

Invocation

/audit-baseline — model-invocable and user-invocable.

Calls audit.mjs. Output is a compact pass/fail table with a final verdict. Exits 0 on a clean audit, 1 on any failure. WARN-level findings (advisory; e.g., a doc with no relevant claims) don't fail the audit.

When to run

  • End of /init-project — Step 8. A fresh baseline should pass.
  • Before /approve-direction — confirm the baseline hasn't drifted.
  • In CI — fail the build on drift.
  • On demand — when something feels off, when adding a component, or after a long gap in baseline maintenance.

When the audit reports drift

  • Counts mismatch → add the missing component or update seed.md to match the new count. Don't update one without the other.
  • Name mismatch → a component was renamed, added, or removed. Update the canonical lists in seed.md §4 and the expected sets in audit.mjs.
  • Helper missing or non-executable → chmod +x or restore from history.
  • Hook unwired → add the entry to .claude/settings.json.
  • project.json key missing → re-run /init-project, or add the key manually.
  • License missing (vendored skills) → restore from upstream; this is a license-compliance gap.
  • Cross-doc stale numbers → update the docs. seed.md is the source of truth.

Read the full file on GitHub · 83 lines

Files

What ships with it

36 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.

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. 1mo ago First seen · 83 lines · 103 tokens per session scan A a39bae8d5f48

Subscribe to this mod's changes

audit-baseline is a skill published in the GitHub repository friedbotstudio/baseline (14 stars, last pushed 13d ago), licensed Apache-2.0. It adds 103 tokens to every session and 1,120 once invoked, about $0.0004 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.