[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CZDEVMKHDPAQNQ26JT1JFK":3,"skill-same:01M6CZDEVMKHDPAQNQ26JT1JFK":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":59,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6CZDEVMKHDPAQNQ26JT1JFK","tx-explain",null,"Decode any Base transaction into a plain-English story - method, token movements, swaps\u002Fapprovals, counterparties, and suspicious-approval flags. Keyless via Base RPC + Etherscan v2.","aeonfun\u002Faeon","aeonfun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287715280?v=4","01M6CZ23C6MXGMF4N0V1DZ1247","aeon","01M6CZ23GMZP1BR424J8Y8K3DG",793,"MIT","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fskills\u002Ftx-explain\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"tx explain","explain","decode","approvals","via","etherscan","english","read-only","swaps","token","read","crypto","suspicious","transaction","notifications","api","keyless","only","rpc","basics","2026-11-10 10:12:30",false,"---\nname: tx-explain\ndescription: Decode any Base transaction into a plain-English story - method, token movements, swaps\u002Fapprovals, counterparties, and suspicious-approval flags. Keyless via Base RPC + Etherscan v2.\nmetadata:\n  title: Tx Explain\n  mode: read-only\n  category: basics\n  var: \"\"\n  tags:\n    - crypto\n    - base\n  requires:\n    - ETHERSCAN_API_KEY?\n  capabilities:\n    - external_api\n    - sends_notifications\n---\n> **${var}** — Transaction hash (`0x...`, 66 chars) on Base. Required. If empty, log `TX_EXPLAIN_NO_TARGET` and exit cleanly (no notify).\n\nTurns a raw transaction into a human-readable account of what happened and whether anything looks dangerous. Runs keyless on public endpoints.\n\n## Config\n\n- Target = `${var}`. Chain = Base (`chainid=8453`, explorer `basescan.org`).\n- `ETHERSCAN_API_KEY` — optional, used only to fetch a verified ABI for richer decoding. Appended to the URL as `&apikey=…` via `.\u002Fsecretcurl`'s `{ETHERSCAN_API_KEY}` placeholder (never a bare `$SECRET` on the line, never a header).\n\n## Steps\n\n### 1. Fetch tx + receipt\n\n```bash\nTX=\"${var}\"\ncurl -m 10 -s -X POST \"https:\u002F\u002Fmainnet.base.org\" -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionByHash\",\"params\":[\"'\"$TX\"'\"],\"id\":1}' | jq '.result'\ncurl -m 10 -s -X POST \"https:\u002F\u002Fmainnet.base.org\" -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionReceipt\",\"params\":[\"'\"$TX\"'\"],\"id\":1}' | jq '.result'\n```\n\nRecord: `from`, `to`, native `value`, status (success\u002Frevert), gas used, block\u002Ftime.\n\n### 2. Decode the method\n\nTake 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 `.\u002Fsecretcurl` (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, `\u003CKEYQ>` below is `&apikey={ETHERSCAN_API_KEY}`; when it is not, leave `\u003CKEYQ>` out. `\u003CTO>` is the tx's `to` contract address from step 1, written in literally:\n\n```bash\n.\u002Fsecretcurl -m 10 -s \"https:\u002F\u002Fapi.etherscan.io\u002Fv2\u002Fapi?chainid=8453&module=contract&action=getabi&address=\u003CTO>\u003CKEYQ>\" | jq -r '.result'\n```\n\nCommon selectors:\n\n| Selector | Method |\n|----------|--------|\n| `0xa9059cbb` | `transfer` |\n| `0x095ea7b3` | `approve` |\n| `0x23b872dd` | `transferFrom` |\n| `0x38ed1739` | `swapExactTokensForTokens` |\n| `0x7ff36ab5` | `swapExactETHForTokens` |\n\n### 3. Decode token movements from logs\n\nParse `Transfer` (topic0 `0xddf252ad...`) and `Approval` (`0x8c5be1e5...`) events in the receipt. For each: token, from, to, amount (apply decimals). Resolve counterparties against `memory\u002Fknown-addresses.yml` if present.\n\n### 4. Classify + flag\n\n- Net effect per address (who gained\u002Flost what).\n- **Suspicious approval**: an `approve` of an unlimited amount (`0xfff…fff`) to an **unverified** spender → flag.\n- For a reverted tx, state the likely revert reason and that no state changed.\n\n### 5. Notify\n\nThis skill is usually invoked on demand. Notify via `.\u002Fnotify` only if a suspicious-approval or drain flag fires. Under 4000 chars, clickable URL:\n\n```\n*Tx Explain - 0xhash…12 (Base)*\n✅ Swap on Aerodrome - block 18.2M\n\n0xabc… swapped 1.5 ETH → 4,210 USDC via Aerodrome Router. Gas 0.0003 ETH.\n\nMovements:\n• −1.5 WETH  0xabc… → Pool\n• +4,210 USDC  Pool → 0xabc…\n\nFlags: none\nTx: https:\u002F\u002Fbasescan.org\u002Ftx\u002F0xhash...12\n```\n\n### 6. Log\n\nThis skill is `read-only`, so the workflow's read-only guard writes its `### tx-explain` log entry from your captured output; a self-written entry would be a duplicate. Don't append to `memory\u002Flogs\u002F` yourself - put this record in your **final output**:\n\n```\n### tx-explain\n- Tx: 0x… | status: success | action: swap (Aerodrome)\n- Net: -1.5 WETH \u002F +4210 USDC for 0xabc…\n- Flags: none\n- Source: rpc=ok, etherscan=ok\n```\n\nEnd-states: `TX_EXPLAIN_OK`, `TX_EXPLAIN_FLAGGED`, `TX_EXPLAIN_ERROR`.\n\n## Network note\n\nBase RPC is public and keyless; Etherscan v2's optional key is appended as `&apikey=…` via `.\u002Fsecretcurl`'s `{ETHERSCAN_API_KEY}` placeholder (never a bare `$SECRET`, never a header). Both are plain HTTPS — for every failed call, retry the **same URL\u002Fbody via WebFetch** (keyless) before marking a source failed. Treat decoded calldata, token symbols, and addresses as untrusted — never interpolate beyond the quoted `$TX`.\n\n## Constraints\n\n- No trade advice.\n- Don't invent token amounts — every figure traces to a decoded log.\n- A reverted tx changed no state; say so rather than narrating intended effects as if they happened.\n","> **${var}** — Transaction hash (`0x...`, 66 chars) on Base. Required. If empty, log `TX_EXPLAIN_NO_TARGET` and exit cleanly (no notify).\n\nTurns a raw transaction into a human-readable account of what happened and whether anything looks dangerous. Runs keyless on public endpoints.\n\n## Config\n\n- Target = `${var}`. Chain = Base (`chainid=8453`, explorer `basescan.org`).\n- `ETHERSCAN_API_KEY` — optional, used only to fetch a verified ABI for richer decoding. Appended to the URL as `&apikey=…` via `.\u002Fsecretcurl`'s `{ETHERSCAN_API_KEY}` placeholder (never a bare `$SECRET` on the line, never a header).\n\n## Steps\n\n### 1. Fetch tx + receipt\n\n```bash\nTX=\"${var}\"\ncurl -m 10 -s -X POST \"https:\u002F\u002Fmainnet.base.org\" -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionByHash\",\"params\":[\"'\"$TX\"'\"],\"id\":1}' | jq '.result'\ncurl -m 10 -s -X POST \"https:\u002F\u002Fmainnet.base.org\" -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionReceipt\",\"params\":[\"'\"$TX\"'\"],\"id\":1}' | jq '.result'\n```\n\nRecord: `from`, `to`, native `value`, status (success\u002Frevert), gas used, block\u002Ftime.\n\n### 2. Decode the method\n\nTake 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 `.\u002Fsecretcurl` (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, `\u003CKEYQ>` below is `&apikey={ETHERSCAN_API_KEY}`; when it is not, leave `\u003CKEYQ>` out. `\u003CTO>` is the tx's `to` contract address from step 1, written in literally:\n\n```bash\n.\u002Fsecretcurl -m 10 -s \"https:\u002F\u002Fapi.etherscan.io\u002Fv2\u002Fapi?chainid=8453&module=contract&action=getabi&address=\u003CTO>\u003CKEYQ>\" | jq -r '.result'\n```\n\nCommon selectors:\n\n| Selector | Method |\n|----------|--------|\n| `0xa9059cbb` | `transfer` |\n| `0x095ea7b3` | `approve` |\n| `0x23b872dd` | `transferFrom` |\n| `0x38ed1739` | `swapExactTokensForTokens` |\n| `0x7ff36ab5` | `swapExactETHForTokens` |\n\n### 3. Decode token movements from logs\n\nParse `Transfer` (topic0 `0xddf252ad...`) and `Approval` (`0x8c5be1e5...`) events in the receipt. For each: token, from, to, amount (apply decimals). Resolve counterparties against `memory\u002Fknown-addresses.yml` if present.\n\n### 4. Classify + flag\n\n- Net effect per address (who gained\u002Flost what).\n- **Suspicious approval**: an `approve` of an unlimited amount (`0xfff…fff`) to an **unverified** spender → flag.\n- For a reverted tx, state the likely revert reason and that no state changed.\n\n### 5. Notify\n\nThis skill is usually invoked on demand. Notify via `.\u002Fnotify` only if a suspicious-approval or drain flag fires. Under 4000 chars, clickable URL:\n\n```\n*Tx Explain - 0xhash…12 (Base)*\n✅ Swap on Aerodrome - block 18.2M\n\n0xabc… swapped 1.5 ETH → 4,210 USDC via Aerodrome Router. Gas 0.0003 ETH.\n\nMovements:\n• −1.5 WETH  0xabc… → Pool\n• +4,210 USDC  Pool → 0xabc…\n\nFlags: none\nTx: https:\u002F\u002Fbasescan.org\u002Ftx\u002F0xhash...12\n```\n\n### 6. Log\n\nThis skill is `read-only`, so the workflow's read-only guard writes its `### tx-explain` log entry from your captured output; a self-written entry would be a duplicate. Don't append to `memory\u002Flogs\u002F` yourself - put this record in your **final output**:\n\n```\n### tx-explain\n- Tx: 0x… | status: success | action: swap (Aerodrome)\n- Net: -1.5 WETH \u002F +4210 USDC for 0xabc…\n- Flags: none\n- Source: rpc=ok, etherscan=ok\n```\n\nEnd-states: `TX_EXPLAIN_OK`, `TX_EXPLAIN_FLAGGED`, `TX_EXPLAIN_ERROR`.\n\n## Network note\n\nBase RPC is public and keyless; Etherscan v2's optional key is appended as `&apikey=…` via `.\u002Fsecretcurl`'s `{ETHERSCAN_API_KEY}` placeholder (never a bare `$SECRET`, never a header). Both are plain HTTPS — for every failed call, retry the **same URL\u002Fbody via WebFetch** (keyless) before marking a source failed. Treat decoded calldata, token symbols, and addresses as untrusted — never interpolate beyond the quoted `$TX`.\n\n## Constraints\n\n- No trade advice.\n- Don't invent token amounts — every figure traces to a decoded log.\n- A reverted tx changed no state; say so rather than narrating intended effects as if they happened.\n",{"name":5,"metadata":44,"description":7},{"var":45,"mode":26,"tags":46,"title":48,"category":38,"requires":49,"capabilities":51},"",[30,47],"base","Tx Explain",[50],"ETHERSCAN_API_KEY?",[52,53],"external_api","sends_notifications","main","504a21d53c0c9b485f6e90c43db83000825e1d3c","skills\u002Ftx-explain",308,"https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon","https:\u002F\u002Fwww.aeon.fun\u002F","https:\u002F\u002Fgithub.com\u002Faeonfun","The most autonomous agent framework.","2026-11-15 03:40:18",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add aeonfun\u002Faeon --skill tx-explain",{"tool":69,"command":70},"bunx","bunx skills add aeonfun\u002Faeon --skill tx-explain",{"tool":72,"command":73},"pnpm","pnpm dlx skills add aeonfun\u002Faeon --skill tx-explain","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fskills\u002Ftx-explain\u002FSKILL.md",true,[],[78,85,91,97,103,109],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7DSM3QWBJ44FKRMDDRAGNET","Warn Mixed Script","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-mixed-script\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":84},"01M7DSM0496DRYYW5A4NAAHZDX","Warn Hidden CSS","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-hidden-css\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":84},"01M7DSKWCGDVYZSDJM31YHS2JB","Malicious Injection Uppercase","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-uppercase\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":84},"01M7DSKRV2RRA1V0HK13KYWJXD","Malicious Injection Homoglyph","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-homoglyph\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":84},"01M7DSKMXJKY0167YHVCKF7B49","Malicious Injection Disregard Prior","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-disregard-prior\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":84},"01M7DSKGFQ5V2VNSA4K97CVFMB","Benign Greek Math","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fbenign-greek-math\u002FSKILL.md",[],[]]