brooks-verify

brooks-verify is a skill for Claude Code from hyhmrright/brooks-lint. It costs 145 tokens per session (307 once invoked), scanned A, original, MIT.

A contract-checking workflow for testing whether code follows a stated rule. It supports checks involving Python, Bash, Go, Java, JavaScript, and Lean 4.

In plain words
What is it for?
Use it to verify specific programming behaviors, report the checker’s result, and include any example that demonstrates a failure.
Why use it?
It helps catch cases where code appears to work but breaks a required condition, such as a concurrency rule or cache guarantee.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions OpenCode.

Part of the brooks-lint plugin — 10 skills, 6 commands, 5 agents, 1 hook shipped together

Good fit Use it to verify specific programming behaviors, report the checker’s result, and include any example that demonstrates a failure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyhmrright/brooks-lint/brooks-verify
About the project

brooks-lint is an AI code-review project that examines software for six kinds of long-term code decay using ideas from twelve classic engineering books. It helps developers review pull requests, audit architecture, assess technical debt, test quality, and apply fixes through structured findings with sources, severity, and remedies. Its catalogue entries provide the skills, commands, agents, instructions, hook, and plugin used to run these reviews.

hyhmrright/brooks-lint · 1,594 stars · on GitHub · hyhmrright.github.io

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 hyhmrright/brooks-lint --skill brooks-verify
Clone the repo
git clone --depth 1 https://github.com/hyhmrright/brooks-lint

Made for: Claude Code.

Or install brooks-lint, the plugin that ships this one along with the rest of its 10 skills, 6 commands, 5 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyhmrright/brooks-lint/brooks-verify"><img src="https://agentmods.dev/badge/skills/hyhmrright/brooks-lint/brooks-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 307 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.00145 $0.00307
Opus 5.5 $0.00058 $0.00123
Sonnet 5.5 $0.00029 $0.00061
Haiku 4.5 $0.00015 $0.00031

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

Security

Grade A, and why

brooks-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 yesterday.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/lean_review.py, scripts/verify_batch.py, scripts/verify_cache.py, …), 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.

skills/brooks-verify/SKILL.md · 35 lines

What it actually says

Brooks-Lint — Contract Verification

Setup

Read verify-guide.md in this directory and the Iron Law in ../_shared/common.md. Use the verification result format in the guide. Python 3 and a trusted Lean 4 executable on PATH are required to run the checker.

Process

  1. Identify the exact source file and its governing contract (Step 1 of the guide).
  2. Encode the independent contract and run the bundled checker (Steps 2–3).
  3. Report the kernel result, its scope and any reachable witness (Step 4).

Mode line in report: Contract Verification

Files

What ships with it

38 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. yesterday First seen · 35 lines · 145 tokens per session scan A e7957be2ded6

Subscribe to this mod's changes

brooks-verify is a skill published in the GitHub repository hyhmrright/brooks-lint (1,594 stars, last pushed yesterday), licensed MIT. It adds 145 tokens to every session and 307 once invoked, about $0.0006 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-11-29.

Related

brooks-verify compared with skills from other repositories

brooks-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brooks-verifyhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code
ai-development-guideshinpr/claude-code-workflowsSkill725yesterdayMITA44Claude Code
code-confidence-mapkanyun-inc/reskillSkill6011d agoMITA104Claude Code, Codex
debuggreglas75/zuvoSkill7todayMITA55Claude Code
logic-reviewhyhmrright/logic-lensSkill251mo agoMITA161Claude Code
logic-fix-allhyhmrright/logic-lensSkill251mo agoMITA211Claude Code
logic-healthhyhmrright/logic-lensSkill251mo agoMITA180Claude Code