Skip to content
joellewis avatar

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
View on GitHub

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 -y

Installs 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

Similar to Tax Loss Harvesting

More Finance & Trading