Agent skill

Tax Loss Harvesting

by JoelLewis in JoelLewis/finance_skills

Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring.

MITAuto-check passedBusiness, Finance & HR

Install Tax Loss Harvesting

skills CLI
$ npx skills add JoelLewis/finance_skills --skill tax-loss-harvesting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JoelLewis/finance_skills tax-loss-harvesting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JoelLewis/finance_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/wealth-management/skills/tax-loss-harvesting .claude/skills/tax-loss-harvesting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tax-loss-harvesting
GitHub stars
206
Token cost
~4.2k tokens
SKILL.md length
2,165 words
Files
1
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring.

  • Works in 4 steps: Realized gains YTD: Sum all short-term… → Planned gain exposure: Estimate gains… → Loss carryforward balance: Check… → …
  • The user asks about finding TLH candidates
  • SKILL.md covers Core Concepts, Key Formulas, Worked Examples and Common Pitfalls, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tax Loss Harvesting is an agent skill from JoelLewis/finance_skills. Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring. Use when the user asks about finding TLH candidates, gain/loss budgeting, replacement security selection, wash-sale compliance, or harvest execution planning. Also trigger when users mention 'unrealized losses in my portfolio', 'swap ETFs for tax purposes', 'harvest losses before year-end', 'substantially identical security', 'wash-sale window', 'NIIT offset', 'loss carryforward', or ask how much tax…

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Stock and market analysis and Budgeting and forecasting. The repository describes itself as: Claude Code skill plugins for financial services — 81 skills across 7 domain plugins covering investment management, compliance, advisory practice, trading, and operations. The licence is MIT.

When your agent uses it

  • The user asks about finding TLH candidates
  • Gain/loss budgeting
  • Replacement security selection
  • Wash-sale compliance

Example prompts

  • “unrealized losses in my portfolio”
  • “swap ETFs for tax purposes”
  • “harvest losses before year-end”
  • “/tax-loss-harvesting”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Realized gains YTD: Sum all short-term and long-term capital gains already realized (including fund distributions).
  2. Planned gain exposure: Estimate gains from pending rebalancing trades, planned liquidations, or expected fund capital gain distributions.
  3. Loss carryforward balance: Check prior-year unused capital loss carryforwards (these offset gains before new harvests do).
  4. Target harvest amount: Target Harvest = (Realized Gains YTD + Planned Gains) - Loss Carryforward + $3,000 ordinary income offset…

What it can do on your machine

Read from SKILL.md and the folder at commit 5c498ea. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tax Loss Harvesting loads about 4.2k tokens when it runs. Until then it costs about 141 tokens; SKILL.md has 2,165 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~141
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from JoelLewis/finance_skills at commit 5c498ea, republished under its MIT licence (© JoelLewis). 2,165 words, ~4,178 tokens.

