tres-data-collection-commit
БесплатноБез исполняемых скриптовНе проверенTrigger on-chain data collection (a "Commit") in Tres Finance for wallets that have already been onboarded. Use this skill whenever the user wants to collect…
от anthropics★ 4 977 звёзд на GitHubОб этом скилле
Tres Finance — Data Collection (Commit)
Overview
Commit is the step that pulls on-chain data into Tres Finance for the wallets already onboarded to the org. It runs the platform's data-collection pipeline for each wallet and either:
- Full data collection — collects the full transaction history and current balances. Used for a complete onboarding or historical backfill.
- Balances only — collects only the current asset balances (no transactions). Much faster; useful when the user just wants an up-to-date snapshot or is preparing for a quick balance validation.
This skill is the second step of the customer onboarding flow:
- Upload wallets (
tres-wallets-upload) — register the wallets in Tres. - Collect data (this skill) — run the commit so Tres actually fetches the on-chain state.
- Validate balances (
tres-asset-balance-validation) — cross-check the collected balances against DeBank.
When to Use
Trigger this skill whenever the user wants to:
- Run a commit / trigger a commit / kick off data collection
- Collect on-chain data into Tres
- Pull balances or transactions for their wallets
- Sync wallets that were just added
- Refresh Tres data after adding new wallets
Example phrases that must trigger this skill:
- "Run the commit" / "Trigger the commit"
- "Collect the data for my wallets"
- "Pull balances for everything"
- "I just added wallets — now collect the data"
- "Sync my wallets"
- "Start the data collection"
Prerequisites
| Requirement | Details |
|---|---|
| TRES Finance MCP connected | The TRES MCP tools (get_viewer, execute, build_query, introspect) must be available |
| Authenticated org | get_viewer must succeed and return an orgName |
| At least one wallet onboarded | If there are no wallets, commit has nothing to collect — point the user to tres-wallets-upload first |
Process Overview
Follow these steps in order. Do not skip the user-selection steps — the whole point of this skill is to capture the user's collection intent before firing the mutation.
Step 1 — Confirm authentication
Call get_viewer to verify the user is authenticated to Tres and note the
orgName. Mention it in the confirmation summary later so the user knows which
org the commit will run against.
If get_viewer fails: tell the user the TRES MCP is not connected and ask them
to connect it before continuing.
Step 2 — Ask: full data or balances only?
This is the core choice of the skill. Ask the user exactly this (using the
AskUserQuestion tool if available, otherwise plain text):
What do you want to collect?
- Full data collection — collects all transactions and current balances. Slower, but produces a complete ledger. Use this for first-time onboarding or historical backfill.
- Balances only — collects only current balances, no transactions. Fast. Use this when you just want an up-to-date balance snapshot (for example, before running balance validation).
Map the answer to the GraphQL parameter balancesOnly:
| User choice | balancesOnly |
|---|---|
| Full data collection | false |
| Balances only | true |
If the user is unsure, recommend Full data collection as the default for first-time onboarding (because skipping transactions means the ledger will be empty even after commit succeeds).
Step 3 — Ask: all wallets, or specific wallets?
Ask the user whether the commit should run on every wallet or a subset:
Which wallets should I collect data for?
- All wallets — run the commit across every wallet in the org.
- Specific wallets — only collect data for wallets I pick.
If the user chooses All wallets: set internalAccountIds = null (omit the
field in the mutation variables, or pass null).
If the user chooses Specific wallets:
- Fetch the list of wallets from Tres so the user can pick from real options:
query ListWalletsForCommit { internalAccount { totalCount results { id name identifier parentPlatform } } } - Present the wallets as a numbered plain-text list (name + short address + platform). If there are more than ~25 wallets, show the first 25 and tell the user they can reply with wallet names, addresses, or IDs to narrow down.
- Let the user respond conversationally ("the three Ethereum ones", "Treasury
Hot and Cold Storage", "IDs 123, 456, 789", etc.). Resolve their response to
a list of internal account
idvalues. Never call the mutation with an unresolved name — always resolve to IDs first. - If you cannot confidently resolve a wallet the user named, ask them to clarify instead of guessing.
Step 4 — Confirm before firing the mutation
Show a short plain-text summary of exactly what is about to happen and ask for explicit confirmation. Example:
About to trigger a Co
Установить tres-data-collection-commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tres-data-collection-commit?
Trigger on-chain data collection (a "Commit") in Tres Finance for wallets that have already been onboarded. Use this skill whenever the user wants to collect data, pull balances, sync wallets, refresh on-chain data, run a commit, trigger a commit, or "collect" anything in Tres. This is the second step of the Tres onboarding flow — it sits between wallet upload (tres-wallets-upload) and balance validation (tres-asset-balance-validation). Always trigger this skill for any request that mentions "commit", "collect", "data collection", "pull data", "fetch on-chain data", "sync wallets", "refresh balances", or anytime the user just finished uploading wallets and is ready to bring in their on-chain data.
Как установить скилл tres-data-collection-commit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tres-data-collection-commit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic