advisor-dashboards
Design, build, and optimize dashboards for RIA practice management with AUM tracking, revenue analytics, and KPI frameworks. Use…
Decompose portfolio returns into explainable components to identify where value was added or lost. Use when the user asks about Brinson attribution, allocation vs selection effects, factor-based attribution, fixed-income attribution, or currency attribution. Also trigger when
Claude Code
$ npx -y skills add JoelLewis/finance_skills --skill performance-attribution --agent claude-code
Codex
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a codex -y
Cursor
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a cursor -y
Gemini CLI
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a gemini-cli -y
GitHub Copilot
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a github-copilot -y
OpenCode
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a opencode -y
Windsurf
$ npx skills add JoelLewis/finance_skills --skill performance-attribution -a windsurf -y
name: performance-attribution description: "Decompose portfolio returns into explainable components to identify where value was added or lost. Use when the user asks about Brinson attribution, allocation vs selection effects, factor-based attribution, fixed-income attribution, or currency attribution. Also trigger when users mention 'what drove my returns', 'was it stock picking or sector bets', 'alpha decomposition', 'multi-period linking', 'interaction effect', 'active return breakdown', or ask why their portfolio outperformed or underperformed the benchmark."
The classic equity attribution model decomposes active return (portfolio return minus benchmark return) into three effects:
Where: w_p,i = portfolio weight in sector i, w_b,i = benchmark weight in sector i, R_p,i = portfolio return in sector i, R_b,i = benchmark return in sector i, R_b = total benchmark return.
Single-period attribution does not compound across periods. Geometric linking methods are required:
Decomposes returns into exposures to systematic risk factors:
Decomposes bond portfolio returns into component sources:
For international portfolios, returns decompose into:
| Formula | Expression | Use Case | |---------|-----------|----------| | Allocation effect (sector i) | A_i = (w_p,i - w_b,i) × (R_b,i - R_b) | Sector weighting decisions | | Selection effect (sector i) | S_i = w_b,i × (R_p,i - R_b,i) | Security selection within sector | | Interaction effect (sector i) | I_i = (w_p,i - w_b,i) × (R_p,i - R_b,i) | Joint allocation-selection effect | | Total active return | R_p - R_b = Σ(A_i + S_i + I_i) | Sum of all effects equals active return | | Factor return contribution | C_k = β_k × F_k | Return from factor k exposure | | Duration effect | ΔP/P ≈ -D × Δy | Bond price change from yield shift | | Currency return | R_fx = (S_end - S_start) / S_start | Exchange rate impact |
**Given:** Two-sector portfolio (Tech and Healthcare). Portfolio: 35% Tech (returned 15%), 65% Healthcare (returned 8%). Benchmark: 25% Tech (returned 12%), 75% Healthcare (returned 6%). Total benchmark return: 0.25×12% + 0.75×6% = 7.5%. **Calculate:** Allocation, selection, and interaction effects for each sector, and total active return. **Solution:** 1. **Total portfolio return:** 0.35×15% + 0.65×8% = 5.25% + 5.20% = 10.45%. 2. **Total active return:** 10.45% - 7.50% = **2.95%**. 3. **Tech allocation effect:** (0.35 - 0.25) × (12% - 7.5%) = 0.10 × 4.5% = **+0.45%** (overweight a sector that beat the benchmark). 4. **Tech selection effect:** 0.25 × (15% - 12%) = 0.25 × 3% = **+0.75%*
A collection of Claude Code skill plugins for financial services. 91 skills across 7 domain plugins teach Claude investment management, regulatory compliance, advisory workflows, trading operations, and more — so it can assist with finance questions, build
Design, build, and optimize dashboards for RIA practice management with AUM tracking, revenue analytics, and KPI frameworks. Use…
Design and implement end-to-end client onboarding workflows from prospect intake through funded account, covering KYC…
Design, generate, and deliver client performance reports across all channels, covering quarterly reports, tax reporting, portal…
Prepare advisors for client review meetings by assembling context packages, performance summaries, drift analysis, talking…
Design and optimize CRM systems and client lifecycle workflows for advisory firms, covering segmentation, household management,…
Build and manage advisory fee billing operations from fee schedule design through calculation, collection, revenue recognition,…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…