tres-report-analyzer

bởi anthropic

Phân tích bất kỳ báo cáo XLSX nào của TRES Finance và tạo ra bản tóm tắt phát hiện tự động. Kích hoạt kỹ năng này bất cứ khi nào người dùng tải lên tệp .xlsx có nguồn gốc từ TRES…

npx skills add https://github.com/anthropics/claude-plugins-community --skill tres-report-analyzer

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.

How it works

  1. Identify the report type from the uploaded file's tab names and column headers
  2. Run the analysis script which performs report-specific checks
  3. Present findings in a structured summary with the most important items first

Step 1: Identify the report type

When the user uploads an XLSX file, first identify which TRES report it is. Use the tab names as the primary signal:

Tab signatureReport type
Summary, Inventory Reconciliation, Running Token Reconciliation, Running Fiat Reconciliation, Historical Token Reconciliation, Historical Fiat Reconciliation, Roll Forward ReconciliationLedger 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_dataAsset Balances V2
Fiat Value Summary, Amount Summary By Application, Amount Summary, raw_dataAsset 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 columnsCost Breakdown
Single raw_data tab with Rollup Parent TX HashRollup Breakdown
Single raw_data tab with ~8 columns including Sync StatusERP Post-Sync
Single raw_data tab with Price Source columnAsset Fiat Values
Single raw_data tab with Purchase Date, Remaining QuantityCost Basis Stack
Single raw_data tab with Sub TX Index, Is TaxableCost Basis Inventory
Single raw_data tab with wallet registry columnsOrganization Wallets
Single raw_data tab with basic tx columnsTransaction Ledger

If you cannot identify the report type, tell the user and ask them to confirm which report it is.

Step 2: Run the analysis

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.

What to analyze per report type

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):

  • Check columns: how many pass vs. fail?
  • Which assets/wallets have the largest discrepancies?
  • What is the total slippage or gap amount?
  • Are there patterns (same wallet, same asset, same platform)?

For balance reports (Asset Balances, Historical Balance Format, V2, Archives, Balance Trends):

  • Total portfolio value
  • Top holdings by fiat value
  • Any zero-balance or negative-balance entries?
  • For Balance Trends: largest movers (biggest absolute change)
  • Unverified tokens or missing prices

For transaction reports (Transaction Ledger, Realized Gains & Losses, Cost Breakdown):

  • Total transaction count and date range
  • Largest transactions by fiat value
  • Total realized gains/losses (if applicable)
  • Classification breakdown (how many of each type)
  • Any unclassified transactions?

For cost basis reports (Cost Basis Stack, Cost Basis Inventory, Cost Basis Roll Forward):

  • Total cost basis and unrealized gains
  • Lots with largest unrealized losses (tax-loss harvesting candidates)
  • Age of lots (any very old lots?)
  • Impairment amounts if applicable

For ERP reports (Pre-Sync, Post-Sync):

  • Configuration status breakdown (how many ready vs. misconfigured)
  • Missing account mappings
  • Failed syncs and error patterns
  • Debit/credit balance check

Step 3: Present findings

Structure your response as follows. Keep it concise -- the user wants insights, not a data dump.

Format

Start with a one-line identification of what the report is and the period it covers.

Then present findings in order of importance:

  1. Red flags (if any): failed checks, large discrepancies, missing data, failed syncs
  2. Key metrics: total value, count, gains/losses -- the headline numbers
  3. Notable items: largest transactions, top holdings, biggest movers -- things worth knowing
  4. Action items (if any): specific things the user should investigate or fix

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").

Style rules

  • Use actual numbers from the data, not vague descriptions
  • Round large numbers sensibly ($1,234,567.89 -> $1.23M)
  • No em-dashes or en-dashes (use -- instead)
  • Keep the total response under 500 words unless the user asks for more detail
  • If there are many findings, prioritize the top 5 and mention "N more items" the user can ask about

Thêm skills từ anthropic

analyzing-financial-statements
anthropic
Kỹ năng này tính toán các tỷ số và chỉ số tài chính chính từ dữ liệu báo cáo tài chính để phân tích đầu tư.
applying-brand-guidelines
anthropic
Kỹ năng này áp dụng nhận diện thương hiệu và phong cách doanh nghiệp nhất quán cho tất cả tài liệu được tạo ra, bao gồm màu sắc, phông chữ, bố cục và thông điệp.
creating-financial-models
anthropic
Kỹ năng này cung cấp bộ công cụ lập mô hình tài chính nâng cao với phân tích DCF, kiểm tra độ nhạy, mô phỏng Monte Carlo và lập kế hoạch kịch bản cho đầu tư…
board-minutes
anthropic
Soạn thảo biên bản cuộc họp hội đồng hoặc ủy ban theo định dạng của bạn. Tự động phát hiện các cuộc họp hội đồng và ủy ban sắp tới từ lịch của bạn, yêu cầu chương trình họp và…
crm-cleanup
anthropic
Quét HubSpot để tìm các deal đã cũ, danh bạ trùng lặp và các trường bị thiếu, sau đó sửa những gì chủ sở hữu phê duyệt. Chấp nhận đối số phạm vi tùy chọn cho deals, contacts,…
redshift-api
anthropic
Chạy SQL trên Amazon Redshift — gửi câu lệnh, kiểm tra trạng thái, phân trang kết quả và duyệt cơ sở dữ liệu/lược đồ/bảng. Sử dụng công cụ này bất cứ khi nào người dùng muốn…
ticket-deflector
anthropic
Đọc email hoặc ticket của khách hàng được chuyển tiếp, lấy trạng thái đơn hàng/hoàn tiền từ PayPal và lịch sử tài khoản từ HubSpot, soạn thảo phản hồi phù hợp với giọng điệu của chủ sở hữu…
reg-feed-watcher
anthropic
Kiểm tra các nguồn cấp dữ liệu quy định ngay bây giờ và báo cáo những gì mới kể từ lần kiểm tra trước, được lọc theo ngưỡng trọng yếu của bạn. Sử dụng khi người dùng nói "kiểm tra các nguồn cấp dữ liệu",…