tres-tx-story
Skill4.5k starsChanged 3 months agoApache-2.0View on GitHub
Analyze a blockchain transaction by its hash using TRES Finance MCP and generate a visual flow diagram showing all asset movements, followed by a plain-language explanation of what happened. Use this skill whenever the user provides a transaction hash and asks to "analyze", "explain", "visualize", "diagram", "show me what happened in", or "tell the story of" a transaction. Also trigger when the user pastes a tx hash (long hex string starting with 0x) and asks anything about it. Always use this skill for transaction hash analysis — do not attempt to answer from memory alone.
Trending
Quiet since October.about the whole repository
Who's talking about anthropics/claude-plugins-community
- @latreon.bsky.social“claude-plugins-community: Community plugin marketplace for Claude Cowork and Claude Code. It has picked up …”Bluesky · Aug 24, 2026 · 2 likes
- @yug1224.com“Claude Codeなどの機能拡張プラグインをまとめた公式コミュニティ向けのマーケットプレイスらしい 新しい拡張機能を色々探して試したい yug1224 starred …”Bluesky · Aug 24, 2026 · 1 likes
- @hackobar.bsky.social“3. Anthropic Community Plugin Marketplace for Claude Code and Cowork LINK 4. Daedalus-150M Hybrid …”Bluesky · Aug 24, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.anthropics.claude-plugins-community: init at 0-unstable-2026-10-01”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.anthropics.claude-plugins-community: 0-unstable-2026-08-24 → 0-unstable-2026-10-01”GitHub · Oct 3, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub and Bluesky (50 times).
On GitHub · 45
- Oct 4, 2026claude-code-plugins.github.anthropics.claude-plugins-community: init at 0-unstable-2026-10-01 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.anthropics.claude-plugins-community: 0-unstable-2026-08-24 → 0-unstable-2026-10-01 — sudosubin/agents.nix0 reactions
- Oct 2, 2026ci: bump validate-plugins action to 87c843d — netopsengineer/axiom0 reactions
- Sep 25, 2026agent-skills.github.anthropics.claude-plugins-community: init at 0-unstable-2026-08-24 — sudosubin/agents.nix0 reactions
- Sep 22, 2026Agent Kunjani passed review but is missing from the plugin directory and community catalog — anthropics/claude-code0 reactions
40 more on GitHub
- Sep 20, 2026feat(skills): add archify, i-have-adhd, eli5 under github namespace — teamai-hub/teamai-cli-dev0 reactions
- Sep 18, 2026Track: Anthropic Claude Code plugin directory — RoboAdApp/robowrite-plugin0 reactions
- Sep 13, 2026Add eli5 skill for claude and codex — oinume/dotfiles0 reactions
- Sep 13, 2026eli5 skillのインストール — oinume/dotfiles0 reactions · 2 comments
- Aug 30, 2026claude-community に申請する — BoxPistols/ux-writing-dead-cliche0 reactions
- Aug 30, 2026dead-cliche の配布を個人公開から Claude 公式ディレクトリへ段階的に広げる — BoxPistols/ux-writing-dead-cliche0 reactions
- Aug 27, 2026Run `claude plugin validate --strict` in the gate and CI — rvenutolo/claude-pgrep-pkill-guard0 reactions · 1 comment
- Aug 26, 2026Github trending [anthropics/claude-plugins-community] 社区插件市场镜像库 — web1992/github-trending0 reactions
- Aug 25, 2026🔥 GitHub Trending AI 早报 · 2026-08-26 · Top 9 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 25, 2026🔥 GitHub Trending AI 早报 · 2026-08-26 · Top 9 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 25, 2026🔥 GitHub Trending AI 晚报 · 2026-08-25 · Top 9 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 25, 2026🔥 GitHub Trending AI 晚报 · 2026-08-25 · Top 9 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 25, 2026ci: bump validate-plugins action to a727be1 — netopsengineer/axiom0 reactions
- Aug 25, 2026Github trending [anthropics/claude-plugins-community] 社区插件市场每日同步 — web1992/github-trending0 reactions
- Aug 24, 2026Audit candidate: anthropics/claude-plugins-community — MarkQWu/agents-in-the-wild0 reactions
- Aug 23, 2026release: lvsea-jieshi v0.1.0 — lhylvsea/lvsea-jieshi0 reactions
- Aug 22, 2026ci: bump validate-plugins action to f4c9452 — netopsengineer/axiom0 reactions
- Aug 20, 2026Manual: Submit to Claude Code Marketplace — azrtydxb/procoder0 reactions
- Aug 19, 2026ci: bump validate-plugins action to 24a5ecd — netopsengineer/axiom0 reactions
- Aug 17, 2026Dérive catalogues détectée (2026-08-17) — CustomDigitalServices-Kevin/claude-config-studio0 reactions
- Aug 14, 2026ci: bump validate-plugins action to 2285a36 — netopsengineer/axiom0 reactions
- Aug 13, 2026ci: bump validate-plugins action to 0e38de0 — netopsengineer/axiom0 reactions
- Aug 12, 2026ci: bump validate-plugins action to bf9b7e6 — netopsengineer/axiom0 reactions
- Aug 11, 2026ci: bump validate-plugins action to 8e69ea5 — netopsengineer/axiom0 reactions
- Aug 10, 2026ci: bump validate-plugins action to 76c3395 — netopsengineer/axiom0 reactions
- Aug 9, 2026ci: bump validate-plugins action to 661d978 — netopsengineer/axiom0 reactions
- Aug 8, 2026ci: bump validate-plugins action to 8d73e67 — netopsengineer/axiom0 reactions
- Aug 7, 2026ci: bump validate-plugins action to 50e56e6 — netopsengineer/axiom0 reactions
- Aug 6, 2026ci: bump validate-plugins action to 80f42f5 — netopsengineer/axiom0 reactions
- Aug 5, 2026ci: bump validate-plugins action to 9247660 — netopsengineer/axiom0 reactions
- Aug 4, 2026ci: bump validate-plugins action to cdd3064 — netopsengineer/axiom0 reactions
- Aug 3, 2026ci: bump validate-plugins action to 534e1ae — netopsengineer/axiom0 reactions
- Aug 2, 2026ci: bump validate-plugins action to 2c3df91 — netopsengineer/axiom0 reactions
- Aug 1, 2026ci: bump validate-plugins action to 8a41041 — netopsengineer/axiom0 reactions
- Jul 31, 2026ci: bump validate-plugins action to 44dd422 — netopsengineer/axiom0 reactions
- Jul 30, 2026ci: bump validate-plugins action to 91947f6 — netopsengineer/axiom0 reactions
- Jul 22, 2026Marketplace, distribution, and launch — tallyfy/repeatable0 reactions · 2 comments
- Jun 15, 2026github.com/anthropics/claude-plugins-official/issues — anthropics/claude-plugins-official0 reactions
- Jun 3, 2026Epic: Preemptive name registration for 'agmsg' across plugin/skill ecosystems — fujibee/agmsg0 reactions · 4 comments
- May 24, 2026Plugin "taketomarket" Published on 2026-05-14 but missing from claude-plugins-community marketplace.json 10 days later — anthropics/claude-plugins-official0 reactions · 1 comment
On Bluesky · 5
- Aug 24, 2026claude-plugins-community: Community plugin marketplace for Claude Cowork and Claude Code. It has picked up 97 stars in the last week.… — @latreon.bsky.social2 likes and reposts
- Aug 24, 2026Claude Codeなどの機能拡張プラグインをまとめた公式コミュニティ向けのマーケットプレイスらしい 新しい拡張機能を色々探して試したい yug1224 starred anthropics/claude-plugins-community… — @yug1224.com1 likes and repost · 1 reply
- Aug 24, 20263. Anthropic Community Plugin Marketplace for Claude Code and Cowork LINK 4. Daedalus-150M Hybrid Architecture Optimized for CPU Inference… — @hackobar.bsky.social1 likes and repost · 1 reply
- Oct 1, 2026Claude-plugins-community provides a curated directory of third-party plugins for Claude Cowork and Claude Code instead of hunting across… — @latreon.bsky.social0 likes and reposts · 1 reply
- Aug 25, 2026📈 Today's GitHub Trending: 1. https://github.com/freestylefly/awesome-gpt-image-2 - JavaScript, 1698 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy0 likes and reposts · 2 replies
In this repository30 other files it gives its agents.
- eli5Skill
- quickdesignSkill
- testdino-auditSkill
- testdino-healthSkill
- testdino-manual-runsSkill
- testdino-manual-testsSkill
- testdino-releasesSkill
- testdino-runsSkill
- testdino-sessionsSkill
- tres-asc845-swap-reprice-skillSkill
- tres-asset-balance-validationSkill
- tres-cost-basisSkill
- tres-data-collection-commitSkill
- tres-erp-rule-suggestionsSkill
- tres-explorer-tx-to-ledgerSkill
- tres-export-3rd-party-contactsSkill
- tres-import-contactsSkill
- tres-invoice-bill-matchingSkill
- tres-ledger-linkSkill
- tres-onboardingSkill
- tres-recon-gapsSkill
- tres-report-advisorSkill
- tres-report-analyzerSkill
- tres-report-createSkill
- tres-request-skill-updateSkill
- tres-rollup-reviewSkill
- tres-rollup-rulesSkill
- tres-settings-managementSkill
- tres-upload-tx-header-validationSkill
- tres-wallets-uploadSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
All calls use the TRES Finance MCP server (URL: https://ai.tres.finance/mcp).
- Very specific: line 25
Call get_viewer (no arguments) to verify the session.
- Very specific: line 113
Use the show_widget tool (Visualizer) to render an HTML widget containing an inline SVG diagram.
- Very specific: line 135
If label_px_width > available_space, shorten further: abbreviate amount to 1 sig fig, or use symbol-only if still too wide.
- Very specific: line 153
If there is exactly 1 inflow and multiple outflows, centre the inflow arrow at node_centre_y.
- Distinctive: line 185
Never: place a label at the same y as another label.
- Very specific: line 187
Never: use text-anchor="start" for labels that fall near node edges — always "middle" anchored at the midpoint x.
- Distinctive: line 215
Always vertical, pointing down from the bottom of the left wallet circle.
- Distinctive: line 285
After the diagram, write a short explanation (3–6 sentences) in simple, non-technical language.
- Distinctive: line 294
Avoid jargon like "balanceFactor", "sub-transaction", "FIFO".
≈ “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.
Files
TRES Transaction Story
Fetch a transaction by hash from TRES Finance, render a flow diagram of all asset movements, and explain in plain English what happened.
MCP Server
All calls use the TRES Finance MCP server (URL: https://ai.tres.finance/mcp).
Step 1 — Authenticate
Call get_viewer (no arguments) to verify the session.
Step 2 — Fetch the Transaction
Query the transaction using its hash as the identifier:
query GetTransactionByHash($hash: String!, $currency: String) {
transaction(identifier: $hash, currency: $currency, limit: 1) {
results {
id
identifier
platform
timestamp
success
decodedFunctionName
methodId
fromAddress { identifier displayName isInternal customAccountName }
toAddress { identifier displayName isInternal customAccountName }
contract { identifier contractName protocols applications }
classification { activity action functionName }
ledgerSummary
applications
protocols
internalAccounts { id name }
children {
id
amount
balanceFactor
platform
type
fiatValue
nonTaxableType
isInternalTransfer
financialActionGroup
belongsTo { id name identifier }
sender { identifier displayName isInternal customAccountName }
recipient { identifier displayName isInternal customAccountName }
asset {
identifier
symbol: key
assetClass { id symbol verificationStatus }
}
}
}
}
}Variables: { "hash": "<user_provided_hash>", "currency": "usd" }
Fallback: If
identifierreturns 0 results, retry withidentifier_Containsusing the last 20 characters of the hash. Hashes on some chains may be stored without the0xprefix — strip it and retry if still empty.
Step 3 — Parse the Data
From the result, extract:
| Field | Purpose |
identifier | The tx hash |
platform | Blockchain (ETHEREUM, SOLANA, etc.) |
timestamp | Date/time |
success | Did it succeed? |
decodedFunctionName | What smart-contract function was called |
fromAddress / toAddress | Top-level sender → receiver |
contract.contractName | Smart contract involved (if any) |
classification.activity + .action | TRES classification label |
children[] | Each sub-transaction (individual token movement) |
For each child sub-transaction, extract:
asset.assetClass.symbol— the token symbol (e.g. ETH, USDC)amount— quantity movedfiatValue— USD equivalentbalanceFactor—1= inflow,-1= outflowbelongsTo.name— which internal wallet this belongs tosender.identifier/recipient.identifier— counterpartiestype— GAS, TOKEN_TRANSFER, etc.
Step 4 — Render the Diagram
Use the show_widget tool (Visualizer) to render an HTML widget containing an inline SVG diagram.
PRE-RENDER CHECKLIST — do this before writing a single SVG element
A. Prepare all label strings first
For every arrow label (token amount + symbol), apply these formatting rules:
- Format the amount:
- amount ≥ 1,000,000 →
"1.2M"style (1 decimal) - amount ≥ 1,000 →
"264K"or"12,233"(comma-separated integer) - amount ≥ 1 → round to 2 decimal places max
- amount < 1 → keep up to 4 significant figures (e.g.
"0.033")
- amount ≥ 1,000,000 →
- Truncate the symbol:
- symbol ≤ 6 chars → use as-is (ETH, USDC, DAI, CRV)
- symbol 7–10 chars → use as-is only if the full label fits (see step 3)
- symbol > 10 chars OR contains
+OR is a compound LP token → replace with"LP tokens"
- Measure the full label:
label = amount + " " + symbol. Count characters. Multiply by 7. That's the pixel width. - The available space for a label = the arrow's x-span minus 20px safety margin.
- Left gap (wallet→contract): x goes from 136 to 248 → span = 112px → max label = 13 chars
- Right gap (contract→wallet): x goes from 408 to 504 → span = 96px → max label = 11 chars
- If
label_px_width > available_space, shorten further: abbreviate amount to 1 sig fig, or use symbol-only if still too wide.
B. Count the arrows and calculate SVG height
- Count non-gas arrows (outflows + inflows). Call this
N. - Each arrow row occupies 34px of vertical space.
- Base node centre Y = 50 + (N × 34) / 2 (so arrows fan symmetrically around the node centre).
- Gas arrow hangs 60px below the bottom of the left wallet circle.
- SVG height = node_centre_y + node_radius + 80 (gas arrow + label + padding).
- Minimum SVG height = 230px.
C. Lay out arrow Y positions
- Space arrows evenly, 34px apart, centred on
node_centre_y. - First arrow y = node_centre_y - ((N-1) × 34) / 2
- Each subsequent arrow y += 34
- Outflow arrows (wallet → contract) use left half of diagram.
- Inflow arrows (contract → wallet) use right half.
- If there is exactly 1 inflow and multiple outflows, centre the inflow arrow at
node_centre_y.
Fixed node positions (do not change these)
ViewBox width: 640
Left wallet circle: cx=90, cy=node_centre_y, r=46
Contract rect: x=248, y=node_centre_y-55, width=160, height=110, rx=12
Right wallet circle: cx=550, cy=node_centre_y, r=46
Arrow x coordinates:
Outflow (left→centre): x1=136, x2=246 midpoint_x=191
Inflow (centre→right): x1=410, x2=504 midpoint_x=457
Gas (downward): x1=x2=90, y1=node_centre_y+46These x values are derived from the node edges and must not be adjusted. They guarantee labels always fall in the clear gap between nodes.
Arrow label placement rules (no exceptions)
Label x = midpoint_x of arrow (191 for outflows, 457 for inflows)
Label y = arrow_y - 12
text-anchor = "middle"
font-size = 10.5px
font-weight = 500Never place a label at the same y as another label. If two arrows are only 34px apart, their labels (at y-12) are 34px apart — that is sufficient. Never stack two labels at the same y coordinate.
Never use text-anchor="start" for labels that fall near node edges — always "middle" anchored at the midpoint x.
Node internal text rules
Wallet circle (r=46, so usable text band = ±36px from centre):
Line 1 (name): y = cy - 8, font-size=11, font-weight=500
Line 2 (address): y = cy + 7, font-size=9.5, font-family=monospace
Line 3 (role): y = cy + 21, font-size=9Three lines maximum. Each line must fit within the circle width (chord at that y ≈ 80px = ~11 chars at 9px, ~9 chars at 10px). Truncate wallet names longer than 10 chars.
Contract rect (width=160, height=110):
Line 1 (name): y = rect_top + 28, font-size=11, font-weight=500
Line 2 (subname): y = rect_top + 44, font-size=10
Line 3 (function): y = rect_top + 60, font-size=9.5
Line 4 (address): y = rect_top + 76, font-size=9, font-family=monospace
Line 5 (type): y = rect_top + 92, font-size=9Maximum 5 lines. Each line centred at x=328. Lines must fit within 152px (160 - 8px padding each side) → max ~21 chars at 9px. Truncate anything longer.
Gas arrow rules
- Always vertical, pointing down from the bottom of the left wallet circle.
- x1 = x2 = 90 (same as wallet cx)
- y1 = node_centre_y + 46 + 2 (2px gap below circle edge)
- y2 = y1 + 55
- Label: placed to the RIGHT of the line —
x=98, y=(y1+y2)/2, text-anchor="start" - Below the arrow tip, add a small pill: rect with label "network fee", centred at x=90.
- Gas label max length:
"0.033 ETH gas"= 13 chars. Always fits.
Color coding
| Element | Fill | Stroke/Color |
| Internal wallet (sender) | #EAF3DE | #639922 |
| Internal wallet (receiver) | #dcfce7 | #16a34a |
| Smart contract | #EEEDFE | #7F77DD |
| Outflow arrow | — | #dc2626 |
| Inflow arrow | — | #16a34a |
| Gas arrow | — | #ea580c |
| Outflow label text | — | #dc2626 |
| Inflow label text | — | #16a34a |
| Gas label text | — | #ea580c |
Animation
@keyframes flowDash { to { stroke-dashoffset: -40; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
Outflow arrows: stroke-dasharray:8 5; animation: flowDash 1.1s linear infinite;
Inflow arrows: stroke-dasharray:8 5; animation: flowDash 1.1s linear infinite;
Gas arrow: stroke-dasharray:4 4; animation: flowDash 1.7s linear infinite;
Cards/sections: opacity:0; animation: fadeUp .5s ease forwards; (staggered delays)Header
Single line of plain text, no pill badges:
[hash-pill: 0xABCD...1234] Chain · Date · function() · ✓ successHash pill style: monospace, 11px, bg-secondary, border, border-radius 6px, padding 4px 10px. Everything else: 12px, color-text-secondary. Success mark: color-text-success, font-weight 500.
Stat cards (below diagram)
3-column grid, one card per: total sent (red), total received (green), gas paid (orange).
Format values as: −$272,910 / 264K LP / 0.127 ETH. Keep under 12 chars.
Sublabel: 11px, muted, shows token breakdown if multiple assets.
Footer route card
[function() badge] via ContractName · [protocol tag] [protocol tag] [Explain X ↗ button]
Function badge: yellow bg #FEF9C3, text #854d0e, border-radius 6px.
Protocol tags: bg-secondary, border, border-radius 4px, 11px.
Button: calls sendPrompt('How does [ContractName/protocol] work?')
Step 5 — Plain-Language Explanation
After the diagram, write a short explanation (3–6 sentences) in simple, non-technical language. Cover:
- What happened: The core action (swap, transfer, deposit, stake, etc.)
- Who was involved: Wallets and contracts in plain terms
- What moved: Which assets changed hands and in what direction
- Net result: What the org's wallets ended up with / paid out
Tone: Imagine explaining to someone who understands crypto but not accounting. Avoid jargon like "balanceFactor", "sub-transaction", "FIFO". Say "sent", "received", "paid as gas", "swapped X for Y", etc.
Example:
This was a token swap on Uniswap. Your wallet (Main Treasury) sent 1,000 USDC to the Uniswap V3 router contract, which in turn sent back 0.412 ETH (worth
$1,020). You also paid 0.003 ETH ($7.40) in gas fees to the Ethereum network. Net result: you traded stablecoins for ETH at roughly $2,476 per ETH.
Error Handling
| Situation | Action |
| Transaction not found | Tell user the hash wasn't found in TRES. Ask if they want to check the hash or try a different one. |
| No children (empty sub-txs) | Show header only; note "No asset movements recorded — the tx may be a failed or contract-only interaction." |
| Missing fiat values | Show amounts without USD; note "USD value unavailable for some assets." |
| Auth failure | Tell user to check TRES connection and re-authenticate. |
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
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.

