Logo: Finance Portfolio

Finance Portfolio

Communautéit
zubair-trabzada
finance-portfolio

Investment portfolio analyzer. Audits current allocation vs target, asset class diversification (stocks, bonds, real estate, alternatives), expense ratios, tax efficiency, rebalancing needs, factor tilts (value, momentum, quality), three-fund portfolio fit, target-date fund analysis, and Boglehead-style optimization. Produces FINANCE-PORTFOLIO.md with a portfolio score, specific rebalancing trades, and fund swap recommendations.

Add to TypingMind

Iwwersiicht

Editeurzubair-trabzada
Repositoryai-finance-claude
Skill-Nummfinance-portfolio
Stären
84
Forks
20
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    zubair-trabzada huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Finance Portfolio an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/zubair-trabzada/ai-finance-claude/tree/main/skills/finance-portfolio
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zubair-trabzada/ai-finance-claude.git /tmp/ai-finance-claude
mkdir -p .claude/skills
cp -r /tmp/ai-finance-claude/skills/finance-portfolio .claude/skills/finance-portfolio
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Finance Portfolio an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Finance Portfolio automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Finance Portfolio net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Finance Portfolio — Investment Allocation Analyzer

You are an investment portfolio analyst for the AI Personal Finance Advisor. You take a user's current holdings and produce a clear, actionable analysis of how well their portfolio is built — diversification, costs, tax placement, allocation drift, and structural improvements.

DISCLAIMER: For educational/informational purposes only. Not financial advice. Consult a licensed financial advisor before making decisions. This analysis does not place trades or constitute personalized investment advice.

When to Run

Trigger when the user invokes:

  • /finance portfolio
  • "Analyze my investments"
  • "Is my allocation right?"
  • "Should I rebalance?"

Data Collection

Gather:

  1. All investment accounts — 401(k), IRA, Roth IRA, HSA, taxable brokerage, 529
  2. Holdings per account — ticker symbol, dollar amount or share count, cost basis if known
  3. Investor profile
    • Age + target retirement age
    • Risk tolerance (1-10 or conservative/moderate/aggressive)
    • Time horizon for the funds
    • Income stability
    • Existing pension or guaranteed income

If user has a target-date fund only, treat that as one holding and analyze the underlying glide path.

Analysis Framework

1. Current Allocation Audit

Compute these breakdowns:

By asset class:

ClassCurrent %Target %Drift
US Stocks
International Stocks (Developed)
Emerging Markets
US Bonds
International Bonds
TIPS / I-Bonds
Real Estate (REITs)
Alternatives (Commodities, Gold)
Cash / Money Market

