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.
npx agentmods add commands/evmts/tevm/integrate-test-matchergit clone --depth 1 https://github.com/evmts/tevmWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02102 |
| Opus 5 | $0.00000 | $0.01051 |
| Sonnet 5 | $0.00000 | $0.00420 |
| Haiku 4.5 | $0.00000 | $0.00210 |
Grade A, and why
integrate-test-matcher 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.
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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Command: Integrate Test Matcher
This command initiates an interactive workflow to integrate a new or existing test matcher from @tevm/test-matchers into the @tevm/actions package's test suite.
Usage
To start the integration process, type:
/integrate-test-matcher
The Workflow
This command operates in three stages.
Stage 1: Discover and Select
First, I will analyze the @tevm/test-matchers package to identify all available matchers and their capabilities. I will then present you with a list.
AI Action:
- Read the directory structure of
extensions/test-matchers/src/matchers/. - For each category, parse the
index.tsfile to find exported matchers. - Read the JSDoc comments for each matcher to create a summary.
- Present the list of matchers to the user.
(Example Interaction)
AI presents the list:
Here are the available matchers from
@tevm/test-matchers:
- Value Matchers:
toBeAddress(opts?): Asserts a value is a valid Ethereum address.toBeHex(opts?): Asserts a value is a valid hex string.toEqualAddress(expected): Compares two addresses for case-insensitive equality.toEqualHex(expected, opts?): Compares two hex strings with normalization.- Event Matchers:
toEmit(contract, eventName): Asserts an event was emitted.
- Chainable with:
.withEventArgs(...),.withEventNamedArgs(...)- Error Matchers:
toBeReverted(client?): Asserts a transaction reverted for any reason.toBeRevertedWithString(client, message): Asserts a revert with a specific string message.toBeRevertedWithError(client, contract, errorName): Asserts a revert with a specific custom error.
- Chainable with:
.withErrorArgs(...),.withErrorNamedArgs(...)Please specify which matcher (and its chainable companions) you would like to integrate into the
@tevm/actionstest files.
User responds, e.g., "Please integrate toBeRevertedWithError and withErrorNamedArgs."
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.
- yesterday First seen · 222 lines · 0 tokens per session scan A 4191d550bb0c
integrate-test-matcher is a command published in the GitHub repository evmts/tevm (446 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,102 tokens. 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.
Other commands, from other repositories
gen-gtests
Generate unit Googletests for a diff from trunk.
test-tdd
Run when user calls /test-tdd. Scans modified files, locates their corresponding unit/integration test suites, and runs them.
kill-mutants
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills.
write-tests
Write tests for: $ARGUMENTS.
run-tests
Run unit and integration tests with proper configuration.
gsd:add-tests
Generate tests for a completed phase based on UAT criteria and implementation.