verify-behavior

verify-behavior is a skill for Claude Code from mthines/agent-skills. It costs 80 tokens per session (2,359 once invoked), scanned C, original, MIT.

A verification workflow that checks whether a code change behaves as claimed, starting with inexpensive checks and progressing to running tests or a small reproduction.

In plain words
What is it for?
Use it to verify fixes and behavioral claims through syntax checks, type checks, builds, linting, tests, or minimal reproductions.
Why use it?
It provides evidence about what the code actually does instead of relying only on reading the change or assigning a score.

Skill for Claude Code

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

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit Use it to verify fixes and behavioral claims through syntax checks, type checks, builds, linting, tests, or minimal reproductions.

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

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 hooks.

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-behavior

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/verify-behavior"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/verify-behavior.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,359 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00080 $0.02359
Opus 5.5 $0.00032 $0.00944
Sonnet 5.5 $0.00016 $0.00472
Haiku 4.5 $0.00008 $0.00236

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

Security

Grade C, and why

verify-behavior scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

3. **Isolation is not optional for Tier 3.** A throwaway worktree, no tracked-file mutation, scratch cleanup, no network by default, never `curl | sh` (`rules/isolation-safety.md`).

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. **Isolation is not optional for Tier 3.** A throwaway worktree, no tracked-file mutation, scratch cleanup, no network by default, never `curl | sh` (`rules/isolation-safety.md`).
skills/quality/verify-behavior/SKILL.md · 169 lines

How it starts

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

Verify Behavior

Given a behavioral claim about code, or a change that was just applied, decide the cheapest way to get executed proof, run it in isolation, and report the raw result as a receipt.

This skill is the execution engine six-plus call sites in this repo used to hand-roll independently: "detect the toolchain, run something, read pass or fail." It replaces the ad hoc version in each of those with one shared ladder.

This SKILL.md is a thin index. Detailed rules live in rules/*.md and load on demand.


The execute-not-score boundary

This skill does not score — it never assigns a confidence score and never grades pass/fail against an intent. It runs a command, captures the raw output, and classifies the result against the claim itself as confirms / contradicts / ambiguous / null.

  • confidence(code) owns the number — this skill supplies sharper evidence to that gate, it does not replace it.
  • A calling agent's own grading (e.g. /fix-bug Phase 7's FAIL_TO_PASS, the aw-executor Phase 4 expect comparison) stays with the caller — this skill supplies the run-and-observe mechanic underneath that grading, not the grading itself.

See rules/receipt.md for the full contract, including the hard invariant that a null or non-reproducing result drops or contradicts a finding and is never confirmation.


The two consumer shapes

Shape Question it answers Consumers
Claim-verification "Is this specific behavioral assertion true?" — read-only, feeds confidence(code) as Evidence agents/shared/rules/verification-receipt.md (pr-reviewer Tier 2/3)
Change-verification "Did this applied change produce the expected green/red result?" — a post-apply gate /fix-bug Phase 7, feature-pr-verifier, aw-executor Phase 4 checks loop

Both shapes share the same core: toolchain discovery, isolated execution, and the receipt format. Only the output framing differs — see rules/receipt.md.

Read the full file on GitHub · 169 lines

Files

What ships with it

5 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 Changed · -7 lines · -138 tokens per session 239dd1d1f636
  2. 3mo ago First seen · 176 lines · 218 tokens per session scan C 9509f622e7cb

Subscribe to this mod's changes

verify-behavior is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 2,359 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

verify-behavior compared with skills from other repositories

verify-behavior next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verify-behaviormthines/agent-skillsSkill22yesterdayMITC80Claude Code
skill-bodycitrolabs/ego-liteSkill26kyesterdayMITA0Claude Code, Codex
ego-browsercitrolabs/ego-liteSkill26kyesterdayMITA125Claude Code, Codex
temporal-developertemporalio/skill-temporal-developerSkill2439d agoMITA216Claude Code, Codex
creating-explainersanalyticalmonk/explain-thisSkill241mo agoMITA98Claude Code, Codex
fact-checking-explainersanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex
explaining-codebasesanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex