tax-loss-harvesting

Scan taxable investment accounts for unrealized losses and generate compliant trade plans.

31|4|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/r9412460971-cloud/OPC-skill --skill tax-loss-harvesting-r9412460971-cloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tax-loss-harvesting
Source: https://github.com/r9412460971-cloud/OPC-skill/tree/main/skills/tax-loss-harvesting
Command: npx skills add https://github.com/r9412460971-cloud/OPC-skill --skill tax-loss-harvesting-r9412460971-cloud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Investors frequently miss valuable tax savings opportunities from unrealized losses in their taxable investment accounts, leading to unnecessarily high annual tax liabilities.

Core Features & Use Cases

  • Unrealized Loss Scanning: Identifies all positions with unrealized losses across taxable accounts, prioritized by tax benefit potential, absolute loss size, and holding period.
  • Tax Savings Estimation: Calculates potential tax savings based on the client's marginal tax rates, year-to-date realized gains/losses, and prior-year loss carryforwards.
  • Compliant Trade Planning: Suggests replacement securities that maintain portfolio exposure while avoiding wash sale rule violations, and generates a full execution plan with wash sale window tracking.
  • Use Case: A wealth manager preparing for year-end tax planning can use this skill to quickly identify all eligible loss harvesting opportunities for their clients, calculate total tax savings, and provide a compliant trade execution plan.

Quick Start

Use the tax-loss-harvesting skill to identify tax-loss harvesting opportunities for my taxable brokerage account and generate a compliant execution plan with replacement security suggestions.

Frequently Asked Questions about tax-loss-harvesting

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

FAQPage Schema
What is tax-loss harvesting and how does it reduce my tax liability?

Tax-loss harvesting scans taxable investment accounts for unrealized losses to offset capital gains and reduce annual tax liability. It estimates tax savings using marginal tax rates and prior-year loss carryforwards to maximize after-tax returns.

How do I avoid wash sale rule violations when harvesting investment losses?

To avoid wash sale rule violations during tax-loss harvesting, you must wait the required window before repurchasing the same security. This skill generates compliant trade plans with replacement securities and wash sale window tracking to maintain portfolio exposure.

Can I use tax-loss harvesting for year-end tax planning across multiple client accounts?

Yes, tax-loss harvesting supports year-end tax planning and wealth management workflows for both retail clients and advisory practices. It identifies eligible loss harvesting opportunities across taxable brokerage accounts and calculates total tax savings per client.

How do I calculate potential tax savings from unrealized losses in my portfolio?

Tax savings from unrealized losses are calculated based on your marginal tax rates, year-to-date realized gains and losses, and prior-year loss carryforwards. This skill prioritizes positions by tax benefit potential to estimate maximum savings.

Does tax-loss harvesting work with individual retail investor accounts?

Yes, tax-loss harvesting applies to individual investor tax optimization tasks for retail clients. It scans taxable investment accounts to identify positions with unrealized losses and generates a compliant execution plan with replacement security suggestions.

What are the limitations of tax-loss harvesting for investment accounts?

Tax-loss harvesting is limited to taxable investment accounts and requires careful wash sale window tracking to avoid disallowed losses. It does not apply to tax-advantaged retirement accounts and relies on accurate marginal tax rate inputs for savings estimation.