prover

prover is a command for coding agents from omermaksutii/RugProof. It costs 34 tokens per session (952 once invoked), scanned A, original, MIT.

A skill for searching the internet by planning source routes, judging source quality, listing candidates, and checking original materials. It includes guidance for research involving code, dependencies, versions, bugs, standards, and security.

In plain words
What is it for?
Use it to research software projects, packages, standards, vulnerabilities, and time-bounded semiconductor news, including candidate discovery from GitHub and package registries.
Why use it?
It helps prevent weak or incomplete research by recording which sources were checked and distinguishing missing evidence from evidence that something did not happen.

Command

Part of the rugproof plugin — 35 commands, 23 agents 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/omermaksutii/rugproof/prover
Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

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 prover

README.md
[![agentmods](https://agentmods.dev/badge/commands/omermaksutii/rugproof/prover.svg)](https://agentmods.dev/commands/omermaksutii/rugproof/prover)
Your own site
<a href="https://agentmods.dev/commands/omermaksutii/rugproof/prover"><img src="https://agentmods.dev/badge/commands/omermaksutii/rugproof/prover.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 952 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.00034 $0.00952
Opus 5 $0.00017 $0.00476
Sonnet 5 $0.00007 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured 4d ago against content hash 54fa844a2186, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prover 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 4d 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.

commands/prover.md · 86 lines

How it starts

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

/prover — prove it, don't just fuzz it

Fuzzing samples inputs; formal verification proves a property over all inputs (or returns a concrete counter-example). This command defaults to Halmos — symbolic execution that runs offline against your existing Foundry tests — and falls back to Certora (CVL spec) when configured.

Procedure

Step 1 — Pick the property

$ARGUMENTS is [contract] [property]. If no property is named, propose from the templates by protocol type below. Each maps to a check_ test function.

ERC-20 — supply conservation / no inflation

function check_transfer_preservesSupply(address to, uint256 amt) public {
    uint256 pre = token.totalSupply();
    token.transfer(to, amt);
    assert(token.totalSupply() == pre);   // no mint/burn on transfer
}

AMM — constant-product K monotonicity

  • reserve0 * reserve1 after a fee-paying swap is >= before. [[flash-loan-attacks]].

Access control — only-owner can call X

function check_setFee_onlyOwner(address caller, uint16 bps) public {
    vm.assume(caller != owner);
    vm.prank(caller);
    try vault.setFee(bps) { assert(false); } catch { }   // must revert
}

No-reentrancy invariant — a guarded function cannot be re-entered (assert the guard slot is set during the external call).

Solvencysum(balances) <= totalAssets holds after any single state transition.

Step 2 — Run Halmos

halmos --function check_transfer_preservesSupply --solver-timeout-assertion 0

Or via the runner MCP so it shares the Foundry build:

mcp__forge-runner__symbolic(tool="halmos", function="check_setFee_onlyOwner")

Step 3 — Interpret the result

  • PASS = a proof. The property holds for every input within the explored bounds. State the bounds explicitly (e.g. "all uint256 amt, loop unrolled to 3").
  • COUNTEREXAMPLE = a concrete input that violates the property → this is a finding. Minimize it and write a /exploit PoC.
  • TIMEOUT / path explosion = inconclusive, not a pass. Narrow scope (bound array lengths, --loop unroll limit, constrain inputs with vm.assume) and re-run.

Read the full file on GitHub · 86 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. 4d ago First seen · 86 lines · 34 tokens per session scan A 54fa844a2186

Subscribe to this mod's changes

prover is a command published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 952 once invoked, about $0.0002 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.