Tax Loss Harvesting
Comprehensive tax-loss harvesting workflow covering candidate screening, budgeting, replacement selection, and wash-sale compliance.
- CCM score
- 64 of 100
- skills.sh installs
- 756
- GitHub stars
- 270
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full harvest path: candidate screening, gain/loss budgeting, replacement selection, wash-sale checks, execution planning, and post-harvest monitoring
- Sets materiality filters, a holding-period check, and a ranking by tax benefit (unrealized loss times applicable tax rate) to prioritize candidates
- Enforces cross-account wash-sale scope, including IRAs, 401(k)s, HSAs, and spouse accounts, and flags the permanent loss of disallowed IRA-triggered losses
- Designed for advisors and investors with taxable accounts who need to quantify federal, state, and NIIT savings before year-end
Install
$ npx -y skills add joellewis/finance_skills --skill tax-loss-harvesting -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/joellewis/finance_skills
- Category
- Finance & Trading
- First seen
- Jun 3, 2026
Questions
What is tax-loss-harvesting?
tax-loss-harvesting is an agent skill listed on Claude Marketplaces in the Finance & Trading category. The listing describes tax-loss-harvesting like this: Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring.
How do I install tax-loss-harvesting?
Run npx -y skills add joellewis/finance_skills --skill tax-loss-harvesting -y in a project to install tax-loss-harvesting. After that, the agent can use tax-loss-harvesting in that project.
Which category is tax-loss-harvesting in?
tax-loss-harvesting is in the Finance & Trading category on Claude Marketplaces. Other listings in that category next to tax-loss-harvesting include wind-mcp-skill, stripe-best-practices and wind-find-finance-skill.
Where is the source code of tax-loss-harvesting?
The source code of tax-loss-harvesting is on GitHub at https://github.com/joellewis/finance_skills. The joellewis account on GitHub publishes tax-loss-harvesting.
More from joellewis/finance_skills
All 84- Advertising Compliance755
- Qualitative Valuation755
- Investment Suitability749
- Know Your Customer749
- Performance Attribution748
- Next Best Action745
- Operational Risk745
- Settlement Clearing745
- Exchange Connectivity744
- Reconciliation744
- Regulatory Reporting744
- Alternatives741
- Fixed Income Structured740
- Margin Operations740
- Counterparty Risk738
- Advice Standards735
- Pre Trade Compliance735
- Client Onboarding734
- Books And Records732
- Order Management Advisor731
- Fixed Income Municipal730
- Corporate Actions729
- Reference Data729
- Post Trade Compliance727
Similar to Tax Loss Harvesting
More Finance & Tradinglongbridge-tax-harvestinglongbridge/skills491 installsTax-loss harvesting that finds unrealised losses, weighs tax benefit, and tracks the 30-day wash-sale window.
rebalancingjoellewis/finance_skills840 installsMaintains portfolio allocations through calendar, threshold, and tax-aware rebalancing strategies with cost trade-offs.
tax-efficiencyjoellewis/finance_skills771 installsMaximizes after-tax returns via asset location, gain and loss management, and withdrawal sequencing for investors.
portfolio-analyzeronewave-ai/claude-skills499 installsReview investment portfolios for risk, diversification, and fees, with allocation and rebalancing advice.
kanchi-dividend-us-tax-accountingtradermonty/claude-trading-skills3.8K installsStructured US dividend tax planning workflow that classifies distributions and recommends taxable versus IRA account placement.
backtesting-frameworkswshobson/agents18.2K installsPractitioner guide for building backtesting systems that control look-ahead, survivorship, and transaction-cost biases in trading strategies.