verify

verify is a command for coding agents from esbmc/agent-marketplace. It costs 15 tokens per session (777 once invoked), scanned A, original, MIT.

A command that uses ESBMC, a bounded model checker, to verify a source file for possible bugs and safety violations.

In plain words
What is it for?
It verifies C, C++, Python, Solidity, and CUDA files, discovers loops, chooses an available solver, and applies the appropriate checking options.
Why use it?
It checks program paths and selected loop behavior systematically, while detecting missing ESBMC or solver support before running.

Command

Part of the esbmc-plugin plugin — 1 skill, 2 commands shipped together

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.

agentmods
npx agentmods add commands/esbmc/agent-marketplace/verify
Clone the repo
git clone --depth 1 https://github.com/esbmc/agent-marketplace

Or install esbmc-plugin, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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/commands/esbmc/agent-marketplace/verify.svg)](https://agentmods.dev/commands/esbmc/agent-marketplace/verify)
Your own site
<a href="https://agentmods.dev/commands/esbmc/agent-marketplace/verify"><img src="https://agentmods.dev/badge/commands/esbmc/agent-marketplace/verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00777
Opus 5 $0.00008 $0.00388
Sonnet 5 $0.00003 $0.00155
Haiku 4.5 $0.00002 $0.00078

Measured 5d ago against content hash d63db5f3e405, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

esbmc-plugin/commands/verify.md · 74 lines

How it starts

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

ESBMC Verification Command

Verify the specified source file using ESBMC bounded model checker.

Instructions

  1. Check that ESBMC is installed by running which esbmc. If not found, stop and tell the user:

  2. Determine the file type from the extension:

    • .c → C file
    • .cpp, .cc, .cxx → C++ file
    • .py → Python file (auto-detected by extension)
    • .sol → Solidity file (use --sol)
    • .cu → CUDA file
  3. Solver detection — run esbmc --list-solvers and select the best available solver using this priority order: Boolector → Bitwuzla → Z3. Use the corresponding flag: --boolector, --bitwuzla, or --z3. If none of these solvers are listed as available, stop and tell the user that ESBMC is built without solver support, and direct them to build ESBMC with solver support: https://github.com/esbmc/esbmc

  4. Loop discovery — run esbmc <file> --show-loops to list all loops in the program. Then choose the unwind strategy:

    • No loops found → no unwind flag needed
    • Loops with bounds apparent from the source (e.g., for (i = 0; i < N; i++)) → use --unwindset L1:N,... with per-loop bounds derived from the source
    • Loops with unknown or dynamic bounds → use --incremental-bmc
  5. Build and run the verification command using the detected solver flag, chosen unwind strategy, and any checks from the checks argument:

    Base command:

    esbmc <file> <solver-flag> <unwind-strategy> --timeout 60s
    

    Additional checks based on checks argument:

    • memory → add --memory-leak-check
    • overflow → add --overflow-check --unsigned-overflow-check
    • concurrent → add --deadlock-check --data-races-check --context-bound 2
    • all → add all of the above
  6. Interpret the results:

    • VERIFICATION SUCCESSFUL → All checked properties hold within bounds
    • VERIFICATION FAILED → Bug found, examine counterexample trace
    • UNKNOWN/TIMEOUT → Verification inconclusive

Read the full file on GitHub · 74 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. 5d ago First seen · 74 lines · 15 tokens per session scan A d63db5f3e405

Subscribe to this mod's changes

verify is a command published in the GitHub repository esbmc/agent-marketplace (4 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 777 once invoked, about $0.0001 per session on Opus 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-31.