Download SKILL.mdSave it as .claude/skills/tax-loss-harvesting/SKILL.md (or your agent's skills folder).
name
tax-loss-harvesting
description
Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring. Use when the user asks about finding TLH candidates, gain/loss budgeting, replacement security selection, wash-sale compliance, or harvest execution planning. Also trigger when users mention 'unrealized losses in my portfolio', 'swap ETFs for tax purposes', 'harvest losses before year-end', 'substantially identical security', 'wash-sale window', 'NIIT offset', 'loss carryforward', or ask how much tax they can save by harvesting.

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:

  1. Realized gains YTD: Sum all short-term and long-term capital gains already realized (including fund distributions).
  2. Planned gain exposure: Estimate gains from pending rebalancing trades, planned liquidations, or expected fund capital gain distributions.
  3. Loss carryforward balance: Check prior-year unused capital loss carryforwards (these offset gains before new harvests do).
  4. Target harvest amount: Target Harvest = (Realized Gains YTD + Planned Gains) - Loss Carryforward + $3,000 ordinary income offset. Harvesting this amount offsets all expected gains AND captures the full $3,000 annual deduction against ordinary income; harvest more to build carryforward for future years.
Replacement Security Selection

The replacement must maintain market exposure without being "substantially identical":

  • ETF-to-ETF swaps: Switch between funds tracking different indices (e.g., Vanguard Total Stock Market to Schwab Broad Market, or S&P 500 to Russell 1000). Different index methodology is generally sufficient.
  • Individual stock replacement: Replace a single stock with a sector ETF or a peer company. Example: sell Apple, buy Technology Select Sector SPDR (XLK).
  • Tracking error budget: The replacement should have a correlation of 0.95+ and tracking error under 2% annualized relative to the original holding. Wider tracking error is acceptable for larger tax benefits.
  • Expense ratio delta: Ensure the replacement does not have meaningfully higher expenses. A 10 bps cost increase on a $100K position held for 30 days costs roughly $8 — negligible against a $2,000+ tax benefit.
Wash-Sale Compliance

The wash-sale rule (IRC Section 1091) disallows a loss if a substantially identical security is acquired within the 61-day window (30 days before + sale date + 30 days after):

  • Cross-account scope: The rule applies across ALL accounts owned by the taxpayer: taxable brokerage, Traditional IRA, Roth IRA, 401(k), HSA, and spouse's accounts. A purchase in any of these accounts triggers wash-sale disallowance.
  • IRA wash-sale trap: If a wash sale is triggered by a purchase in an IRA, the disallowed loss is permanently lost — it cannot be added to the IRA cost basis. This is the most dangerous wash-sale scenario.
  • DRIP suspension: Automatic dividend reinvestment (DRIP) in the sold security or a substantially identical fund must be suspended during the 61-day window. Reinvesting even a small dividend triggers a partial wash sale.
  • Spouse coordination: Purchases in a spouse's accounts (including retirement accounts) trigger wash-sale rules. Both spouses' automatic investments, 401(k) contributions, and DRIP settings must be reviewed.
Execution Planning

Translate candidates into an actionable trade list:

  • Lot selection method: Use Specific Identification (Spec ID) to select the highest-cost-basis lots first (HIFO). This maximizes the realized loss per share sold. If only partial harvesting is needed, sell only the lots with cost basis above current market price.
  • Coordination with rebalancing: If the portfolio also needs rebalancing, combine TLH sells with rebalance sells to reduce total trade count. A position that is both overweight and at a loss is the ideal candidate — the harvest and rebalance are the same trade.
  • Timing strategy: Year-end harvesting (October-December) captures the full year's losses but faces market timing risk. Opportunistic harvesting throughout the year during drawdowns of 5%+ captures losses that may recover by year-end.
  • Trade list fields: Security, account, action (sell/buy), shares, lot IDs, estimated loss, replacement security, wash-sale window start/end dates.
Tax Savings Calculation

Quantify the dollar value of each proposed harvest:

  • Federal rate selection: Short-term losses offset short-term gains first (up to 37% ordinary rate). Long-term losses offset long-term gains (15-20% rate). Net losses of either type can cross over to offset the other, then up to $3,000 offsets ordinary income.
  • State tax impact: Most states tax capital gains as ordinary income (rates range from 0% up to California's top statutory rate on investment income of 13.3%; California's effective top rate on wage income is 14.4%+ since the 2024 SDI uncapping). Include state tax savings in the calculation; for a California resident at the 13.3% bracket, state tax roughly doubles the benefit of each harvest.
  • NIIT interaction: The 3.8% Net Investment Income Tax (IRC Section 1411) applies to the lesser of net investment income or MAGI exceeding $250,000 (MFJ) — a statutory threshold that is not inflation-indexed. Harvested losses reduce net investment income, potentially eliminating NIIT exposure.
Post-Harvest Monitoring

After executing the harvest:

  • Wash-sale window tracking: Maintain a calendar of open wash-sale windows with security identifiers and expiration dates. Flag any pending purchases (including automated ones) that would violate the window.
  • Replacement performance: Monitor tracking error between the replacement and original security. If the replacement significantly underperforms (>3% divergence), evaluate whether the tax benefit justified the swap.
  • Cost basis updates: Verify that broker statements reflect the new (lower) cost basis on replacement securities. The replacement's basis equals purchase price, not the original security's basis.
  • Swap-back timing: After the 31st day, the investor may sell the replacement and repurchase the original security if desired. Evaluate whether the swap-back itself triggers a taxable gain on the replacement position.
Household-Level Coordination

TLH across a household with multiple accounts requires centralized tracking:

  • Account type matrix: Taxable accounts are the only accounts where TLH generates direct tax benefits. Retirement accounts have no realized gains/losses for tax purposes, but they can trigger wash sales in taxable accounts.
  • Advisor-managed vs held-away: If the client has accounts at other institutions (401(k) plan, outside brokerage), the advisor cannot control purchases. Document held-away holdings and instruct the client to avoid purchasing substantially identical securities during open wash-sale windows.
  • Spousal coordination checklist: (1) Review spouse's 401(k) fund lineup for overlap, (2) suspend DRIP in spouse's accounts for harvested securities, (3) coordinate any year-end tax trades across both spouses.

Key Formulas

FormulaExpressionUse Case
Tax BenefitBenefit = Realized_Loss * Applicable_Tax_RateDollar value of a single harvest
Net Tax AlphaAlpha = Tax_Savings - Tracking_Error_Cost - Transaction_CostsTrue value after implementation costs
Break-Even Holding PeriodT_be = Tax_Savings / (Annual_Tracking_Error_Cost + Annual_Expense_Delta)How long replacement can be held before costs exceed benefit
Wash-Sale Adjusted BasisNew_Basis = Replacement_Purchase_Price + Disallowed_LossCost basis when wash sale is triggered
Annual TLH CapacityCapacity = Portfolio_Value * Expected_Volatility * Loss_Capture_RateEstimate of harvestable losses per year
Target Harvest AmountTarget = Realized_Gains_YTD + Planned_Gains - Loss_Carryforward + 3000Harvest needed to offset all gains plus the $3,000 ordinary-income deduction

Worked Examples

Example 1: Single Position Harvest with Replacement Selection

Given:

  • Client holds 500 shares of XYZ Corp purchased at $80/share ($40,000 cost basis), current price $62/share ($31,000 market value), held 8 months (short-term)
  • Client has $12,000 in short-term realized gains YTD, marginal federal rate 35%, state rate 9.3%, NIIT applies (3.8%)
  • Replacement candidate: Sector ETF (correlation 0.97, tracking error 1.4% annualized, expense ratio 0.10% vs 0% for individual stock)

Calculate: Tax benefit, net tax alpha, and break-even holding period for the replacement.

Solution:

  1. Unrealized loss: $31,000 - $40,000 = -$9,000 (short-term)
  2. Applicable rate: 35% federal + 9.3% state + 3.8% NIIT = 48.1% combined
  3. Tax benefit: $9,000 * 48.1% = $4,329
  4. Transaction costs: Commission $0 (zero-commission broker) + estimated spread cost 0.05% * $31,000 * 2 trades = $31
  5. Tracking error cost: 1.4% annualized * $31,000 * (30/365) = $36 (for the 30-day minimum hold)
  6. Net tax alpha: $4,329 - $31 - $36 = $4,262
  7. Annual cost of replacement: $31,000 * (0.10% expense + 1.4% tracking error drag estimate of 0.05%) = $46.50/year
  8. Break-even holding period: $4,262 / $46.50 = 91.7 years — the tax benefit overwhelmingly justifies the swap
  9. Action: Sell XYZ Corp (Spec ID, all lots), buy Sector ETF. Set wash-sale window reminder for 31 calendar days. Suspend any XYZ DRIP in all household accounts.
Show full SKILL.md (817 more words)Show less
Example 2: Portfolio-Wide TLH Scan with Gain/Loss Budget

Given:

  • $2M taxable portfolio, 15 equity positions, year is mid-October
  • Realized gains YTD: $18,000 long-term, $5,000 short-term
  • Loss carryforward from prior years: $0
  • Planned rebalancing trades will realize approximately $4,000 in additional long-term gains
  • Three positions show unrealized losses: Position A (-$14,000 LT), Position B (-$6,500 ST), Position C (-$2,100 LT)
  • Federal LTCG rate 20%, ordinary rate 37%, state 5%, NIIT 3.8%

Calculate: Target harvest amount, prioritized trade list, and total tax savings.

Solution:

  1. Gain/loss budget:
    • Total expected gains: $18,000 LT + $5,000 ST + $4,000 LT (planned) = $22,000 LT + $5,000 ST = $27,000
    • Loss carryforward: $0
    • Target harvest: $27,000 - $0 + $3,000 = $30,000 to fully offset gains and capture the $3,000 ordinary income deduction
  2. Candidate ranking by tax benefit:
    • Position B: $6,500 ST * (37% + 5% + 3.8%) = $6,500 * 45.8% = $2,977 (highest rate — harvest first)
    • Position A: $14,000 LT * (20% + 5% + 3.8%) = $14,000 * 28.8% = $4,032 (largest absolute benefit)
    • Position C: $2,100 LT * 28.8% = $605
  3. Harvest plan: Harvest all three: $14,000 + $6,500 + $2,100 = $22,600 in total losses — $7,400 short of the $30,000 target, so every harvested dollar is consumed offsetting gains and the $3,000 ordinary-income offset is not reached
    • $5,000 ST losses offset $5,000 ST gains at 45.8% = $2,290 saved
    • $1,500 remaining ST losses cross over to offset LT gains at 28.8% = $432 saved
    • $16,100 LT losses ($14,000 A + $2,100 C) offset $16,100 of $22,000 LT gains at 28.8% = $4,637 saved
    • Remaining taxable LT gains: $22,000 - $16,100 - $1,500 = $4,400 still taxable
    • Total tax savings: $2,290 + $432 + $4,637 = $7,359
  4. Coordinate with rebalancing: Position A is also 2% overweight — its TLH sell doubles as a rebalance sell, saving one round-trip trade.
Example 3: Wash-Sale Violation Across Accounts

Given:

  • On November 5, client sells VTI (Vanguard Total Stock Market ETF) in taxable account for a $8,000 long-term loss
  • On November 20 (15 days later), client's 401(k) makes its regular bi-weekly contribution, which includes an allocation to a Vanguard Total Stock Market Index Fund (institutional share class of the same fund)
  • 401(k) contribution to the total stock market fund: $750

Calculate: Wash-sale impact and corrected cost basis.

Solution:

  1. Wash-sale triggered: The 401(k) fund is substantially identical to VTI (same underlying index, same fund family). The purchase on November 20 falls within the 30-day post-sale window (November 5 + 30 = December 5).
  2. Disallowed loss: The wash-sale disallowance is proportional to the replacement shares acquired. If 500 VTI shares were sold and the $750 401(k) purchase acquired the equivalent of approximately 3 shares at $250/share, then 3/500 = 0.6% of the loss is disallowed.
  3. Disallowed amount: $8,000 * (3/500) = $48 disallowed
  4. Remaining allowable loss: $8,000 - $48 = $7,952 — still deductible
  5. Basis adjustment — 401(k) trap: The $48 disallowed loss would normally be added to the replacement security's cost basis. However, because the replacement was purchased inside a 401(k), the cost basis adjustment provides NO future tax benefit (401(k) distributions are taxed as ordinary income regardless of basis). The $48 is permanently lost.
  6. Prevention: Before executing TLH, review the client's 401(k) fund lineup and contribution schedule. If the 401(k) holds a substantially identical fund, either (a) temporarily redirect that 401(k) allocation to a non-identical fund during the wash-sale window, or (b) delay the TLH sale until after the next 401(k) contribution and ensure no contribution occurs for 30 days after.

Common Pitfalls

  • Harvesting losses without checking for substantially identical holdings in retirement accounts, triggering permanent loss disallowance in IRAs/401(k)s
  • Forgetting to suspend DRIP on the sold security and related funds across all household accounts during the 61-day window
  • Harvesting small losses (under $1,000) where transaction costs and operational complexity exceed the tax benefit
  • Over-harvesting in early years, depressing cost basis so severely that future sales generate outsized gains (basis step-down compounding)
  • Failing to coordinate with spouse's automated investments (401(k) payroll contributions, robo-advisor purchases)
  • Selecting a replacement security that is substantially identical (same index, same fund family, different share class) — this does not avoid wash-sale rules
  • Not tracking the holding period of replacement securities, leading to unintended short-term gains when the replacement is later sold
  • Ignoring state tax differences when calculating harvest value — states with no income tax (FL, TX, NV) reduce the benefit by 5-13 percentage points versus high-tax states

Cross-References

  • tax-efficiency (wealth-management plugin): broader tax-aware investing context; TLH is one strategy within the overall tax-efficiency framework
  • rebalancing (wealth-management plugin): TLH trades should be coordinated with rebalancing to minimize total transaction count
  • investment-suitability (compliance plugin): replacement securities must still satisfy suitability requirements
  • investment-policy (wealth-management plugin): IPS may specify TLH policy parameters (minimum loss threshold, approved replacement pairs)
  • performance-attribution (wealth-management plugin): tax alpha from TLH should be tracked and attributed separately
  • client-review-prep (advisory-practice plugin): TLH opportunities are flagged during periodic client review preparation
  • financial-planning-workflow (advisory-practice plugin): TLH is a specific tax recommendation that may emerge from the financial plan
  • equity-compensation (wealth-management plugin): recurring RSU vests and ESPP purchases can trigger wash sales against losses harvested in employer stock

© JoelLewis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/wealth-management/skills/tax-loss-harvesting of JoelLewis/finance_skills.

Open the folder on GitHubat commit 5c498ea

Compare with similar skills

Tax Loss Harvesting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tax Loss Harvesting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tax Loss Harvesting this skillJoelLewis/finance_skills206—~4.2kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT

Similar skills

  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    271 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from JoelLewis/finance_skills

All 91 skills in this repo
  • Asset Allocation

    JoelLewis/finance_skills

    Determine how to distribute capital across asset classes using strategic and tactical allocation frameworks.

    206 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Bet Sizing

    JoelLewis/finance_skills

    Determine how much capital to allocate to individual positions within a portfolio.

    206 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Commodities

    JoelLewis/finance_skills

    Analyze commodity markets including futures curve dynamics, roll yield, and supply/demand fundamentals.

    206 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Currencies And Fx

    JoelLewis/finance_skills

    Analyze currency markets, exchange rate mechanics, and FX risk management for international portfolios.

    206 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Debt Management

    JoelLewis/finance_skills

    Provide frameworks for managing and paying off personal debt effectively.

    206 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Diversification

    JoelLewis/finance_skills

    Build diversified portfolios using correlation analysis, efficient frontier construction, and factor-based diversification.

    206 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Tax Loss Harvesting

What does Tax Loss Harvesting do?

Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring. Tax Loss Harvesting is an agent skill from JoelLewis/finance_skills. Execute a complete tax-loss harvesting workflow from candidate identification through post-harvest monitoring.

When should I use Tax Loss Harvesting?

Tax Loss Harvesting fits situations like: the user asks about finding TLH candidates; gain/loss budgeting; replacement security selection; wash-sale compliance.

How do I install Tax Loss Harvesting in Claude Code?

Run `npx skills add JoelLewis/finance_skills --skill tax-loss-harvesting -a claude-code`. Or copy the skill folder (plugins/wealth-management/skills/tax-loss-harvesting in JoelLewis/finance_skills) into .claude/skills/tax-loss-harvesting in your project. Claude Code loads it when a task matches its description.

How do I install Tax Loss Harvesting in Codex?

Run `npx skills add JoelLewis/finance_skills --skill tax-loss-harvesting -a codex`. Or copy the skill folder (plugins/wealth-management/skills/tax-loss-harvesting in JoelLewis/finance_skills) into .agents/skills/tax-loss-harvesting in your project. Codex loads it when a task matches its description.

Can I use Tax Loss Harvesting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JoelLewis/finance_skills --skill tax-loss-harvesting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tax-loss-harvesting, .gemini/skills/tax-loss-harvesting, .github/skills/tax-loss-harvesting and .opencode/skills/tax-loss-harvesting in your project.

What does Tax Loss Harvesting need to run?

SKILL.md names no scripts, command-line tools or credentials: Tax Loss Harvesting is instructions for the agent only.

Does Tax Loss Harvesting access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tax Loss Harvesting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tax Loss Harvesting use?

Tax Loss Harvesting is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tax Loss Harvesting use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tax Loss Harvesting?

Skills that share tags, products or a category with Tax Loss Harvesting: Longbridge Research (helsome/folio, 271 stars), Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 322 stars) and Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tax Loss Harvesting?

JoelLewis (a GitHub user) maintains it in JoelLewis/finance_skills, which has 206 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on July 18, 2026.

Source: JoelLewis/finance_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.