/rebalancing
Maintain portfolio allocations over time using calendar-based, threshold-based, and tax-efficient rebalancing strategies. Use when the user asks about when to rebalance, rebalancing bands, transaction cost trade-offs, tax-efficient rebalancing, or the rebalancing premium. Also
$ npx -y skills add JoelLewis/finance_skills --skill rebalancing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/rebalancing
Context preview
The summary Claude sees to decide when to auto-load this skill.
Maintain portfolio allocations over time using calendar-based, threshold-based, and tax-efficient rebalancing strategies. Use when the user asks about when to rebalance, rebalancing bands, transaction cost trade-offs, tax-efficient rebalancing, or the rebalancing premium. Also
SKILL.md
rebalancing.SKILL.mdname: rebalancing
description: "Maintain portfolio allocations over time using calendar-based, threshold-based, and tax-efficient rebalancing strategies. Use when the user asks about when to rebalance, rebalancing bands, transaction cost trade-offs, tax-efficient rebalancing, or the rebalancing premium. Also trigger when users mention 'my portfolio drifted', 'how often should I rebalance', 'rebalancing across taxable and IRA accounts', 'volatility harvesting', 'buy low sell high automatically', or ask whether to use cash flows to rebalance."
Rebalancing
Core Concepts
Calendar Rebalancing
Rebalance at fixed time intervals regardless of drift magnitude:
- **Monthly:** Tightest tracking to targets; highest transaction costs
- **Quarterly:** Common institutional frequency; good balance of tracking and costs
- **Annually:** Lowest cost; may allow significant drift between dates
Calendar rebalancing is simple to implement and schedule but may miss large dislocations between dates or trigger unnecessary trades when drift is minimal.
Threshold (Band) Rebalancing
Rebalance when any asset weight drifts beyond a defined tolerance band around its target:
- Monitor weights continuously (or at regular intervals)
- Trigger rebalancing when |w_actual - w_target| > tolerance
- Typical bands: +/- 3% to +/- 5% (absolute) or +/- 20% to +/- 25% (relative)
Threshold rebalancing is more responsive to market dislocations and avoids unnecessary trades when markets are calm. However, it requires more frequent monitoring.
Optimal Band Width (Leland Model)
Leland (2000) derived the optimal no-trade band width as a function of transaction costs, risk aversion, and asset variance:
Band width proportional to (3 * transaction_cost / (2 * risk_aversion * variance))^(1/3)
Key intuition:
- Higher transaction costs → wider bands (trade less)
- Higher risk aversion → narrower bands (maintain target more tightly)
- Higher variance → narrower bands (drift happens faster, risk of deviation is greater)
Rebalancing Premium
Systematic rebalancing generates a "volatility harvesting" or "rebalancing premium" through the buy-low/sell-high mechanism:
- When an asset rises, its weight increases → rebalancing sells some (sell high)
- When an asset falls, its weight decreases → rebalancing buys some (buy low)
This effect is sometimes called **Shannon's Demon**: in a two-asset portfolio with equal expected returns but independent volatility, the constantly rebalanced portfolio outperforms buy-and-hold. The rebalancing premium is larger when:
- Asset volatilities are higher
- Correlations are lower
- Assets have similar expected returns (so mean-reversion dominates trends)
Note: The rebalancing premium is not a free lunch — it underperforms in trending markets where winners keep winning.
Transaction Costs
Costs incurred when rebalancing that reduce net returns:
- **Commissions:** Per-trade or per-share fees (increasingly zero for retail)
- **Bid-ask spread:** The cost of crossing the spread; wider for less liquid assets
- **Market impact:** Price movement caused by the trade itself; significant for large positions in less liquid markets
- **Opportunity cost:** Delay cost if rebalancing is deferred to avoid transaction costs
Total implementation cost = commissions + half-spread + market impact + opportunity cost
Tax-Efficient Rebalancing
Strategies to minimize tax impact when rebalancing in taxable accounts:
1. **Use cash flows:** Direct new contributions to underweight assets and withdrawals from overweight assets 2. **Redirect dividends and interest:** Reinvest income from overweight assets into underweight assets 3. **Rebalance with new contributions:** The most tax-efficient method — no selling required 4. **Asset location:** Hold tax-inefficient assets (bonds, REITs) in tax-deferred accounts; rebalance these freely 5. **Selective lot identification:** When selling, choose tax lots with the highest cost basis (lowest gain) or lots held over one year (long-term capital gains rate)
Coordinating with Tax-Loss Harvesting (TLH)
Rebalancing and TLH should be planned together, not as separate trade lists:
- **Combine TLH sells with rebalance sells** to reduce total trade count and transaction costs
- **An overweight position sitting at a loss is the ideal dual-purpose trade** — the harvest and the rebalance are the same sell
- **Check open wash-sale windows before buying back** or before rebalance buys in any account (including IRAs and spouse accounts)
Tax benefit = Realized loss * Marginal tax rate. For the 61-day wash-sale window, the $3,000 ordinary-income offset, replacement selection, and full TLH mechanics, see the **tax-loss-harvesting** skill.
Rebalancing Across Account Types
When an investor has multiple account types (taxable, IRA, 401k), optimize rebalancing by:
- **Tax-deferred accounts (IRA, 401k):** Rebalance freely — no tax consequences
- **Taxable accounts:** Minimize selling; use cash flows, TLH, and selective lot sales
- **Cross-account rebalancing:** Consider the aggregate portfolio across all accounts and rebalance within the most tax-efficient account
Drift Tolerance Setting
Factors that determine optimal band width:
- **Tighter bands (e.g., +/- 2%):** Better risk control, higher costs, appropriate for low-cost/institutional settings
- **Wider bands (e.g., +/- 10%):** Lower costs, more drift risk, appropriate for taxable accounts with high tax impact
- **Asset-specific bands:** More volatile assets may need wider absolute bands but tighter relative bands
Cash Flow Rebalancing
Use regular deposits or withdrawals to move toward target weights without explicit rebalancing trades:
- Calculate current vs. target weights
- Direct 100% of new contributions to the most underweight asset(s)
- Process withdrawals from the most overweight asset(s)
- This "natural rebalancing" is the most cost-effective and tax-efficient approach
Rebalancing Workf
Read more
name: rebalancing description: "Maintain portfolio allocations over time using calendar-based, threshold-based, and tax-efficient rebalancing strategies. Use when the user asks about when to rebalance, rebalancing bands, transaction cost trade-offs, tax-efficient rebalancing, or the rebalancing premium. Also trigger when users mention 'my portfolio drifted', 'how often should I rebalance', 'rebalancing across taxable and IRA accounts', 'volatility harvesting', 'buy low sell high automatically', or ask whether to use cash flows to rebalance."
Rebalancing
Core Concepts
Calendar Rebalancing
Rebalance at fixed time intervals regardless of drift magnitude:
- **Monthly:** Tightest tracking to targets; highest transaction costs
- **Quarterly:** Common institutional frequency; good balance of tracking and costs
- **Annually:** Lowest cost; may allow significant drift between dates
Calendar rebalancing is simple to implement and schedule but may miss large dislocations between dates or trigger unnecessary trades when drift is minimal.
Threshold (Band) Rebalancing
Rebalance when any asset weight drifts beyond a defined tolerance band around its target:
- Monitor weights continuously (or at regular intervals)
- Trigger rebalancing when |w_actual - w_target| > tolerance
- Typical bands: +/- 3% to +/- 5% (absolute) or +/- 20% to +/- 25% (relative)
Threshold rebalancing is more responsive to market dislocations and avoids unnecessary trades when markets are calm. However, it requires more frequent monitoring.
Optimal Band Width (Leland Model)
Leland (2000) derived the optimal no-trade band width as a function of transaction costs, risk aversion, and asset variance:
Band width proportional to (3 * transaction_cost / (2 * risk_aversion * variance))^(1/3)
Key intuition:
- Higher transaction costs → wider bands (trade less)
- Higher risk aversion → narrower bands (maintain target more tightly)
- Higher variance → narrower bands (drift happens faster, risk of deviation is greater)
Rebalancing Premium
Systematic rebalancing generates a "volatility harvesting" or "rebalancing premium" through the buy-low/sell-high mechanism:
- When an asset rises, its weight increases → rebalancing sells some (sell high)
- When an asset falls, its weight decreases → rebalancing buys some (buy low)
This effect is sometimes called **Shannon's Demon**: in a two-asset portfolio with equal expected returns but independent volatility, the constantly rebalanced portfolio outperforms buy-and-hold. The rebalancing premium is larger when:
- Asset volatilities are higher
- Correlations are lower
- Assets have similar expected returns (so mean-reversion dominates trends)
Note: The rebalancing premium is not a free lunch — it underperforms in trending markets where winners keep winning.
Transaction Costs
Costs incurred when rebalancing that reduce net returns:
- **Commissions:** Per-trade or per-share fees (increasingly zero for retail)
- **Bid-ask spread:** The cost of crossing the spread; wider for less liquid assets
- **Market impact:** Price movement caused by the trade itself; significant for large positions in less liquid markets
- **Opportunity cost:** Delay cost if rebalancing is deferred to avoid transaction costs
Total implementation cost = commissions + half-spread + market impact + opportunity cost
Tax-Efficient Rebalancing
Strategies to minimize tax impact when rebalancing in taxable accounts:
1. **Use cash flows:** Direct new contributions to underweight assets and withdrawals from overweight assets 2. **Redirect dividends and interest:** Reinvest income from overweight assets into underweight assets 3. **Rebalance with new contributions:** The most tax-efficient method — no selling required 4. **Asset location:** Hold tax-inefficient assets (bonds, REITs) in tax-deferred accounts; rebalance these freely 5. **Selective lot identification:** When selling, choose tax lots with the highest cost basis (lowest gain) or lots held over one year (long-term capital gains rate)
Coordinating with Tax-Loss Harvesting (TLH)
Rebalancing and TLH should be planned together, not as separate trade lists:
- **Combine TLH sells with rebalance sells** to reduce total trade count and transaction costs
- **An overweight position sitting at a loss is the ideal dual-purpose trade** — the harvest and the rebalance are the same sell
- **Check open wash-sale windows before buying back** or before rebalance buys in any account (including IRAs and spouse accounts)
Tax benefit = Realized loss * Marginal tax rate. For the 61-day wash-sale window, the $3,000 ordinary-income offset, replacement selection, and full TLH mechanics, see the **tax-loss-harvesting** skill.
Rebalancing Across Account Types
When an investor has multiple account types (taxable, IRA, 401k), optimize rebalancing by:
- **Tax-deferred accounts (IRA, 401k):** Rebalance freely — no tax consequences
- **Taxable accounts:** Minimize selling; use cash flows, TLH, and selective lot sales
- **Cross-account rebalancing:** Consider the aggregate portfolio across all accounts and rebalance within the most tax-efficient account
Drift Tolerance Setting
Factors that determine optimal band width:
- **Tighter bands (e.g., +/- 2%):** Better risk control, higher costs, appropriate for low-cost/institutional settings
- **Wider bands (e.g., +/- 10%):** Lower costs, more drift risk, appropriate for taxable accounts with high tax impact
- **Asset-specific bands:** More volatile assets may need wider absolute bands but tighter relative bands
Cash Flow Rebalancing
Use regular deposits or withdrawals to move toward target weights without explicit rebalancing trades:
- Calculate current vs. target weights
- Direct 100% of new contributions to the most underweight asset(s)
- Process withdrawals from the most overweight asset(s)
- This "natural rebalancing" is the most cost-effective and tax-efficient approach
Rebalancing Workf
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
Other skills on finance-skills.
- /advisor-dashboards
Design, build, and optimize dashboards for RIA practice management with AUM tracking, revenue analytics, and KPI frameworks. Use when the user asks about tracking firm-level metrics, monitoring advisor productivity, measuring organic growth rate, analyzing client retention and
Open skill - /client-onboarding
Design and implement end-to-end client onboarding workflows from prospect intake through funded account, covering KYC verification, document collection, e-signature, and custodian submission. Use when the user asks about building a digital onboarding flow, integrating identity
Open skill - /client-reporting-delivery
Design, generate, and deliver client performance reports across all channels, covering quarterly reports, tax reporting, portal integration, and compliance review. Use when the user asks about building or redesigning report templates, choosing what to include in quarterly or
Open skill - /client-review-prep
Prepare advisors for client review meetings by assembling context packages, performance summaries, drift analysis, talking points, and meeting agendas. Use when the user asks about preparing for a client review, building a pre-meeting checklist, generating talking points for an
Open skill - /crm-client-lifecycle
Design and optimize CRM systems and client lifecycle workflows for advisory firms, covering segmentation, household management, service tiers, and retention analytics. Use when the user asks about client segmentation models, building household structures, defining service tier
Open skill - /fee-billing
Build and manage advisory fee billing operations from fee schedule design through calculation, collection, revenue recognition, and compliance disclosure. Use when the user asks about tiered or breakpoint fee schedules, billing cycle configuration, AUM valuation for billing,
Open skill

