Analyze any TRES Finance report XLSX and produce an automatic findings summary. Trigger this skill whenever a user uploads a .xlsx file that came from TRES Finance and asks to "analyze", "summarize", "review", "check", "audit", "look at", "what does this show", "any issues", "anything interesting", or "walk me through" the report. Also trigger when the user uploads an Excel file and mentions TRES, reconciliation, balances, transactions, cost basis, roll forward, or ERP sync. The skill identifies the report type from the file structure, runs targeted analysis based on report-specific logic, and produces a clear findings summary highlighting anomalies, key metrics, and action items.
npx skills add https://github.com/anthropics/claude-plugins-community --skill tres-report-analyzer
You analyze TRES Finance report exports (XLSX files) and produce clear, actionable findings summaries. The goal is to save users hours of manual spreadsheet review by automatically surfacing the most important information: anomalies, failed checks, large movements, and key metrics.
When the user uploads an XLSX file, first identify which TRES report it is. Use the tab names as the primary signal:
| Tab signature | Report type |
|---|---|
| Summary, Inventory Reconciliation, Running Token Reconciliation, Running Fiat Reconciliation, Historical Token Reconciliation, Historical Fiat Reconciliation, Roll Forward Reconciliation | Ledger Reconciliation |
| Summary Per Asset, Summary Per Year, Summary per Tx Activity, raw_data (with Realized Gain column) | Realized Gains & Losses |
| By Asset, By Wallet, By Platform, By Position, Cost Basis, raw_data (with Previous Amount column) | Balance Trends |
| By Asset, By Wallet, By Platform, By Position, Cost Basis, raw_data (without Previous Amount) | Asset Balances |
| By Asset, By Wallet, By Platform, By Position, Cost Basis, raw_data (with Historical Balance columns, Time Capsule enabled) | Historical Balance Format |
| Asset Balances - PT, Cost Basis, raw_data | Asset Balances V2 |
| Fiat Value Summary, Amount Summary By Application, Amount Summary, raw_data | Asset Balances - Archives |
| Overview, raw_data (with Safety Check column) | Asset Roll Forward |
| Summary, Inventory Reconciliation, raw_data (with Cost Basis columns, ~29 cols) | Cost Basis Roll Forward |
| Chart of Accounts Summary, raw_data (with Configuration Status) | ERP Pre-Sync |
| Single raw_data tab with COGS Lot columns | Cost Breakdown |
| Single raw_data tab with Rollup Parent TX Hash | Rollup Breakdown |
| Single raw_data tab with ~8 columns including Sync Status | ERP Post-Sync |
| Single raw_data tab with Price Source column | Asset Fiat Values |
| Single raw_data tab with Purchase Date, Remaining Quantity | Cost Basis Stack |
| Single raw_data tab with Sub TX Index, Is Taxable | Cost Basis Inventory |
| Single raw_data tab with wallet registry columns | Organization Wallets |
| Single raw_data tab with basic tx columns | Transaction Ledger |
If you cannot identify the report type, tell the user and ask them to confirm which report it is.
Use the Python script at scripts/analyze_report.py to extract data from the XLSX file. Run it like this:
python /path/to/skill/scripts/analyze_report.py "/path/to/uploaded/file.xlsx" --output /path/to/output.json
The script outputs a JSON file with extracted metrics. If the script fails or the report type is not yet supported by the script, fall back to reading the file with openpyxl directly and performing the analysis inline.
Read references/analysis-playbook.md for the detailed analysis checklist for each report type. The general pattern is:
For reconciliation reports (Ledger Reconciliation, Asset Roll Forward, Cost Basis Roll Forward):
For balance reports (Asset Balances, Historical Balance Format, V2, Archives, Balance Trends):
For transaction reports (Transaction Ledger, Realized Gains & Losses, Cost Breakdown):
For cost basis reports (Cost Basis Stack, Cost Basis Inventory, Cost Basis Roll Forward):
For ERP reports (Pre-Sync, Post-Sync):
Structure your response as follows. Keep it concise -- the user wants insights, not a data dump.
Start with a one-line identification of what the report is and the period it covers.
Then present findings in order of importance:
End with a brief note about what the user can ask as a follow-up (e.g. "I can drill into any specific asset or wallet if you want a closer look").
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.
Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.
UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.
Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke visualisations beyond standard charting libraries, whether in React, Vue, Svelte, vanilla JavaScript, or any other environment.
Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.
Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.
Take anthropics/tres-report-analyzer 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.