tres-wallets-upload
Skill4.5k starsChanged 3 months agoApache-2.0View on GitHub
Upload and onboard multiple on-chain wallets or exchange accounts into Tres Finance. Use this skill whenever the user wants to add wallets, onboard wallets, import wallets, upload wallet addresses, ingest wallets, or connect exchanges into Tres — whether from a file (CSV/Excel) or by typing them manually. This skill guides Claude through the full flow: wallet type selection → input collection → validation → preview with editable HTML table → exchange credential collection (if exchange) → user confirmation → batch creation via the TRES MCP API. Always trigger this skill for wallet onboarding, wallet data ingestion, or any request to "add wallets to Tres".
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-tx-storySkill
- tres-upload-tx-header-validationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 22 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Before doing anything else, ask the user what kind of wallet they want to add using ask_user_input_v0:
- Distinctive: line 38
If the user selects On-Chain Wallets → proceed to [ON-CHAIN FLOW] (Step OC-1)
- Distinctive: line 39
If the user selects Exchange Accounts → proceed to [EXCHANGE FLOW] (Step EX-1)
- Very specific: line 51
Ask the user how they want to provide their on-chain wallets using ask_user_input_v0:
- Distinctive: line 61
Wait for the user's response, then proceed to the matching option in Step OC-2.
- Distinctive: line 68
If the user selects "Upload a file" (or uploads a CSV or Excel file directly):
- Very specific: line 69
Read the file with pandas / openpyxl from /mnt/user-data/uploads/
- Distinctive: line 75
If the user selects "Enter manually in a table":
- Distinctive: line 76
Do NOT render an HTML widget: Instead, ask the user to provide their wallets in plain text, one per line, in this format:
- Very specific: line 86
If the user is unsure of the network name, tell them to type it as best they can and you will fuzzy-match it to the correct ParentPlatform …
- Distinctive: line 126
Run ALL checks below. Collect errors per-row.
- Very specific: line 136
If a network name from a CSV is lowercase or mixed-case (e.g.
- Distinctive: line 184
Do NOT render an HTML widget: Instead, present the wallet data as a clean markdown table in plain text so the user can review it:
- Distinctive: line 200
If there are errors, tell the user to correct and re-paste the data before proceeding
- Distinctive: line 201
If there are only warnings (existing wallets), ask: "Ready to upload?
- Distinctive: line 202
If all rows are valid, ask: "Ready to upload N wallets to Tres Finance.
- Distinctive: line 204
When the user confirms → proceed to Step OC-6.
- Very specific: line 210
When Claude receives TRES_WALLET_UPLOAD_CONFIRMED::
- Distinctive: line 221
Wait for explicit user confirmation ("yes", "confirm", "go ahead")
- Very specific: line 227
Call updateBatchInternalAccounts via TRES MCP:
- Distinctive: line 264
If batch > 100 wallets, split into chunks of 50 and call sequentially.
- Distinctive: line 332
Do NOT render an HTML widget: Instead, ask the user for credentials in plain conversational steps.
- Distinctive: line 355
Before accepting the credentials, ask:
- Distinctive: line 359
Only proceed once both are confirmed.
- Distinctive: line 367
After collecting credentials for an exchange:
- Distinctive: line 375
Ask: "Would you like to add another exchange or proceed to upload?"
- Distinctive: line 377
If user wants to add another → loop back to Step EX-1 (queued accounts are preserved).
- Distinctive: line 378
If user wants to proceed → go to Step EX-5.
- Distinctive: line 395
Wait for explicit user confirmation ("yes", "confirm", "go ahead", etc.)
- Very specific: line 401
Call updateBatchInternalAccounts via TRES MCP for all queued accounts:
≈ “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 Wallet Upload Skill
Onboard on-chain wallets and exchange accounts into Tres Finance with validation, preview, and confirmation.
⚠️ EXECUTION RULE — READ BEFORE STARTING: This skill is a strict sequential checklist. You MUST follow every step in the exact order written — do not skip, merge, or reorder steps. Before moving to the next step, verify the current step is fully complete. Steps that involve API calls (schema fetch, existing-wallet check, batch mutation) are mandatory — never skip them to save time or because results seem obvious. If you catch yourself about to skip a step, stop and execute it first.
Step 0 — Ask Wallet Type
Before doing anything else, ask the user what kind of wallet they want to add using ask_user_input_v0:
question: "What would you like to add to Tres?"
options:
- "On-Chain Wallets (Ethereum, Solana, Bitcoin, etc.)"
- "Exchange Accounts (Binance, Coinbase, Kraken, etc.)"
type: single_select- If the user selects On-Chain Wallets → proceed to [ON-CHAIN FLOW] (Step OC-1)
- If the user selects Exchange Accounts → proceed to [EXCHANGE FLOW] (Step EX-1)
ON-CHAIN FLOW
Step OC-1 — Ask for Input Method
Ask the user how they want to provide their on-chain wallets using ask_user_input_v0:
question: "How would you like to add your wallets?"
options:
- "Upload a file (CSV or Excel)"
- "Enter manually in a table"
type: single_selectWait for the user's response, then proceed to the matching option in Step OC-2.
Step OC-2 — Collect Wallet Data
Option A: File Upload
If the user selects "Upload a file" (or uploads a CSV or Excel file directly):
- Read the file with pandas / openpyxl from
/mnt/user-data/uploads/ - Expected columns (flexible):
name,address(oridentifier),network(orplatform),tags(optional),description(optional) - Normalise header names (case-insensitive, strip spaces, accept aliases)
- Parse into a list of wallet dicts, then proceed to Step OC-3
Option B: Simple Manual Entry (conversational)
If the user selects "Enter manually in a table":
- Do NOT render an HTML widget. Instead, ask the user to provide their wallets in plain text, one per line, in this format:
Example:Name | Address | Network | Tags (optional)Treasury Hot | 0xABCD...1234 | ETHEREUM | defi,treasury Cold Storage | bc1q...xyz | BITCOIN | - Once the user pastes their wallets, parse the lines into a list of wallet dicts, then proceed to Step OC-4.
- If the user is unsure of the network name, tell them to type it as best they can and you will fuzzy-match it to the correct
ParentPlatformvalue.
Step OC-3 — Fetch Live Platform List from Schema
Always fetch the ParentPlatform enum values live from the TRES MCP schema — never hardcode them. Use:
# Via TRES MCP introspect tool:
introspect("ParentPlatform")This returns the full list of valid enum values to use in the network dropdown and for validation.
Identifying exchanges vs on-chain wallets
To filter the ParentPlatform list to on-chain platforms only, exclude any value that matches a known exchange/custodian. The authoritative live list of supported exchanges is fetched in the Exchange Flow (Step EX-1). As a local heuristic for the on-chain filter, exclude these:
ANCHORAGE, AQUANOW, ASCENDEX, B2C2, BACKPACK, BINANCE_EXCHANGE, BINANCE_EXCHANGE_TR,
BITCOIN_SUISSE, BITFINEX, BITGET, BITGO, BITMEX, BITSO, BITSTAMP, BITVAVO, BREX,
BTC_MARKETS, BTCTURK, BULLISH, BYBIT, CEFFU, CIRCLE, COBO, COINBASE, COINBASE_COMMERCE,
COINBASE_EXCHANGE, COINBASE_INTERNATIONAL, COINBASE_PRIME, COINEX, COPPER, CRYPTOCOM,
CRYPTOCOM_EXCHANGE, CUSTOMERS_BANK, DERIBIT, EQUALSMONEY, FALCONX, FIDELITY,
FIFTH_THIRD_BANK, FIREBLOCKS, FORDEFI_UTXO, FTX, FTXUS, GATEIO, GEMINI, HITBTC, HTX,
KRAKEN, KRAKEN_CUSTODY, KRAKEN_FUTURES, KUCOIN, LAYERONE, LEDGER_ENTERPRISE, LMAX,
LUKKA, M2, MERCADO, MERCURY, MERCURY_TREASURY, MEOW, MEOW_TREASURY, MESH_PAYMENTS,
MORGAN_STANLEY, NONCO, OKX, PAXFUL, PARADEX, QONTO, QREDO, REVOLUT_FR, REVOLUT_UK,
SVB_GO, SVB_ONLINE, SYGNUM, TALOS, VERTEX, WHITEBIT, WINTERMUTE, WISE_US,
BANK_HAPOALIM_BIZ, BANK_HAPOALIM_INTERNATIONAL, BANK_OF_AMERICA,
BANQUE_POPULAIRE_RIVES_DE_PARIS, CHASE, CHECKOUTAny platform NOT in this list is treated as an on-chain wallet requiring a standard blockchain address.
Step OC-4 — Validate Wallets
Run ALL checks below. Collect errors per-row; do NOT abort early.
Required field checks
| Field | Rule |
name | Non-empty string |
identifier | Non-empty string |
parentPlatform | Must be a valid ParentPlatform enum value (from live schema) |
Network name normalisation
If a network name from a CSV is lowercase or mixed-case (e.g. tezos, Ethereum), uppercase it and fuzzy-match to the nearest valid ParentPlatform enum value. Show a warning banner in the preview noting the normalisation and asking the user to confirm.
Address format validation per network (on-chain only)
Apply these regex rules for on-chain wallets. Skip for exchanges.
| Network(s) | Rule |
| ETHEREUM, BNB, POLYGON, AVALANCHE_*, ARBITRUM, OPTIMISM, BASE, FANTOM, MOONBEAM, and other EVM chains | ^0x[0-9a-fA-F]{40}$ |
| BITCOIN | P2PKH 1..., P2SH 3..., or Bech32 bc1... — 25–62 chars |
| SOLANA | Base58, 32–44 chars: ^[1-9A-HJ-NP-Za-km-z]{32,44}$ |
| TRON | ^T[1-9A-HJ-NP-Za-km-z]{33}$ |
| TEZOS | ^tz[123][1-9A-HJ-NP-Za-km-z]{33}$ |
| SUI, APTOS | ^0x[0-9a-fA-F]{62,64}$ |
| STELLAR | Starts with G, 56 chars |
| RIPPLE | Starts with r, 25–34 chars |
| CARDANO | Starts with addr1, length > 50 |
| NEAR | Ends in .near OR 64-char hex |
| TON | Starts with EQ or UQ, 48 chars |
| ALGORAND | 58-char Base32 uppercase |
Network–address mismatch detection
Flag obvious mismatches (e.g. 0x... address on SOLANA network, or Bitcoin address on ETHEREUM).
Duplicate detection
Within-batch duplicates:
Flag rows sharing the same (identifier, parentPlatform) pair. Mark both as errors.
Existing-wallet check against Tres (batches ≤ 200 wallets):
{
internalAccount(identifier_In: ["addr1", "addr2", ...]) {
results { id name identifier parentPlatform }
}
}Build a lookup: key = identifier.toLowerCase() + "|" + parentPlatform.toUpperCase()
- Match → mark as ⚠️ warning (yellow):
"Exists (ID: XXXXX)"— API will update, not duplicate - Summary bar must show:
X new | Y already exist | Z errors
For batches > 200: skip the API check, show a note in the preview.
Step OC-5 — Show Text Preview
🚫 HARD GATE: Do NOT render this preview until Step OC-4 (validation) AND the existing-wallet Tres API check are both fully complete. Showing the preview without the API check is a violation of this skill.
Do NOT render an HTML widget. Instead, present the wallet data as a clean markdown table in plain text so the user can review it:
| # | Name | Address | Network | Tags | Status |
|---|------|---------|---------|------|--------|
| 1 | Treasury Hot | 0xABCD...1234 | ETHEREUM | defi | ✅ New |
| 2 | Cold Wallet | bc1q...xyz | BITCOIN | | ⚠️ Exists (ID: 12345) |
| 3 | Bad Wallet | invalid-addr | SOLANA | | ❌ Invalid address |- Show a summary line:
X new | Y already exist | Z errors - List all errors below the table with row number and description:
Errors: - Row 3 (Bad Wallet): Invalid SOLANA address format - If there are errors, tell the user to correct and re-paste the data before proceeding
- If there are only warnings (existing wallets), ask: "Ready to upload? Existing wallets will be updated. Type yes to confirm."
- If all rows are valid, ask: "Ready to upload N wallets to Tres Finance. Type yes to confirm."
When the user confirms → proceed to Step OC-6.
Step OC-6 — Final Confirmation
When Claude receives TRES_WALLET_UPLOAD_CONFIRMED::
- Parse the JSON payload
- Present a plain-text summary:
About to upload N wallets to Tres Finance: - 3 ETHEREUM wallets - 2 SOLANA wallets - 1 TEZOS wallet (will update existing) Shall I proceed? - Wait for explicit user confirmation ("yes", "confirm", "go ahead")
Step OC-7 — Execute Batch Upload
Call updateBatchInternalAccounts via TRES MCP:
mutation UpdateBatchInternalAccounts($internalAccounts: [InternalAccountInput]) {
updateBatchInternalAccounts(internalAccounts: $internalAccounts) {
internalAccounts {
id
name
identifier
parentPlatform
status
}
validationResults {
iaIdentifier
validationResult {
issueType
errorMessage
}
}
}
}Variables per wallet:
{
"name": "Treasury Hot",
"identifier": "0xABCD...",
"parentPlatform": "ETHEREUM",
"tags": ["defi", "treasury"],
"enforceCollectTransactions": true
}Note: platformKeys is not included for on-chain wallets.
Chunking
If batch > 100 wallets, split into chunks of 50 and call sequentially.
Result handling
- Parse
validationResults— surface anyissueType/errorMessageto the user - Show success count and any failures
- For failures, offer to retry just the failed wallets
EXCHANGE FLOW
Step EX-1 — Introduction & Guide
Show the user the integration guide link:
Before connecting an exchange, please review the Tres Finance Exchange Integration Guide: 👉 https://help.tres.finance/article/integrating-your-exchange-accounts-with-tres-finance
Then fetch the live validated exchange list from TRES MCP — never hardcode it:
query GetAllValidatedExchanges {
ledgerFilters {
allValidatedExchanges {
id
displayName
}
}
}This returns the authoritative list of supported exchanges (47 as of writing, but always fetch live). Sort A-Z by displayName. Present as a native <select> dropdown using ask_user_input_v0 or inline in a show_widget form, mirroring the Tres UI with a "Connection Guidelines ↗" link alongside the label.
Step EX-2 — Fetch Required Fields for the Selected Exchange
Once the user selects an exchange, fetch its credential fields. Use the id value (lowercase) as the exchangeName:
query ExchangeRequiredFields {
exchangeRequiredFields {
requiredFields(exchangeName: "<exchange_id_lowercase>") {
name
type
description
mapping
}
}
}Important: Skip any field where mapping starts with https:// — these are integration guide links, not credential inputs. Show them as a clickable link instead.
Store the remaining fields. Each field has:
name— the credential field keydescription— the human-readable label to show the usermapping— the key used when constructingplatformKeys(e.g.platform_keys.api_key)type— use to determine input type
Step EX-3 — Collect Exchange Credentials (Conversational)
Do NOT render an HTML widget. Instead, ask the user for credentials in plain conversational steps.
First, show the integration guide link:
📖 Before connecting, review the guide: https://help.tres.finance/article/integrating-your-exchange-accounts-with-tres-finance
Then ask for the fields one by one (or all at once in a single prompt), clearly listing what is needed:
To connect <Exchange Name>, I need the following:
**Account Name** (required) — a friendly name for this account in Tres
**API Key** (required)
**API Secret** (required, will be stored securely)
**Tags** (optional) — comma-separated tags
Please provide these values. Keep API secrets private — do not share them in public channels.- For fields where
field.namecontains "secret", "private", "signing", or "passphrase" — note they will be stored securely - For optional fields (e.g. OKX sub-account), label them clearly as
(optional) - Skip any field where
mappingstarts withhttps://— show it as a link instead
Mandatory confirmations (ask as yes/no questions before proceeding)
Before accepting the credentials, ask:
- "Do you confirm the API key has read-only permissions? (yes/no)"
- "Do you agree to the Tres Finance Terms of Service? (yes/no)"
Only proceed once both are confirmed.
Once all credentials and confirmations are collected, store them in the queue format and proceed to Step EX-4.
Step EX-4 — Accumulate Exchange Accounts
After collecting credentials for an exchange:
- Parse and store the account data in a pending queue
- Confirm:
✅ <accountName> (<exchange>) added to queue - Display the running queue as a brief list:
Queued accounts: 1. My Binance Account (BINANCE_EXCHANGE) - Ask: "Would you like to add another exchange or proceed to upload?"
If user wants to add another → loop back to Step EX-1 (queued accounts are preserved). If user wants to proceed → go to Step EX-5.
Step EX-5 — Final Review & Confirmation
Present a plain-text summary of all queued accounts:
Ready to connect the following exchange accounts to Tres Finance:
1. My Binance Account (BINANCE_EXCHANGE)
2. Kraken Main (KRAKEN)
Shall I proceed?Wait for explicit user confirmation ("yes", "confirm", "go ahead", etc.)
Step EX-6 — Execute Exchange Account Creation
Call updateBatchInternalAccounts via TRES MCP for all queued accounts:
mutation UpdateBatchInternalAccounts($internalAccounts: [InternalAccountInput]) {
updateBatchInternalAccounts(internalAccounts: $internalAccounts) {
internalAccounts {
id
name
identifier
parentPlatform
status
}
validationResults {
iaIdentifier
validationResult {
issueType
errorMessage
}
}
}
}Variables per exchange account:
{
"name": "<accountName>",
"identifier": "<accountName>",
"parentPlatform": "<EXCHANGE_ID_UPPERCASE>",
"tags": ["<tag1>"],
"enforceCollectTransactions": true,
"platformKeys": "{\"api_key\": \"...\", \"api_secret\": \"...\"}"
}Important:
identifier= account name (no blockchain address for exchanges)platformKeys= a JSON string (not an object), built fromfield.mapping→ value pairs collected in the formparentPlatform= exchangeiduppercased (e.g.binance_exchange→BINANCE_EXCHANGE)- Process all accounts in a single batch call where possible
Result handling
- Show success/failure per account
- Surface
issueTypeanderrorMessagefor failures - Offer to retry failed accounts
Error Messages & Recovery
| Situation | What to do |
CSV has no address column | Ask user to map which column contains the wallet address |
| Unknown network name | Fuzzy-match to nearest ParentPlatform enum value, show warning banner, ask user to confirm |
| Address format invalid | Mark as error in preview; user must fix or remove the row before upload |
| Duplicate in batch | Mark both rows as errors; user must remove or fix one |
| Wallet already exists in Tres | Mark as ⚠️ warning (yellow); proceed — API will update it |
| No file and no wallets typed | Prompt user to either upload a file or use the manual table |
| Batch > 200 wallets | Skip existing-wallet API check; show informational note |
| MCP mutation returns error | Show error per wallet; offer retry |
| Exchange credentials rejected | Show the validation error and prompt user to re-enter credentials |
exchangeRequiredFields returns empty | Inform user that this exchange may need manual setup; link to the guide |
allValidatedExchanges returns empty | Fall back to informing user and linking to https://help.tres.finance |
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.

