tres-rollup-review
Skill4.5k starsChanged 3 months agoApache-2.0View on GitHub
Compute the EXACT sub-transaction impact of a rollup rule in TRES Finance — every filter applied — and flag genuine problems (zero matches, overlap, config mistakes) before the rule is created. Two modes. Mode A: a pre-create quality gate invoked by the tres-rollup-rules skill to vet proposed candidate rules. Mode B: standalone review of a rule someone submitted or of existing PENDING rules. Trigger this skill when the user says "review this rollup rule", "what would this rollup rule actually match", "preview the rollup impact", "how many transactions would this rule catch", "is this rollup rule valid", "validate my rollup rule", "check my pending rollup rules", or "review the rollup requests". Do NOT use this to design or propose new rollups — that is tres-rollup-rules. This skill only measures impact and flags issues; it never executes mutations.
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-rulesSkill
- tres-settings-managementSkill
- tres-tx-storySkill
- tres-upload-tx-header-validationSkill
- tres-wallets-uploadSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
All GraphQL runs through the TRES Finance MCP connector (execute tool).
- Very specific: line 51
When tres-rollup-rules invokes this skill (via the Skill tool), these instructions load into the same context that already holds the …
- Very specific: line 127
Sentinel dates (operational note): if startDate == "0001-01-01" or endDate == "9999-12-31", omit that bound (don't pass the sentinel — it …
- Distinctive: line 139
Only Active and Pending rules are live.
- Distinctive: line 207
Do NOT call an existing rule useless because Check 1 returns a low count.
- Distinctive: line 234
Never query, compare against, or flag DISABLED rules.
- Very specific: line 235
Never propose new rollups or optimizations — that's tres-rollup-rules.
- Distinctive: line 238
Every flag carries evidence (a count, a date, a config value, or a tx hash).
≈ “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 Finance — Rollup Review
Take a fully-specified rollup rule and compute exactly which sub-transactions it will claim — with every one of its filters applied — then flag genuine problems. You do NOT design new rollups and you do NOT execute mutations.
All GraphQL runs through the TRES Finance MCP connector (execute tool). All
variable keys and nested input fields MUST use camelCase, never snake_case.
What this adds over tres-rollup-rules
The tres-rollup-rules discovery step groups sub-txs only at the
(wallet, asset, direction) level — it never applies a single candidate's full filter
combination (fees + method_ids + subtx_type + amount bounds + counterparty +
excludeRollups together). This skill does exactly that, per rule, via the
subTransactionRollupRulePreview query (which runs the engine's real
query_sub_transactions), giving:
- the exact match count → the zero-match gate (a rule that matches nothing must not be created), and
- pre-create overlap awareness, so the user only ever sees viable proposals.
It is also usable standalone to review a rule someone submitted (Mode B) — a case the discovery skill doesn't cover.
Two modes
Mode A — pre-create gate (invoked by tres-rollup-rules)
When tres-rollup-rules invokes this skill (via the Skill tool), these instructions
load into the same context that already holds the candidate rule objects — they
are not passed as arguments, they are already in the conversation above. Iterate those
candidates one at a time; for each, run the checks below and emit exactly one
verdict:
- PASS — clean, ready to propose (include the exact sub-tx + parent-tx count).
- DROP — matches 0 sub-txs; must not be created.
- FIX — a config problem with the exact change (e.g. "minAmount > maxAmount", "recipientIdentifier on an INFLOW rule — should be senderIdentifier").
Overlaps are reported as notes, not DROP/FIX (see Check 2). Produce one verdict line
per candidate, then control returns to tres-rollup-rules Step 2.5.
Mode B — standalone review (when asked to review submitted/pending rules)
Fetch pending rules and review each; produce a per-rule findings summary.
query PendingRollupRules {
subTransactionRollupRule(status: "Pending", limit: 50) {
totalCount
results { id name interval startDate endDate status rule createdBy createdAt }
}
}The status filter is title-case ("Pending", "Active", "Disabled"). If
totalCount is 0, say "No pending rollup requests in this org" and stop.
Ground truth — how a rule selects sub-transactions
A rule claims sub-transactions matching ALL of (this mirrors the engine's
query_sub_transactions):
belongsTo_In: [internal_account_id],asset_In: [asset_id](the asset KEY),platformmatches,balanceFactormatchesbalance_factor- already-rolled-up (
excludeRollups) and derived/locked/synced sub-txs excluded fees:EXCLUDEdrops GAS/FEE,ONLYkeeps only GAS/FEE,INCLUDEkeeps all- optional narrowing:
method_ids,min_amount/max_amount,subtx_type,sender_identifier/recipient_identifier,original_sender_prefix/original_recipient_prefix
The rule JSON (as stored / returned) uses snake_case. balance_factor = -1 is
OUTFLOW, +1 is INFLOW — get this right or every direction check is backwards.
Verified subTransaction filter names
| Intent | Filter |
| Wallet | belongsTo_In: [ID] |
| Asset by key | asset_In: [ID] |
| Direction | balanceFactor: Float (-1 / 1) |
| Min / max amount | amount_Gte / amount_Lte |
| Sender / recipient | sender_Identifier_In: [String] / recipient_Identifier_In: [String] |
| Method id | tx_MethodId: String (single) / tx_Classification_MethodId_In: [String] |
| Sub-tx type | type: String / type_In: [String] (lowercase FinancialAction value) |
| Exclude already-rolled-up | excludeRollups: true |
| Exclude gas/fee | excludeGasFees: true |
| Dates | timestamp_Gte / timestamp_Lte (DateTime) |
type / type_In take the lowercase FinancialAction value ("gas", "fee",
"reward", …) — opposite casing from the rule's UPPERCASE subtxType enum. So
subtx_type is countable exactly (type: "<value>") and fees: ONLY ≈
type_In: ["gas", "fee"].
Gotcha:
fees: ONLYalready selects GAS+FEE, so a gas/fee rollup needsfees: ONLYalone — addingsubtxType: GASon top is redundant (and narrows to GAS, dropping FEE).
typeId is NOT a rule filter here. type_id is only the rollup rule's id when
paired with type_In: ["rollup", "rollup_fee"]. On other types it means something
else entirely. To inspect what an existing rollup rule produced, query
type_In: ["rollup","rollup_fee"], typeId: "<rule_id>" — never typeId alone.
Sentinel dates (operational note): if startDate == "0001-01-01" or
endDate == "9999-12-31", omit that bound (don't pass the sentinel — it may not parse).
Unbounded dates are normal and preferred; they are NOT a finding.
Evidence: the on-chain hash is tx.identifier (sub-select tx { identifier }),
never typeId. For examples also pull amount, sender { identifier },
recipient { identifier }, asset { symbol key }.
Scope — DISABLED rules are out of scope
Only Active and Pending rules are live. Never query, compare against, or flag DISABLED rules (they're superseded versions).
The checks
Check 1 — Exact impact (the core; always run)
Get the ground-truth count straight from the engine via the
subTransactionRollupRulePreview query — it runs the real query_sub_transactions
with all of the rule's filters applied server-side, so you never reconstruct
filters by hand:
query RollupPreview($rule: RollupRuleInputType!, $startDate: Date, $endDate: Date, $interval: Interval) {
subTransactionRollupRulePreview(rule: $rule, startDate: $startDate, endDate: $endDate, interval: $interval) {
subTransactionCount
transactionCount
}
}Pass the candidate's rule object verbatim as $rule — the same camelCase shape as the
create mutation (internalAccountId, assetId, platform + balanceFactor + fees
as enum NAMES like OUTFLOW/ONLY, plus any
methodIds/subtxType/minAmount/maxAmount/identifiers). Always pass $interval
= the candidate's interval (DAY or MONTH); it governs how the eligibility-window
boundary is normalized, so a MONTH rule and a DAY rule over the same data can return
different counts. startDate/endDate are optional YYYY-MM-DD — omit for the rule's
full unbounded range.
The count is what the rule would actually roll up on its next run, not raw all-time
matches: the engine funnels the window through its own eligibility logic, so the
current incomplete period and the unsynced/buffer tail are excluded.
transactionCount is the distinct parent-tx count. (Already-rolled-up sub-txs are also
excluded — for what an existing rule has already produced, see the existing-rule
section below.)
- subTransactionCount == 0 → DROP (Mode A) / blocking flag (Mode B): "matches 0
sub-txs as configured" — name the filters that zero it out (common culprits:
minAmount > maxAmount, an identifier on the wrong direction, or an inverted date range). The reason is the useful part.
If
subTransactionRollupRulePreviewis not in this org's MCP schema (confirm withvalidate_queryorintrospect), fall back to a fully-filtered count query: a singlesubTransaction(... excludeRollups: true ...)that applies every one of the rule's filters using the verified filter-name table above, selecting onlytotalCount. This is slightly less precise than the engine preview (it does not exclude the incomplete period / buffer tail) — say so when you report the number, and keep the~prefix.
Check 2 — Overlap (informational, NOT a hard limit)
Another Active/Pending rule (or another candidate) on the same internalAccountId +
assetId + platform + balanceFactor with intersecting dates and non-disjoint
filters can claim some of the same sub-txs. This is not blocking: the engine
processes rules one-by-one ordered by id (PK), so a sub-tx matching multiple rules is
always claimed by the same rule consistently. Surface it as a note (other rule name + id,
up to 3 example tx hashes) so the user is aware — never DROP or force a split for overlap
alone.
No separate config-validation check. Date-order, identifier-on-wrong-direction,
mutually-exclusive prefixes, and bad cutoffTime are enforced by the create mutation
(returned as blocking validationIssues) — don't re-validate them here. A start date set
to clear a locked period is a good use, not a flag (leave the end date open).
Existing-rule impact (Mode B — reviewing an Active/Pending rule)
Do NOT call an existing rule useless because Check 1 returns a low count. A running rule
has already rolled up its pool, and those rollups are excluded from Check 1 — so a rule
that has been doing its job shows only the few recent un-rolled sub-txs. Also count what
it produced:
subTransaction(type_In: ["rollup","rollup_fee"], typeId: "<rule_id>") { totalCount }.
Report both — "currently matches N new sub-txs; has already produced M rollups". A rule
is only ineffective if it has produced ~nothing and matches ~nothing now. (If its
filter looks stale — e.g. a methodId that no longer matches new txs — say that, with
the produced-vs-current numbers, rather than "useless".)
Output
Mode A: one line per candidate back to tres-rollup-rules:
<#> <name>: PASS (<subtx>/<tx> sub-txs) / DROP — <reason> / FIX — <change>, plus any
overlap notes.
Mode B: one findings block per rule. Flat bullet list, each bullet with concrete
evidence; omit a check that found nothing. Always include the impact line. If clean:
"Reviewed <name> (id <id>) — matches ~<count> sub-txs across ~<tx count> txs. No
issues."
Rules
- Never query, compare against, or flag DISABLED rules.
- Never propose new rollups or optimizations — that's
tres-rollup-rules. You only compute impact and flag problems. - Never execute mutations.
- Every flag carries evidence (a count, a date, a config value, or a tx hash).
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.

