Skip to main content
plugin official · Anthropic

tres-finance-plugin — Claude Code plugin: what it does, how to install

The plugin connects Claude Code to TRES Finance to manage crypto accounting and balance reconciliation against DeBank.

MIT ★ 4,931 updated 2026-10-24

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install tres-finance-plugin@claude-community
Open on GitHub

What tres-finance-plugin does

The plugin equips Claude Code with dedicated accounting skills linked to the hosted TRES Finance MCP server. It handles ASC 845 nonmonetary swap repricing so clearing accounts zero out, converts blockchain explorer transactions into ledger records, and creates animated SVG diagrams explaining complex on-chain asset flows.

It also validates on-chain balances against DeBank protocol positions, generates gap resolution dashboards, and syncs matched transactions directly into ERP systems like QuickBooks Online, NetSuite, or Xero. Bundled scripts also inspect XLSX export files and propose sub-transaction rollup rules.

The plugin transmits no telemetry data. You need active access to the hosted TRES Finance MCP server and your organization profile for commands to run.

What it helps with

  • zero out swap clearing accounts under ASC 845 rules
  • parse explorer transaction hashes into structured ledger records
  • validate wallet balances and DeFi positions against DeBank
  • match ledger transactions to open invoices in NetSuite or Xero
  • extract unidentified counterparty addresses to XLSX files

Example prompts for the agent

  • Generate a flow diagram and explanation for transaction 0xabc...123
  • Check our wallet balances against DeBank and report any discrepancies
  • Match this ledger transaction against unpaid bills in NetSuite

How to install tres-finance-plugin

Plugin marketplace

/plugin marketplace add anthropics/claude-plugins-community
/plugin install tres-finance-plugin@claude-community

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about tres-finance-plugin

How do I install tres-finance-plugin in Claude Code?

First add the community marketplace by running /plugin marketplace add anthropics/claude-plugins-community. Then install the plugin using /plugin install tres-finance-plugin@claude-community.

What does tres-finance-plugin do?

It runs crypto accounting workflows in Claude Code, including ASC 845 swap repricing, wallet balance reconciliation, transaction diagramming, and ERP bill matching.

Does the plugin collect personal or usage telemetry?

No, it collects no usage telemetry and communicates with the hosted TRES Finance MCP connector under its standard privacy terms.

Source text

tres-finance-plugin · MIT
# TRES Finance plugin

