baseline: Skill for Claude Code

.claude/skills/verify/SKILL.md

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

A contract describing the exact file format and steps for recording whether a project's tests passed or failed. TDD, or test-driven development, is a method of writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to record test commands, timestamps, and exit codes for workflow gates that verify changes.
Why use it?
It provides one consistent test verdict that automated safeguards can read, preventing incomplete or incorrectly reported checks.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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/verify/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 verify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/friedbotstudio/baseline/verify"><img src="https://agentmods.dev/badge/skills/friedbotstudio/baseline/verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 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.00052 $0.01070
Opus 5.5 $0.00021 $0.00428
Sonnet 5.5 $0.00010 $0.00214
Haiku 4.5 $0.00005 $0.00107

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

Security

Grade A, and why

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

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/verify/SKILL.md · 76 lines

How it starts

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

verify — contract document for the binding test verdict

This skill is not invocable. Its body is the canonical reference for the .claude/state/last_test_result statefile that the verify_pass_guard hook reads as the single source of truth.

Callers that previously did Skill(verify) (integrate, simplify, chore, the verify-tick worker invoked by harness after a /tdd decomposition) now inline the four mechanical operations described below. There is one statefile format; every caller writes the same bytes.

Statefile format (.claude/state/last_test_result)

<PASS|FAIL>
<ISO-8601 UTC timestamp, e.g. 2026-05-12T18:30:00Z>
<exact command run, verbatim>
<exit code>

Exactly four lines plus a single trailing newline. No preamble, no blank lines, no JSON. The verify_pass_guard hook reads line 1 verbatim — anything that breaks the byte format breaks the gate.

The four mechanical operations a caller performs

  1. Read the command. Open .claude/project.json; extract test.cmd. If absent or empty, the verdict is FAIL with reason "project.json not configured — run /init-project"; skip step 2 and proceed to step 3 with exit code 1 and an empty command string.
  2. Run the command. Execute via Bash from the project root. Capture stdout, stderr, and exit code. Do not retry. Do not pass {file} placeholders — verify always runs the full suite.
  3. Format the four lines. Apply the verdict rules below to decide PASS vs FAIL. Build the four-line string in memory.
  4. Atomically write the statefile. Write the four lines plus trailing newline to .claude/state/last_test_result. Prefer write-then-rename for atomicity when the writer needs guarantees; a direct overwrite is acceptable for non-concurrent callers (the four current callers are sequential).

Verdict rules

  • PASS iff all of: exit code 0 and at least one test executed and no test reported as failed/errored.
  • FAIL otherwise. Specifically: non-zero exit, "0 tests collected", a panic/crash, a timeout (treat as FAIL), a killed process (FAIL), or output that contradicts the exit code (ambiguity is FAIL).
  • If the same FAIL has stamped three or more consecutive times for the same slug, surface a recommendation that the caller invoke the rca skill. (The caller is responsible for noticing repeated failures; verify writes only the current verdict.)

Read the full file on GitHub · 76 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. 1mo ago First seen · 76 lines · 52 tokens per session scan A e3f2afac66c7

Subscribe to this mod's changes

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