A developer-focused skill for parsing, normalizing, and decoding EVM smart contract reverts and ERC-4337 failures.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install revertwtf-parser-decoder
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install revertwtf-parser-decoder using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The revertwtf-parser-decoder skill provides a highly specialized utility for normalizing, parsing, and decoding Ethereum Virtual Machine (EVM) smart contract reverts, custom ABI errors, and ERC-4337 Account Abstraction failures. It processes raw hexadecimal transaction error payloads and translates them into structured, human-readable explanations.
Optimized for integration within Openclaw Skills, this workflow maintains clear package boundaries to prevent bundle bloat. It ensures that resource-heavy selector catalogs are confined to server and API interfaces while keeping lightweight, browser-safe parser paths safe from accidental catalog inclusions.
Error(string), and Panic(uint256) codes).FailedOp or FailedOpWithRevert).Ensure you have configured your monorepo workspace correctly and install dependencies:
pnpm install
Verify that packages maintain correct boundary types and compile without emitting code:
node node_modules/typescript/bin/tsc -p packages/core/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/selectors/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/parser/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/aa/tsconfig.json --noEmit
Execute the Vitest test suites across different packages:
pnpm --filter @revertwtf/parser test
pnpm --filter @revertwtf/aa test
pnpm --filter @revertwtf/selectors test
Note: If you encounter a spawn EPERM error, report it to your agent runner environment and fall back to direct tsc compilation checks alongside targeted Node smoke tests.
The codebase is organized as a monorepo leveraging distinct subpaths for optimized imports. The key files and directories manage the following metadata schema:
| Package Subpath | Primary Functionality | Target Files |
|---|---|---|
@revertwtf/parser |
Standardizes, extracts, and decodes EVM revert payloads. | normalizeError.ts, extractRevertData.ts, decodeRevertData.ts |
@revertwtf/selectors |
Resolves function signatures and matches error selectors. | matchCatalog.ts |
@revertwtf/aa |
Decodes ERC-4337 EntryPoint failures and Account Abstraction logs. | packages/aa/src/* |
@revertwtf/core |
Shares core structures and result data types globally. | packages/core/tsconfig.json |
browser*.ts entry points to guard client bundlers against accidentally pulling in full-catalog data.@revertwtf/parser/decode and @revertwtf/aa/explain to minimize execution memory footprints.Loading
A high-performance multi-agent framework that replicates an executive governance structure with 24 specialized AI agents representing private boards, councils, and expert committees.

A rigorous technical due diligence and risk screening skill designed to evaluate feasibility, cross-check credentials, and uncover artificial hype in tech investments.

A highly tactical outreach agent workflow designed to identify target public company stakeholders, compile compliant dossiers, and execute step-by-step communication pathways.

An advanced operational partnership framework designed to establish virtual Special Purpose Vehicles (SPVs) for temporary teams, legal compliance, and dynamic contribution-based profit distribution.

An AI-driven workflow that automatically converts BibTeX, RIS, and other citation formats into professionally formatted Word literature reviews with superscript, clickable cross-references.

A read-only Model Context Protocol (MCP) server that empowers AI agents to decode, search, and explain EVM, RPC, and Account Abstraction (AA) errors with catalog-backed accuracy.








































