agentleFS
mrtdlgcmrtdlgc/revertwtf/skills/revertwtf-mcp-server/SKILL.md

revertwtf-mcp-server

Skill4 starsChanged 6 months agoMITView on GitHub

Maintain or use the read-only revert.wtf MCP server that exposes bounded catalog search, parser, selector lookup, AA explanations, x402 entries, and Blockscout registry tools to agents.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when changing packages/mcp, testing MCP behavior, documenting agent integration, or helping an agent consume revert.wtf data …

    line 9
  2. Distinctive:

    Keep tool outputs JSON text for broad client compatibility.

    line 42
  3. Very specific:

    Keep resource payloads JSON with application/json.

    line 43
  4. Very specific:

    Keep input schemas explicit and small.

    line 44
  5. Very specific:

    Update packages/mcp/README.md and docs/mcp-server.md when the tool/resource surface changes.

    line 48
  6. Very specific:

    Prefer in-memory MCP tests, not child-process stdio tests, because Windows local runs can hit spawn EPERM.

    line 52
  7. Distinctive:

    If testing stdio startup manually:

    line 60
  8. Distinctive:

    Do not leave a long-running MCP server process behind after smoke testing.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

revert.wtf MCP Server Skill

Use this skill when changing packages/mcp, testing MCP behavior, documenting agent integration, or helping an agent consume revert.wtf data through MCP.

Product Intent

  • The MCP server is open source and free.
  • It is for agents that encounter an EVM/RPC/provider/wallet/AA/x402 error and need catalog-backed help instead of broad internet searching.
  • It is read-only. Do not add signing, sending transactions, payment gating, chain calls, browser scraping, or provider fetches to MCP behavior.
  • It must never require clients to download the full catalog for simple lookup/search. Search tools return bounded summaries; full entries are fetched by id.

Current Tools

  • explain_error
  • decode_revert_data
  • search_catalog
  • get_error
  • catalog_stats
  • list_sources
  • lookup_selector
  • explain_aa_error
  • get_blockscout_chain
  • search_blockscout_chains

Current Resources

  • revertwtf://catalog/stats
  • revertwtf://catalog/sources
  • revertwtf://catalog/errors/{id}
  • revertwtf://catalog/sources/{source}
  • revertwtf://blockscout/chains/{chainId}

Implementation Rules

  • Reuse precise package subpaths when possible: @revertwtf/parser/explain, @revertwtf/parser/decode, @revertwtf/aa/explain, and selector/catalog APIs.
  • Keep tool outputs JSON text for broad client compatibility.
  • Keep resource payloads JSON with application/json.
  • Keep input schemas explicit and small. Add limit/offset to list/search tools and cap maximum result counts.
  • search_catalog must return summary rows plus resource URIs, not full entries. Agents should call get_error only for a selected id.
  • list_sources and search_blockscout_chains should stay paginated.
  • Preserve clear errors for unknown ids, invalid selectors, or missing resource params.
  • Update packages/mcp/README.md and docs/mcp-server.md when the tool/resource surface changes.

Tests And Checks

Prefer in-memory MCP tests, not child-process stdio tests, because Windows local runs can hit spawn EPERM.

pnpm --filter @revertwtf/mcp test
pnpm --filter @revertwtf/mcp build
node node_modules/typescript/bin/tsc -p packages/mcp/tsconfig.json --noEmit

If testing stdio startup manually:

pnpm --filter @revertwtf/mcp build
pnpm --filter @revertwtf/mcp start

Do not leave a long-running MCP server process behind after smoke testing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.