repair-rpc-regression

repair-rpc-regression is a skill for Claude Code, Codex from evmts/tevm. It costs 0 tokens per session (600 once invoked), scanned A, original, MIT.

A focused procedure for repairing a regression in a JSON-RPC interface, which is a standard way for software to send requests and responses using JSON. It traces the failure to the relevant server or client boundary and adds a test before changing code.

In plain words
What is it for?
Use it when an RPC method returns the wrong value or format, to reproduce the issue, compare it with the supplied reference, and make the smallest repair.
Why use it?
It keeps a bug fix small and tied to the reported wire-level behavior instead of introducing unrelated changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when an RPC method returns the wrong value or format, to reproduce the issue, compare it with the supplied reference, and make the smallest repair.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evmts/tevm/repair-rpc-regression
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 evmts/tevm --skill repair-rpc-regression
Clone the repo
git clone --depth 1 https://github.com/evmts/tevm

Made for: Claude Code, Codex.

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 repair-rpc-regression

README.md
[![agentmods](https://agentmods.dev/badge/skills/evmts/tevm/repair-rpc-regression.svg)](https://agentmods.dev/skills/evmts/tevm/repair-rpc-regression)
Your own site
<a href="https://agentmods.dev/skills/evmts/tevm/repair-rpc-regression"><img src="https://agentmods.dev/badge/skills/evmts/tevm/repair-rpc-regression.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 600 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00600
Opus 5 $0.00000 $0.00300
Sonnet 5 $0.00000 $0.00120
Haiku 4.5 $0.00000 $0.00060

Measured today against content hash 644a9d9df662, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

repair-rpc-regression 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (PACKAGE.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

workflows/repair-rpc-regression/SKILL.md · 45 lines

What it actually says

Repair a JSON-RPC regression

Input: an observed bug with actual and expected wire values, optionally the method name and the protocol/reference behavior.

This lane repairs a regression; it does not add unrelated methods or refactor a namespace. Work in this order:

  1. Locate the nearest public boundary that reproduces the report: the JSON-RPC dispatcher, HTTP/WebSocket/IPC server, or memory client. Trace inward through the response type, native engine request, and conversion helper. Read the equivalent neighboring method before editing.
  2. Write the smallest focused test first and run it against the unmodified implementation. Record that it fails for the reported reason. Use real createTevmNode()/createMemoryClient() objects and recorded RPC fixtures; do not mock TEVM objects.
  3. Pin the expected behavior to the supplied reference. If no reference was supplied, use a repository conformance fixture or an established neighboring method. If those disagree or do not define the edge case, stop and report the ambiguity rather than inventing Ethereum semantics.
  4. Make the minimum implementation change. Review the complete contract matrix for this method even when only one conversion changes: request/params type, result/response type, handler, procedure, namespace unions, native dispatch table, memory-client exposure, named barrels, and tevm facade.
  5. Assert the wire shape exactly and prove JSON.stringify(response) succeeds. JSON-RPC outputs contain no Promise, bigint, typed array, Error, or undefined. Quantities use minimal hex; byte data is even-length; fixed storage words are 32-byte left-padded; spec-nullable fields are null.
  6. Cover the report's alternate/negative branch: null and error provider responses, short and full-width encodings, legacy transaction fields, missing transport, manual mining, or state transitions as applicable. Assert the stable error class and JSON-RPC numeric code. Do not share mutable clients, Common instances, caches, or timers between test cases.
  7. Correct JSDoc and guide text only where the repaired public contract was wrong. Examples are executable, fully imported, and type-valid.
  8. Add a patch changeset naming every published package whose runtime behavior changed. Run all declared gates and keep the diff focused on this method.

Do not update snapshots until the focused semantic assertions pass. Never turn an unexpected error snapshot into the new expected behavior merely to make the suite green.

Execution and state belong to sibling ZEVM, Voltaire, and Guillotine Mini repositories. This action may fix TEVM host adapters. If the regression requires a native patch, identify the owning files and required regression in the result; do not recreate a JavaScript engine or edit outside the candidate write set.

Files

What ships with it

1 file 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. today First seen · 45 lines · 0 tokens per session scan A 644a9d9df662

Subscribe to this mod's changes

repair-rpc-regression is a skill 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 600 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-09-07.

Related

Other skills, from other repositories

forge-bugfix

A structured bug-fixing process that investigates one problem at a time, records evidence, tests the fix, and waits for the user's final acceptance.

yike-gunshi/forge-skills · 153 tokens

solidity

Solidity smart-contract authoring authority — ERC20/ERC721/ERC1155 token standards, reentrancy guards, access control, gas optimisation, upgradeable proxies, Foundry testing, fuzzing, invariant checks, and production contract security for EVM chains.

LuuOW/meridian-mcp · 54 tokens

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens