tax-loss-harvesting

Identify tax-loss harvesting candidates and calculate tax savings across accounts.

164|33|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/JoelLewis/finance_skills --skill tax-loss-harvesting-joellewis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tax-loss-harvesting
Source: https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/tax-loss-harvesting
Command: npx skills add https://github.com/JoelLewis/finance_skills --skill tax-loss-harvesting-joellewis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of tax-loss harvesting (TLH), helping users minimize their tax liabilities by strategically selling investments at a loss.

Core Features & Use Cases

  • Candidate Identification: Scans portfolios for positions with unrealized losses meeting materiality and holding period criteria.
  • Gain/Loss Budgeting: Calculates the optimal harvest amount based on realized gains, planned gains, and loss carryforwards.
  • Replacement Security Selection: Identifies suitable replacements to maintain market exposure without triggering wash-sale rules.
  • Wash-Sale Compliance: Tracks the 61-day window across all household accounts to prevent disallowed losses.
  • Tax Savings Calculation: Quantifies federal, state, and NIIT savings from proposed harvests.
  • Use Case: A user with $10,000 in unrealized losses and $5,000 in realized gains can use this skill to harvest the losses, offset the gains, and potentially reduce their tax bill by thousands of dollars.

Quick Start

Use the tax-loss-harvesting skill to identify candidates for tax-loss harvesting in my portfolio.

Frequently Asked Questions about tax-loss-harvesting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I offset capital gains with tax loss harvesting in my portfolio?

Tax loss harvesting offsets capital gains by strategically selling investments at a loss. This workflow calculates the optimal harvest amount based on your realized gains, planned gains, and loss carryforwards to minimize tax liabilities across multiple accounts.

How does the wash sale rule impact my tax loss harvesting strategy?

The wash sale rule disallows losses if you buy a substantially identical security within a 61-day window. This workflow tracks wash-sale compliance across all household accounts and identifies suitable replacement securities to maintain market exposure without triggering violations.

What is the best way to calculate tax savings from harvesting investment losses?

Calculating tax savings from harvesting losses requires quantifying federal, state, and NIIT savings from proposed harvests. This process evaluates your portfolio holdings and applicable tax rates to accurately measure the total tax alpha generated by offsetting gains.

Can I use tax loss harvesting across multiple household accounts?

Yes, tax loss harvesting can be applied across multiple accounts. The workflow identifies harvest candidates meeting materiality and holding period criteria while tracking the 61-day wash-sale window across your entire household to ensure compliance.

How do I select replacement securities when harvesting tax losses?

Selecting replacement securities when harvesting losses involves finding suitable alternatives that maintain your market exposure without triggering wash-sale rules. The workflow evaluates candidates to ensure your portfolio risk profile remains consistent during the harvest period.