tx-explain

tx-explain is a skill for Claude Code, Codex from aeonfun/aeon. It costs 45 tokens per session (1,370 once invoked), scanned A, original, MIT.

A Base transaction decoder that turns a blockchain transaction into a plain-English account of what happened. Base is a blockchain network, and a transaction is a recorded operation such as a transfer or contract call.

In plain words
What is it for?
Inspecting transaction methods, token movements, swaps, approvals, counterparties, status, gas use, and possible suspicious approvals.
Why use it?
It makes raw transaction data easier to understand and highlights failed operations or approvals that may be risky.

Skill for Claude CodeCodex

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

Good fit Inspecting transaction methods, token movements, swaps, approvals, counterparties, status, gas use, and possible suspicious approvals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeonfun/aeon/tx-explain
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 aeonfun/aeon --skill tx-explain
Clone the repo
git clone --depth 1 https://github.com/aeonfun/aeon

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 tx-explain

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeonfun/aeon/tx-explain/github.svg)](https://agentmods.dev/skills/aeonfun/aeon/tx-explain)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/tx-explain"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/tx-explain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tx-explain

Your own site · 80×15
<a href="https://agentmods.dev/skills/aeonfun/aeon/tx-explain"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/tx-explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 33
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 35
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 48
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00045 $0.01370
Opus 5.5 $0.00018 $0.00548
Sonnet 5.5 $0.00009 $0.00274
Haiku 4.5 $0.00005 $0.00137

Measured 25d ago against content hash da48cf778e91, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tx-explain scanned grade A with 1 finding 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 25d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -m 10 -s -X POST "https://mainnet.base.org" -H "Content-Type: application/json" \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/tx-explain/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

${var} — Transaction hash (0x..., 66 chars) on Base. Required. If empty, log TX_EXPLAIN_NO_TARGET and exit cleanly (no notify).

Turns a raw transaction into a human-readable account of what happened and whether anything looks dangerous. Runs keyless on public endpoints.

Config

  • Target = ${var}. Chain = Base (chainid=8453, explorer basescan.org).
  • ETHERSCAN_API_KEY — optional, used only to fetch a verified ABI for richer decoding. Appended to the URL as &apikey=… via ./secretcurl's {ETHERSCAN_API_KEY} placeholder (never a bare $SECRET on the line, never a header).

Steps

1. Fetch tx + receipt

TX="${var}"
curl -m 10 -s -X POST "https://mainnet.base.org" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["'"$TX"'"],"id":1}' | jq '.result'
curl -m 10 -s -X POST "https://mainnet.base.org" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["'"$TX"'"],"id":1}' | jq '.result'

Record: from, to, native value, status (success/revert), gas used, block/time.

2. Decode the method

Take the first 4 bytes of input (the selector). Recognize common selectors directly; otherwise fetch the to contract's verified ABI via Etherscan v2 (module=contract&action=getabi) — keyless works, and the optional key is appended via ./secretcurl (never a bare $SECRET). Key check: read the "Keys set for this run" line in your run notes, never a shell test (those are refused and cost a turn). When ETHERSCAN_API_KEY is on that line, <KEYQ> below is &apikey={ETHERSCAN_API_KEY}; when it is not, leave <KEYQ> out. <TO> is the tx's to contract address from step 1, written in literally:

./secretcurl -m 10 -s "https://api.etherscan.io/v2/api?chainid=8453&module=contract&action=getabi&address=<TO><KEYQ>" | jq -r '.result'

Common selectors:

Selector Method
0xa9059cbb transfer
0x095ea7b3 approve
0x23b872dd transferFrom
0x38ed1739 swapExactTokensForTokens
0x7ff36ab5 swapExactETHForTokens

Read the full file on GitHub · 110 lines

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. 25d ago Changed da48cf778e91
  2. 27d ago Changed · -2 lines 89a29291a08e
  3. 2mo ago Changed eafd1ae43bdf
  4. 2mo ago First seen · 112 lines · 45 tokens per session scan A 6a166b57ff0c

Subscribe to this mod's changes

tx-explain is a skill published in the GitHub repository aeonfun/aeon (800 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,370 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

tx-explain compared with skills from other repositories

tx-explain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tx-explainaeonfun/aeonSkill800todayMITA45Claude Code, Codex
flowcraft-deployGizClaw/flowcraftSkill4104d agoMITA142Codex
blockchain-web3travisjneuman/.claudeSkill115yesterdayMITA55Claude Code
agent-blockchain-developertravisjneuman/.claudeSkill115yesterdayMITA81Claude Code
api-interface-designMohitGoyal09/AgentForgeSkill679d agoMITA23Claude Code, Codex
exploreMohitGoyal09/AgentForgeSkill679d agoMITA15Claude Code, Codex
unit-converterpolymind-inc/agent-framework-jsSkill622d agoMITA19Claude Code, Codex