eli5
Explain a topic like I'm a 5 year old. Use when the user types /eli5 <topic> or asks for a…
Analyze an organization's sub-transaction patterns in TRES Finance, identify groups of repetitive transactions, and propose data-driven rollup rules that consolidate them into one aggregated entry per interval (daily or monthly) for cleaner ERP integration. Also lists and
$ npx -y skills add anthropics/claude-plugins-community --skill tres-rollup-rules --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tres-rollup-rulesContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze an organization's sub-transaction patterns in TRES Finance, identify groups of repetitive transactions, and propose data-driven rollup rules that consolidate them into one aggregated entry per interval (daily or monthly) for cleaner ERP integration. Also lists and
name: tres-rollup-rules description: > Analyze an organization's sub-transaction patterns in TRES Finance, identify groups of repetitive transactions, and propose data-driven rollup rules that consolidate them into one aggregated entry per interval (daily or monthly) for cleaner ERP integration. Also lists and deletes rollup rules. Trigger this skill whenever the user asks about rollup rules, transaction aggregation, consolidating transactions, reducing transaction noise, rolling up gas fees, rolling up staking rewards, rolling up micro-transactions, or collapsing many small ledger entries into fewer summary entries. Also trigger on "create a rollup rule", "suggest rollup rules", "what should I roll up", "show my rollup rules", "delete a rollup rule", "aggregate transactions", "too many transactions", "reduce transaction count", "roll up fees", "daily rollup", "monthly rollup". If a wallet has too many transactions, high-frequency activity, or noisy ledger entries, proactively suggest rollup rules. For computing the EXACT impact of a single already-specified rule or reviewing submitted/pending rules, use the tres-rollup-review skill instead. compatibility: "Requires TRES Finance MCP connector"
Analyze an organization's sub-transaction patterns, identify groups of repetitive transactions, and propose rollup rules that consolidate them into a single entry per interval for cleaner ERP integration. This is a **data-driven discovery** flow — you find the candidates from the data, validate each against real transactions, then present and create them.
A rollup rule is keyed on FOUR dimensions that together define exactly which sub-transactions it claims: **internalAccount (wallet) + asset KEY + platform + balanceFactor (direction)**. Optional discriminating filters (fees, methodIds, subtxType, amount bounds, counterparties) narrow it further. Everything you discover and propose must map onto this shape — see the Rule Field Reference at the bottom.
A rollup is **non-destructive**: the original raw sub-transactions are always preserved and visible in the **Rollup Breakdown** report.
All GraphQL runs through the **TRES Finance MCP connector** (`execute` tool; validate with `validate_query` first when unsure). All variable keys and nested input fields MUST use **camelCase** (e.g. `internalAccountId`, `balanceFactor`), NEVER snake_case.
---
X"** → run the full discovery pipeline (Steps 0–6 below). This is the main flow.
**tres-rollup-review** skill.
---
Establish scope with the user, but keep it light — only the analysis is scoped, the rules themselves are usually open-ended.
A period only narrows the *discovery* queries so you look at recent, representative activity. It is NOT required, and it is NOT the rule's date range.
If the user gives no period, analyze all history — that is fine and common.
The rules you create should normally have **no start/end date** — they default to "from the beginning of time, indefinitely" so they keep catching matching transactions going forward. Only set `startDate`/`endDate` when the user explicitly wants the rule bounded.
The user may scope to specific wallets.
The user may scope to specific asset classes (e.g. "just stablecoins", "ETH"). Remember: a class (e.g. USDC) can span many asset keys/chains, but each rule targets ONE key — see the asset-class bridge in Step 2.
Hints like "focus on gas fees", "ignore staking rewards under $10", "group ETH transfers by methodId".
**Confirm scope briefly, then start:** > "I'll look for rollup candidates across **all wallets** and **all assets** (analyzing > **all history**). Rules I propose will be open-ended unless you want them date-bounded. > Starting now."
---
Run these (in parallel where possible).
query Wallets { internalAccount { totalCount results { id name identifier parentPlatform platforms balancesCount status } } }Collect wallet `id` (integer) — this is the rule's `internalAccountId`. Use `platforms` (plural list) and `parentPlatform` (string); there is no singular `platform` field on wallets.
query ExistingRules { subTransactionRollupRule { totalCount results { id name interval status startDate endDate createdBy lastSuccessfulRunAt rule } } }`rule` is the JSON config (`internal_account_id`, `asset_id`, `platform`, `balance_factor`, `fees`, …). Note which (account, assetKey, direction) tuples are already covered by **Active** or **Pending** rules — skip those. Ignore **Disabled** rules (they are superseded versions, not live coverage). Also study the existing rule **names** here to learn the org's naming convention (see Naming below).
query InScope($ts_Gte: DateTime, $ts_Lte: DateTime) {
subTransaction(timestamp_Gte: $ts_Gte, timestamp_Lte: $ts_Lte) { totalCount }
}(Omit the timestamp args entirely when analyzing all history.)
Report: "Found X wallets, Y existing rules (Z active), N sub-transactions in scope."
---
Use aggregation queries to find which (wallet, asset, direction) groups have the most repetitive volume, then drill into discriminating
Community-contributed plugins for Claude Cowork and Claude Code.
Repo: anthropics/claude-plugins-community
Explain a topic like I'm a 5 year old. Use when the user types /eli5 <topic> or asks for a…
Write an implementation plan as one interactive HTML page - a tree of claims (why › what ›…
Use the `quickdesign` CLI to generate AI media — UGC promo videos, image edits, product…
Use only when the user explicitly asks for a TestDino audit of Playwright automated test…
Use when the user wants to check TestDino connection status, validate their PAT, discover…
Use when the user wants to manage a manual execution run or update case-level results inside…