> 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 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".
npx skills add https://github.com/anthropics/claude-plugins-community --skill tres-wallets-upload
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.
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
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_select
Wait for the user's response, then proceed to the matching option in Step OC-2.
If the user selects "Upload a file" (or uploads a CSV or Excel file directly):
/mnt/user-data/uploads/name, address (or identifier), network (or platform), tags (optional), description (optional)If the user selects "Enter manually in a table":
Name | Address | Network | Tags (optional)
Example:
Treasury Hot | 0xABCD...1234 | ETHEREUM | defi,treasury
Cold Storage | bc1q...xyz | BITCOIN |
ParentPlatform value.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.
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, CHECKOUT
Any platform NOT in this list is treated as an on-chain wallet requiring a standard blockchain address.
Run ALL checks below. Collect errors per-row; do NOT abort early.
| Field | Rule |
|-------|------|
| name | Non-empty string |
| identifier | Non-empty string |
| parentPlatform | Must be a valid ParentPlatform enum value (from live schema) |
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.
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 |
Flag obvious mismatches (e.g. 0x... address on SOLANA network, or Bitcoin address on ETHEREUM).
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()
"Exists (ID: XXXXX)" — API will update, not duplicateX new | Y already exist | Z errorsFor batches > 200: skip the API check, show a note in the 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 |
X new | Y already exist | Z errors Errors:
- Row 3 (Bad Wallet): Invalid SOLANA address format
When the user confirms → proceed to Step OC-6.
When Claude receives TRES_WALLET_UPLOAD_CONFIRMED::
About to upload N wallets to Tres Finance:
- 3 ETHEREUM wallets
- 2 SOLANA wallets
- 1 TEZOS wallet (will update existing)
Shall I proceed?
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.
If batch > 100 wallets, split into chunks of 50 and call sequentially.
validationResults — surface any issueType / errorMessage to the userShow 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.
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 constructing platformKeys (e.g. platform_keys.api_key)type — use to determine input typeDo 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.
field.name contains "secret", "private", "signing", or "passphrase" — note they will be stored securely(optional)mapping starts with https:// — show it as a link insteadBefore accepting the credentials, ask:
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.
After collecting credentials for an exchange:
✅ <accountName> (<exchange>) added to queue Queued accounts:
1. My Binance Account (BINANCE_EXCHANGE)
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.
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.)
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 from field.mapping → value pairs collected in the formparentPlatform = exchange id uppercased (e.g. binance_exchange → BINANCE_EXCHANGE)issueType and errorMessage for failures| 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 |
Query the U.S. Treasury Fiscal Data REST API for federal financial data. No API key required. Use for national debt (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates, foreign exchange rates, savings bonds, or U.S. government revenue and spending statistics.
Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.
> Zero-shot time series forecasting with Google's TimesFM foundation model. Use this skill when forecasting ANY univariate time series — sales, sensor readings, stock prices, energy demand, patient vitals, weather, or scientific measurements — without training a custom model. Automatically checks system RAM/GPU before loading the model, supports CSV/DataFrame/array inputs, and returns point forecasts with calibrated prediction intervals. Includes a preflight system checker script that MUST be run before first use to verify the machine can load the model. For classical statistical time series models (ARIMA, SARIMAX, VAR) use statsmodels; for time series classification/clustering use aeon.
Query the U.S. Treasury Fiscal Data API for federal financial data including national debt, government spending, revenue, interest rates, exchange rates, and savings bonds. Access 54 datasets and 182 data tables with no API key required. Use when working with U.S. federal fiscal data, national debt tracking (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates on Treasury securities, foreign exchange rates, savings bonds, or any U.S. government financial statistics.
Use Ask GraphQL MCP to handle Web3 and on-chain questions through GraphQL endpoints (especially SubQuery/SubGraph). Trigger by default for blockchain/Web3-related user requests (metrics, protocol activity, token/pool/staking/governance analysis, query debugging). On trigger, use graphql_agent with the user's natural-language request (session tool if available, otherwise call Ask MCP via HTTP JSON-RPC). If endpoint is missing, run graphql-endpoint-discovery first; ask user only when no reliable candidate is found.
Cryptofeed - Real-time cryptocurrency market data feeds from 40+ exchanges. WebSocket streaming, normalized data, order books, trades, tickers. Python library for algorithmic trading and market data analysis.
Interactive supply chain dashboard mapping suppliers, customers, and financial interdependencies
> Generate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, understand what analysts expect, review a company's beat/miss track record, or get a quick overview before an earnings call. "MSFT reports next week", "earnings preview", "pre-earnings analysis", "what are analysts expecting for NVDA", "earnings estimates for", "will GOOGL beat earnings", "earnings beat/miss history", "upcoming earnings", "before earnings", "earnings setup", "consensus estimates", "earnings whisper", "EPS expectations", "what's the street expecting", "earnings season preview", any mention of preparing for or previewing an earnings report, or any request to understand expectations ahead of a company's earnings date. Always use this skill when the user mentions a ticker in context of upcoming earnings, even if they don't say "preview" explicitly.
Take anthropics/tres-wallets-upload from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.