The official [TRES Finance](https://tres.finance) plugin for [Claude Code](https://claude.ai/claude-code) — blockchain accounting workflows, ledger management, and transaction analysis.

## Structure

```
tres-finance-plugin/
├── .claude-plugin/
│   ├── plugin.json        # Plugin metadata & userConfig
│   └── marketplace.json   # Marketplace listing
├── skills/
│   ├── tres-asc845-swap-reprice-skill/ # ASC 845 swap repricing (clearing account zero-out)
│   ├── tres-explorer-tx-to-ledger/    # Explorer TX -> ledger entry
│   ├── tres-tx-story/                 # TX flow diagram & explanation
│   ├── tres-recon-gaps/               # Reconciliation gap resolution
│   ├── tres-asset-balance-validation/ # Balance validation vs DeBank (+ DeFi positions)
│   ├── tres-report-analyzer/       # Analyze TRES report XLSX exports
│   ├── tres-report-advisor/        # Recommend the right TRES report
│   ├── tres-invoice-bill-matching/    # Match txs to ERP invoices/bills + sync
│   ├── tres-erp-rule-suggestions/     # ERP rule mapping for accounting entries
│   ├── tres-export-3rd-party-contacts/ # Export unidentified counterparties to XLSX
│   ├── tres-import-contacts/          # Import contacts from CSV/XLSX
│   ├── tres-rollup-rules/             # Discover & propose sub-transaction rollup rules
│   ├── tres-rollup-review/            # Exact-impact gate / review for rollup rules
│   ├── tres-onboarding/               # Full entity onboarding (orchestrates sub-skills)
│   ├── tres-wallets-upload/           # Upload & onboard on-chain wallets / exchange accounts
│   ├── tres-data-collection-commit/   # Trigger on-chain data collection (Commit)
│   ├── tres-cost-basis/               # Cost basis strategy, calculation, issues, exports
│   ├── tres-settings-management/      # Manage org & platform settings via MCP
│   ├── tres-upload-tx-header-validation/ # Bulk TX CSV header validation
│   └── tres-request-skill-update/     # Submit plugin feedback via MCP
├── .mcp.json              # TRES Finance MCP connector
├── CHANGELOG.md
├── LICENSE
└── README.md
```

## Skills

### `tres-asc845-swap-reprice-skill`
Reprice swap inflow legs under ASC 845 (Nonmonetary Transactions) so a swaps/trade clearing account nets to zero. Queries subtransactions via MCP, runs bundled Python scripts for preview and mutation planning, then applies `setManualFiatValue` after user confirmation.

### `tres-explorer-tx-to-ledger`
Add a blockchain explorer transaction to the TRES Finance ledger. Provide an explorer URL or transaction hash, and this skill parses the on-chain data into a structured ledger entry.

### `tres-tx-story`
Analyze a blockchain transaction by hash — generates an animated SVG flow diagram showing all asset movements, plus a plain-language explanation of what happened.

### `tres-recon-gaps`
Query, display, and resolve reconciliation gaps between the TRES ledger and on-chain balances. Renders an interactive HTML dashboard with plug-once and auto-fill actions.

### `tres-asset-balance-validation`
Validate wallet balances in TRES Finance against DeBank (token balances and DeFi protocol positions). Generates an interactive HTML report and a PDF with match/minor/major/missing/untracked/position status badges.

### `tres-report-analyzer`
Analyze uploaded TRES Finance report exports (XLSX): identifies the report type from sheet structure, runs targeted checks via `scripts/analyze_report.py`, and summarizes anomalies and action items.

### `tres-report-advisor`
Recommend the right TRES Finance report for a goal (month-end, audit, tax, reconciliation). Points users to the right tabs, columns, and export API types.

### `tres-invoice-bill-matching`
Match a TRES ledger transaction to an open ERP invoice or bill (AP/AR), pick the payment account from the COA, optionally align fiat values, and sync the transaction to the connected ERP (Xero, QuickBooks Online, NetSuite).

### `tres-erp-rule-suggestions`
Guide users through creating ERP accounting rules for crypto organizations. Fetches wallets, chart of accounts, existing rules, and transaction profiles via the TRES MCP, then proposes a layered rule set (inventory, behavioral, fee/gain-loss) aligned to the org's cost basis mode — and applies it via `upsertRule` after approval.

### `tres-export-3rd-party-contacts`
Pull unidentified external addresses from `accountTxsSummary`, deduplicate and sort by activity, and build a two-tab XLSX (import-ready Contacts + Address details) for labeling and re-import into TRES.

### `tres-import-contacts`
Import labeled contacts into TRES from a CSV or XLSX file (headers: Contact Name, Contact Address, Contact Tag). Parses the file, validates rows, previews imports, and applies `setCustomAccountName` / `setCustomAccountNameLabelTags` in batches with progress and failure reporting.

### `tres-rollup-rules`
Data-driven discovery of rollup rules: aggregates sub-transactions by (wallet, asset, platform, direction), drills into discriminating filters, validates each candidate against real transactions through the `tres-rollup-review` gate, then presents an HTML report + numbered proposal table and creates the approved rules (open-ended by default). Also lists and deletes rollup rules via the TRES MCP GraphQL API.

### `tres-rollup-review`
Computes the exact sub-transaction impact of a rollup rule (every filter applied, via `subTransactionRollupRulePreview`) and flags zero-match, overlap, and config problems. Runs as a pre-create quality gate invoked by `tres-rollup-rules`, and standalone to review submitted or existing PENDING rollup rules.

### `tres-onboarding`
Run the full new-entity pipeline in order: wallets upload, data collection commit, balance validation, reconciliation gaps, cost basis (`tres-cost-basis`), export/import contacts for counterparties, and rollup rules — only when the user explicitly asks for full onboarding.

### `tres-wallets-upload`
Upload and onboard multiple on-chain wallets or exchange accounts into TRES — from a CSV/Excel file or typed manually. Guides through wallet type selection, input collection, validation, an editable HTML preview, exchange credential collection, and batched creation via the TRES MCP API.

### `tres-data-collection-commit`
Trigger on-chain data collection (a "Commit") in TRES for wallets that are already onboarded. Sits between `tres-wallets-upload` and `tres-asset-balance-validation` in the onboarding flow — pulls balances, syncs wallets, and refreshes on-chain data.

### `tres-cost-basis`
Manage cost basis end-to-end via the TRES MCP: strategy (FIFO, LIFO, AVG, etc.), trigger recalculation, per-asset results, financial issues, missing fiat fixes, reevaluations/impairments, spec-ID rules, and cost basis report exports.

### `tres-settings-management`
View and modify Organization Settings and Platform Settings via the TRES MCP GraphQL API — feature flags, balance diff, commit strategy, cost basis strategy, ERP, pricing, sync boundaries, enable/disable platforms, and other config.

### `tres-upload-tx-header-validation`
Validate or fix the header row for TRES bulk manual transaction / sub-transaction CSV uploads. Documents the exact display-name columns (e.g. `Organizational Wallet`, not `wallet_address`) and column order — use when uploads fail with missing required column errors.

### Legacy alias: `wallets-upload-v3` → `tres-wallets-upload`
Older docs may refer to `wallets-upload-v3`. The current skill ID is `tres-wallets-upload`.

### `tres-data-collection-commit`
Trigger on-chain data collection (a "Commit") in TRES for wallets that are already onboarded. Sits between `tres-wallets-upload` and `tres-asset-balance-validation` in the onboarding flow — pulls balances, syncs wallets, and refreshes on-chain data.

### `tres-settings-management`
View and modify Organization Settings and Platform Settings via the TRES MCP GraphQL API — feature flags, balance diff, commit strategy, cost basis strategy, ERP, pricing, sync boundaries, enable/disable platforms, and other config.

### `tres-request-skill-update`
Submit feedback about any part of the plugin — bug reports, feature requests, skill improvements, new skill ideas, MCP issues, or positive feedback. Guides you through articulating clear, actionable feedback and saves it via the TRES MCP.

## Submit Feedback

Have feedback about the plugin? Use the `tres-request-skill-update` skill directly in Claude Code — it guides you through describing your feedback clearly and submits it for the team to review.

## Analytics

This plugin collects **no usage telemetry**. It does not track which skills you invoke, which MCP tools you call, or your identity, and it sends no analytics events.

Usage analytics may be reintroduced in a future release as an explicit opt-in. If that happens, it will be disclosed here and in the plugin description before it ships.

## Privacy

Data you exchange with the bundled TRES Finance MCP connector (see below) is handled under the TRES Finance privacy policy: <https://tres.finance/privacy-policy/>

## MCP Connector

This plugin bundles the TRES Finance MCP server (`https://ai.tres.finance/mcp`), which provides GraphQL tools for querying and mutating TRES data: `build_query`, `execute`, `get_schema_summary`, `get_viewer`, `validate_query`, and `introspect`.

On first enable, a browser window opens for you to log in to your TRES Finance account. Authentication is handled automatically via OAuth — no API token required.

## Installation

Install via the Claude Code plugin system:

```bash
/plugin marketplace add tres-finance/tres-finance-plugin
```

Or for local development:

```bash
claude --plugin-dir ./tres-finance-plugin
```

## License

MIT

© Nadav Gilliam · MIT · anthropics/claude-plugins-community

Similar plugins

All plugins for Finance and business →

From the same set37

The whole set →

Project sponsors

Companies that keep this analytics open