
Tax Loss Harvesting
Walks you through the full tax loss harvesting workflow from scanning positions for material unrealized losses through tracking the 61-day wash sale window across all household accounts. Covers the operational details advisors and sophisticated investors actually need: lot selection with specific ID, calculating whether to prioritize short-term over long-term losses, picking replacement securities that maintain factor exposure without triggering substantially identical flags, and coordinating trades with rebalancing. The cross-account wash sale tracking is especially useful since it reminds you to check spouse IRAs and suspend dividend reinvestment, both of which quietly disallow losses if you miss them. More tactical than the general tax efficiency skill.
- skills.sh installs
- 715
- GitHub stars
- 224
- last updated
- Aug 21, 2026
Install
$ npx -y skills add joellewis/finance_skills --skill tax-loss-harvesting --agent claude-codeInstalls into .claude/skills of the current project.
Files
Tax-Loss Harvesting
Core Concepts
Candidate Identification
Scan the portfolio for positions with unrealized losses that meet all three filters:
- Materiality threshold: Minimum absolute loss (e.g., $2,000) or minimum loss-to-value ratio (e.g., loss exceeds 5% of position market value). Harvesting a $200 loss on a $50,000 portfolio is not worth the operational cost.
- Holding period filter: Positions held less than 31 days may not have meaningful losses and create short-term wash-sale complexity. Positions approaching the one-year mark (days 335-365) may benefit from waiting to convert a short-term loss into a long-term loss only if the position is expected to continue declining.
- Loss magnitude ranking: Rank candidates by Tax Benefit = Unrealized Loss * Applicable Tax Rate. Prioritize short-term losses (taxed at ordinary rates up to 37%) over long-term losses (taxed at capital gains rates of 15-20%) when gain/loss budget allows.
Gain/Loss Budgeting
Before harvesting, build the year-to-date tax budget:
Sponsors
Details
- Repository
- github.com/joellewis/finance_skills
- Categories
- Security, DevOps & CI/CD, Productivity & Planning, Automation & Workflows, Finance & Trading
- First seen
- Jun 3, 2026
More from joellewis/finance_skills
All 84- Investment Suitability714
- Next Best Action712
- Qualitative Valuation709
- Reconciliation707
- Regulatory Reporting707
- Exchange Connectivity706
- Operational Risk706
- Settlement Clearing706
- Performance Attribution705
- Alternatives703
- Margin Operations702
- Advice Standards701
- Client Onboarding701
- Fixed Income Structured701
- Counterparty Risk700
- Pre Trade Compliance699
- Order Management Advisor698
- Books And Records697
- Corporate Actions693
- Fixed Income Municipal693
- Reference Data692
- Crm Client Lifecycle691
- Post Trade Compliance691
- Advisor Dashboards690