Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
anthropics avatar

Portfolio Rebalance

  • 1 installs
  • 34k repo stars
  • Updated August 4, 2026
  • anthropics/financial-services

Portfolio-rebalance is a Claude skill that analyzes allocation drift and generates tax-aware rebalancing trade recommendations across accounts.

About

Portfolio-rebalance compares a multi-account portfolio's current allocation to IPS targets and flags positions outside the rebalancing band. It generates a trade list to return to target while considering tax impact, transaction costs, and wash sale rules. An advisor uses it when a portfolio has drifted out of balance and trades need to be planned across taxable and tax-advantaged accounts.

  • Analyzes allocation drift against IPS targets across accounts
  • Generates tax-aware rebalancing trade recommendations
  • Accounts for wash sale rules, transaction costs, and asset location

Portfolio Rebalance by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #909 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

portfolio-rebalance capabilities & compatibility

Capabilities
tax loss harvesting · returns analysis · portfolio monitoring
Use cases
data analysis
From the docs

What portfolio-rebalance says it does

Analyze portfolio allocation drift and generate rebalancing trade recommendations across accounts.
SKILL.md
Watch for wash sale rules (30-day window) across all accounts
SKILL.md
Don't rebalance for rebalancing's sake — small drift within bands is fine
SKILL.md
npx skills add https://github.com/anthropics/financial-services --skill portfolio-rebalance

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars34k
Last updatedAugust 4, 2026
Repositoryanthropics/financial-services

What it does

Analyze portfolio allocation drift and generate tax-aware rebalancing trades across taxable and retirement accounts.

Who is it for?

Advisors rebalancing multi-account portfolios back to IPS targets with tax awareness

Skip if: Automated live trade execution

When should I use this skill?

A portfolio has drifted out of balance and rebalancing trades need planning

What you get

A drift table, recommended trade list, tax-impact summary, and before/after allocation comparison

  • drift analysis table
  • recommended trade list (Excel)
  • tax impact summary

By the numbers

  • 6-step workflow
  • 9 asset-class allocation grid
  • ±3-5% rebalancing band

Files

SKILL.mdMarkdownGitHub ↗

Portfolio Rebalance

Workflow

Step 1: Current State

For each account, capture:

  • Account type (taxable, IRA, Roth, 401k)
  • Holdings with current market value
  • Cost basis (for taxable accounts)
  • Unrealized gains/losses per position

Step 2: Drift Analysis

Compare current allocation to IPS targets:

Asset ClassTarget %Current %Drift$ Over/Under
US Large Cap Equity
US Small/Mid Cap
International Developed
Emerging Markets
Investment Grade Bonds
High Yield / Credit
TIPS / Inflation Protected
Alternatives
Cash

Flag positions exceeding the rebalancing band (typically ±3-5%).

Step 3: Trade Recommendations

Generate trades to bring allocation back to target:

Tax-Aware Rebalancing Rules:

  • Prefer rebalancing in tax-advantaged accounts (IRA, Roth) first — no tax consequences
  • In taxable accounts, avoid selling positions with large short-term gains
  • Harvest losses where possible while rebalancing
  • Watch for wash sale rules (30-day window) across all accounts
  • Consider directing new contributions to underweight asset classes instead of trading

Trade List:

AccountActionSecurityShares/$ReasonTax Impact
Buy/SellRebalance / TLHST gain / LT gain / Loss

Step 4: Asset Location Review

Optimize which assets are held in which account types:

  • Tax-deferred (IRA/401k): Bonds, REITs, high-turnover funds (highest tax drag)
  • Roth: Highest expected growth assets (tax-free growth)
  • Taxable: Tax-efficient equity (index funds, ETFs, munis), tax-loss harvesting candidates

Step 5: Implementation

  • Total trades by account
  • Estimated transaction costs
  • Estimated tax impact (realized gains/losses)
  • Net effect on allocation drift

Step 6: Output

  • Drift analysis table
  • Recommended trade list (Excel)
  • Tax impact summary
  • Before/after allocation comparison

Important Notes

  • Don't rebalance for rebalancing's sake — small drift within bands is fine
  • Tax costs can outweigh rebalancing benefits in taxable accounts — calculate the breakeven
  • Consider pending cash flows (contributions, withdrawals, RMDs) before trading
  • Check for any client-specific restrictions (ESG, concentrated stock, lockups)
  • Document rationale for every trade for compliance records
  • Wash sale rules apply across accounts — coordinate trades across the household

Related skills

FAQ

Does it consider taxes?

Yes, it prefers rebalancing in tax-advantaged accounts first, harvests losses, and watches the 30-day wash sale window across accounts.

When is drift flagged?

When a position exceeds the rebalancing band, typically plus or minus 3-5 percent.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.