ia-verify

ia-verify is a command for Claude Code from iliaal/whetstone. It costs 24 tokens per session (3,407 once invoked), scanned A, original, MIT.

A pre-pull-request verification command that runs selected project checks and reports whether the changes are ready. Checks can include building, type checking, linting, tests, security scanning, and other declared gates.

In plain words
What is it for?
Running quick checks, pre-commit checks, full validation, or a broad pre-PR gate based on the selected mode.
Why use it?
It catches common problems before changes are pushed or proposed for review, reducing avoidable failures in the review process.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the whetstone plugin — 29 skills, 19 commands, 18 agents, 4 hooks, 1 MCP server shipped together

Good fit Running quick checks, pre-commit checks, full validation, or a broad pre-PR gate based on the selected mode.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/iliaal/whetstone/ia-verify
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.

Clone the repo
git clone --depth 1 https://github.com/iliaal/whetstone

Made for: Claude Code.

Or install whetstone, the plugin that ships this one along with the rest of its 29 skills, 19 commands, 18 agents, 4 hooks, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/iliaal/whetstone/ia-verify"><img src="https://agentmods.dev/badge/commands/iliaal/whetstone/ia-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,407 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.00024 $0.03407
Opus 5.5 $0.00010 $0.01363
Sonnet 5.5 $0.00005 $0.00681
Haiku 4.5 $0.00002 $0.00341

Measured 12d ago against content hash 88e014a28e5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ia-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 12d 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.

plugins/whetstone/commands/ia-verify.md · 223 lines

How it starts

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

Verify

Run a structured verification pipeline and produce a single READY / NOT READY report.

Boundary vs /ia-review: /ia-verify is the pre-PR static gate (pass/fail on build/types/lint/tests/security). /ia-review is the multi-agent code review with findings synthesis. Use /ia-verify first to confirm shippable; use /ia-review for design-level assessment.

Mode

$ARGUMENTS: defaults to full if omitted.

Mode What runs
quick Build + type check only
full Build + types + lint + tests
pre-commit Build + types + lint + tests + console.log audit
pre-pr Project-declared gates + build + types + lint + tests + console.log audit + security scan + performance + accessibility + infrastructure + documentation + diff review

Project-declared gates (phase 0) also run before any push, regardless of mode.

Applicability Detection

Resolve one verification scope before classifying or scanning changes:

  1. In pre-pr mode, resolve the PR base (gh pr view --json baseRefName -q .baseRefName) or the repository's verified default branch, and freeze the current HEAD SHA. Resolve the merge-base against the available base ref, then use git diff --no-textconv --no-ext-diff <merge-base-sha> <head-sha> for content and its --name-only form for file lists in every diff-based phase below (metadata-only forms such as --name-only and --stat render no content and need no such flags). If the base cannot be resolved, report NOT READY with that missing input; do not silently substitute an empty working-tree diff. For a dirty checkout, either verify the committed head in isolation or explicitly include and identify local changes; do not claim tests of a different tree verify the frozen PR head.
  2. In pre-commit mode, freeze the complete index tree and its staged diff (git diff --no-textconv --no-ext-diff --cached). Run every applicable phase in an isolated checkout of that complete index tree, including unchanged tracked inputs. Preserve the caller's index and unstaged work when preparing verification. Do not copy unstaged source, configuration, or fixtures into the isolated checkout. Report NOT READY if the staged tree cannot be verified in isolation. Before issuing READY, confirm the caller's index still matches the tested snapshot; otherwise repeat verification or report NOT READY. In quick/full mode, use the caller's selected scope, defaulting to tracked staged and unstaged changes (git diff --no-textconv --no-ext-diff HEAD) plus explicitly enumerated untracked files. Record the selected scope and tested tree in the report. An empty selected diff is not evidence that a feature branch is unchanged.
  3. Classify the selected files:
    • frontend: files under src/components/, src/pages/, app/, *.tsx, *.jsx, *.vue, *.svelte, *.css, *.scss, templates
    • backend: files under src/api/, routes/, controllers/, services/, *.php, *.py (non-frontend), *.go, server-side TS
    • infrastructure: migration files, Dockerfiles, terraform/ansible, CI configs, env templates, k8s manifests
    • docs-only: passive prose only; agent instructions, executable snippets, and configuration embedded in Markdown must be classified by the behavior they drive

Read the full file on GitHub · 223 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. 12d ago Changed · +2 lines 88e014a28e5b
  2. 27d ago Changed · +4 lines c39c71235ded
  3. 1mo ago Changed fb7f88c41069
  4. 1mo ago Changed 107c48e9ac11
  5. 1mo ago Changed ce5a7b087a7b
  6. 1mo ago Changed · +2 lines 350c3371e701
  7. 1mo ago First seen · 215 lines · 24 tokens per session scan A 442b14e03b41

Subscribe to this mod's changes

ia-verify is a command published in the GitHub repository iliaal/whetstone (35 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 3,407 once invoked, about $0.0001 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-07.