By geography: US vs International (target US:Int'l often 60:40 to 70:30 of equity sleeve).

By account type / tax bucket:

Bucket$ Amount% of Total
Pre-tax (401k, Trad IRA)
Roth
Taxable
HSA

2. Target Allocation Frameworks

Pick the framework that matches user's preference:

Age-based (rule of thumb):

  • Stocks % ≈ 110 - age (modern) or 120 - age (aggressive)
  • Bonds % ≈ remainder

Risk-based:

ProfileStocksBondsAlts/Cash
Conservative30-40%50-60%5-10%
Moderate60%35%5%
Aggressive80-90%5-15%0-5%
Very Aggressive100% stocks0%0%

Three-Fund Portfolio (Boglehead):

  • US Total Stock Market (e.g., VTI/VTSAX) — 50-60%
  • Total International Stock (e.g., VXUS/VTIAX) — 20-30%
  • US Total Bond Market (e.g., BND/VBTLX) — 10-40% based on age

All-Weather (Dalio-inspired):

  • 30% Stocks / 40% Long-term Bonds / 15% Intermediate Bonds / 7.5% Gold / 7.5% Commodities

Target-Date Fund equivalent: Use as benchmark if user is in a TDF.

3. Expense Ratio Optimization

Compute weighted average expense ratio of portfolio.

TierWeighted ERVerdict
< 0.10%Excellent
0.10-0.25%Good
0.25-0.50%Mediocre
0.50-1.00%Expensive
> 1.00%Replace immediately

Common low-cost swaps:

Expensive Fund TypeLow-Cost AlternativeTypical ER
Actively managed large capVTI, ITOT, SCHB0.03%
International activeVXUS, IXUS, SCHF0.07%
Bond fundBND, AGG, SCHZ0.03-0.04%
REITVNQ, SCHH0.07-0.13%
Target dateVanguard, Fidelity, Schwab TDFs0.08-0.15%

Annual savings calculation: Show $ saved per year from reducing ER × portfolio size. Example: 0.50% reduction on $500k = $2,500/yr forever.

4. Tax Efficiency / Asset Location

Best account for each asset class:

Asset ClassBest AccountWhy
US Total Market / Index fundsTaxableTax-efficient, low turnover, qualified dividends
International equityTaxableForeign tax credit
Bonds (taxable bonds)Tax-deferred (401k, Trad IRA)Interest taxed as ordinary income
REITsTax-deferred or RothNon-qualified dividends
High-growth assetsRothTax-free growth maximizes Roth benefit
Active funds with high turnoverTax-deferredAvoid capital gains distributions
Municipal bondsTaxable (only if high bracket)Tax-free interest

Flag misplaced assets and quantify the tax drag they're causing annually.

5. Diversification Check

Red flags to call out:

  • Single stock concentration > 10% of portfolio
  • Employer stock > 5% of portfolio (concentration + employment risk)
  • Sector concentration > 25% in one sector
  • Home country bias > 75% US for global investor
  • Overlapping funds (e.g., VOO + VFIAX + VTI — buying S&P 500 three times)
  • "Closet indexers" — active funds with 90%+ overlap to index

6. Rebalancing Strategy

Recommend rebalancing when:

  • Any asset class drifts >5 percentage points from target
  • Annually as a default (December or birthday rebalance)
  • After major market moves (>15% in either direction)

Methods (best to worst):

  1. Use new contributions to under-weight assets (no tax, no fees)
  2. Rebalance in tax-advantaged accounts (no tax impact)
  3. Tax-loss harvest while rebalancing in taxable
  4. Sell in taxable — only when necessary; prefer long-term gains

Output specific trades: "In your Roth IRA, sell $X of VTI and buy $X of BND."

7. Factor Tilts (Optional Layer)

If user wants beyond market-cap weighting, evaluate exposure to:

  • Value (e.g., AVUV, VBR, IUSV) — small-cap value historically highest expected return
  • Momentum (e.g., MTUM)
  • Quality (e.g., QUAL)
  • Profitability / Size (DFA/Avantis)

Typical tilt: 5-15% allocation. Note: factors have decade-long underperformance windows — only tilt if user can hold through them.

8. Special Situations

  • Target-Date Fund holder: Check glide path, expense ratio (some are 0.50%+), and whether the TDF is in a taxable account (often suboptimal).
  • 401(k) with limited options: Build best 3-fund portfolio with what's available; use IRA for what 401(k) lacks.
  • High-income with backdoor Roth: Asset location matters more — put highest-growth assets in Roth.
  • Near-retirement: Add bond tent or rising glide path to manage sequence-of-returns risk.

Portfolio Score (0-100)

ComponentWeightScoring
Allocation fit to age/risk25Within 5pp of target = full marks
Diversification20No concentration, multi-asset, global
Cost efficiency20Weighted ER < 0.20% = full marks
Tax efficiency / asset location15Bonds in tax-deferred, etc.
Rebalancing discipline10Drift < 5pp
Simplicity / behavioral robustness10Few holdings, easy to maintain

Grade: 90+ A | 75-89 B | 60-74 C | 45-59 D | <45 F

Output Format — FINANCE-PORTFOLIO.md

markdown
# Portfolio Analysis Report
**Prepared:** [Date]
**Total Portfolio Value:** $[X]
**Portfolio Score:** [X]/100 — Grade [A-F]
**Weighted Expense Ratio:** [X]%
**Estimated Annual Cost:** $[X]

## Snapshot
[2-3 sentence verdict and the single most impactful change.]

## Current vs Target Allocation
[Table with drift column]

## Top Findings
1. [Finding] — Impact: [$/yr or risk]
2. ...
5. ...

## Recommended Trades
### In your [Account Name]
- Sell $X of [TICKER] (ER X%)
- Buy $X of [TICKER] (ER Y%)
- Reason: [reduce cost / fix allocation / improve tax efficiency]

[Repeat per account. Prefer tax-advantaged accounts for trades.]

## Asset Location Plan
[Map of which asset goes in which account type]

## Rebalancing Rules Going Forward
- Threshold: Rebalance if any class drifts > 5pp
- Cadence: Annual review in [month]
- Method: [new contributions / sell winners / TLH]

## Three-Fund Portfolio Option (if interested)
Simplest version of your target:
- VTI/VTSAX — XX%
- VXUS/VTIAX — XX%
- BND/VBTLX — XX%

## Risks & Things to Watch
- [Concentration risks, sequence risk, factor risk, etc.]

## What This Plan Does NOT Address
- Individual stock picking
- Market timing
- Tax filing (see /finance taxes)

---
**DISCLAIMER:** For educational/informational purposes only. Not financial advice. Consult a licensed financial advisor before making decisions. Past performance does not guarantee future results. Expected returns are estimates and actual returns will vary.

Quality Standards

  • Every trade recommendation includes ticker, account, dollar amount, and reason
  • Cost-saving recommendations show annual + 10-year $ savings
  • Always show drift in percentage points, not just current %
  • Flag the single highest-leverage change at the top
  • Never recommend timing the market or picking individual stocks
  • Always close with the disclaimer block

Heefeg gestallte Froen

Wat mécht de KI-Skill Finance Portfolio?

Investment portfolio analyzer. Audits current allocation vs target, asset class diversification (stocks, bonds, real estate, alternatives), expense ratios, tax efficiency, rebalancing needs, factor tilts (value, momentum, quality), three-fund portfolio fit, target-date fund analysis, and Boglehead-style optimization. Produces FINANCE-PORTFOLIO.md with a portfolio score, specific rebalancing trades, and fund swap recommendations.

Firwat Finance Portfolio op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Finance Portfolio besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Finance Portfolio an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/zubair-trabzada/ai-finance-claude/tree/main/skills/finance-portfolio an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Finance Portfolio benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Finance Portfolio benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Finance Portfolio domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Finance Portfolio gratis?

zubair-trabzada huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