/install revertwtf-parser-decoder
revert.wtf Parser And Decoder Skill
Use this skill when working in packages/parser, packages/selectors, packages/aa, or shared result types in packages/core.
Boundaries
- Parser behavior must stay reproducible from package data and caller-provided input.
- Keep live lookups out of parser paths.
- No website-only explanation logic in
packages/parser. - Website, CLI, MCP, and packages should consume the same parser/catalog results.
- Preserve evidence-based ranking. Specific decoded evidence should beat broad wrappers.
- Keep full catalog-backed surfaces on server/API boundaries. Do not make a browser client download the catalog for one decode/search.
- Use package subpaths for small imports:
@revertwtf/parser/decode,@revertwtf/parser/explain,@revertwtf/catalog/panic,@revertwtf/aa/parse,@revertwtf/aa/explain.
Parser Map
packages/parser/src/normalizeError.tscollects messages, codes, error names, revert data, method/action hints, and trace frames.packages/parser/src/extractRevertData.tsfinds revert bytes in nested provider and simulator payloads.packages/parser/src/extractTraceFailures.tssummarizes failed call frames.packages/parser/src/decodeRevertData.tsdecodes SolidityError(string),Panic(uint256), provided ABI errors, and selector catalog matches.packages/parser/src/matchCatalog.tsindexes and matches catalog patterns.packages/parser/src/explain.tsranks decoded results, trace evidence, and catalog matches into user-facing explanations.packages/parser/src/browser*.ts,packages/catalog/src/browser.ts, andpackages/aa/src/browser*.tsprotect browser-condition imports from accidental full-data bundles.packages/aa/src/handles ERC-4337 AAxx and EntryPointFailedOp/FailedOpWithRevert.
Workflow
- Reproduce with a fixture or minimal object.
- Decide whether the issue belongs in:
- normalization/extraction,
- revert decoding,
- catalog matching,
- AA decoding,
- selector data,
- or catalog entry data.
- Keep the behavioral change narrow and covered by tests.
- Add fixtures for new provider shapes or revert payloads.
- Avoid changing match priority globally unless a test proves the previous order was wrong.
Tests And Checks
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
When the local runner allows it:
pnpm --filter @revertwtf/parser test
pnpm --filter @revertwtf/aa test
pnpm --filter @revertwtf/selectors test
If pnpm/Vitest fails with spawn EPERM, report that and include direct tsc plus a targeted Node smoke check.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install revertwtf-parser-decoder - After installation, invoke the skill by name or use
/revertwtf-parser-decoder - Provide required inputs per the skill's parameter spec and get structured output
What is revert.wtf Parser And Decoder Skill?
Modify or debug revert.wtf normalization, revert-data extraction, trace extraction, ABI decoding, catalog matching, selector lookup, or ERC-4337 decoding beh... It is an AI Agent Skill for Claude Code / OpenClaw, with 18 downloads so far.
How do I install revert.wtf Parser And Decoder Skill?
Run "/install revertwtf-parser-decoder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is revert.wtf Parser And Decoder Skill free?
Yes, revert.wtf Parser And Decoder Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does revert.wtf Parser And Decoder Skill support?
revert.wtf Parser And Decoder Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created revert.wtf Parser And Decoder Skill?
It is built and maintained by mrtdlgc (@mrtdlgc); the current version is v0.1.0.