Tax-Loss Harvesting
하는 일
이 스킬은 과세 계좌에서 미실현 손실이 있는 투자를 찾고, 그 손실을 세금 절감에 쓰는 방법을 제안합니다. 특히 연말이 다가올 때 세금을 계획하는 투자자와 어드바이저를 위한 것입니다.
사용하는 경우
- ✓연말 세금 계획이 다가와 손실을 검토하고 싶을 때.
- ✓과세 계좌에 매입가보다 한참 낮은 종목이 있을 때.
- ✓팔고 다시 살 때 워시 세일 문제를 피하고 싶을 때.
스킬 링크
https://github.com/AI4Finance-Foundation/FinRobot/blob/master/finrobot_desktop/skills/wealth-management/tax-loss-harvesting/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“연말 전에 제 과세 계좌에서 손실 실현을 통한 세금 절감 기회를 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 과세 계좌를 스캔해 손실 포지션을 찾고, 영향이 큰 순서로 순위를 매긴 뒤, 그해의 이익과 비교합니다. 그다음 대체 보유 종목을 제안하고 워시 세일 기간을 추적합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Tax-Loss Harvesting
description: Identify tax-loss harvesting opportunities across taxable accounts. Finds positions with unrealized losses, suggests replacement securities, and tracks wash sale windows. Triggers on "tax-loss harvesting", "TLH", "harvest losses", "tax losses", "unrealized losses", or "year-end tax planning".
Workflow
Step 1: Identify Candidates
Scan taxable accounts for positions with unrealized losses:
| Security | Asset Class | Cost Basis | Current Value | Unrealized Loss | Holding Period | % Loss |
|---|---|---|---|---|---|---|
| ST / LT |
Prioritize by:
- Largest absolute loss (biggest tax benefit)
- Short-term losses first (offset short-term gains taxed at ordinary income rates)
- Positions with the largest % loss (less likely to recover quickly)
Step 2: Gain/Loss Budget
Calculate the client's tax situation:
| Category | Amount |
|---|---|
| Realized short-term gains YTD | |
| Realized long-term gains YTD | |
| Realized losses YTD | |
| Net gain/(loss) position | |
| Carryforward losses from prior years | |
| Target harvesting amount |
Tax savings estimate:
- Short-term losses × marginal ordinary income rate
- Long-term losses × capital gains rate
- Up to $3,000 net loss deduction against ordinary income
- Excess carries forward
Step 3: Replacement Securities
For each harvest candidate, suggest a replacement that:
- Maintains similar market exposure (same asset class, sector, geography)
- Is NOT "substantially identical" (wash sale rule)
- Has similar risk/return characteristics
| Sell | Replace With | Reason | Tracking Error Risk |
|---|---|---|---|
| SPDR S&P 500 (SPY) | iShares Core S&P 500 (IVV) | Same index, different fund family | Minimal |
| Vanguard Total Intl (VXUS) | iShares MSCI ACWI ex-US (ACWX) | Similar exposure, different index | Low |
| Individual stock ABC | Sector ETF (XLK) | Broader exposure, no wash sale risk | Moderate |
Step 4: Wash Sale Check
Before executing, verify no wash sales:
- Check ALL accounts in the household (taxable, IRA, Roth, spouse accounts)
- 30-day lookback: Did we buy substantially identical securities in the last 30 days?
- 30-day forward: Block repurchase of the same security for 30 days
- Check for dividend reinvestment plans (DRIPs) that could trigger wash sales
- Document the wash sale window for each trade
| Security Sold | Wash Sale Window Start | Window End | DRIP Active? | Risk |
|---|---|---|---|---|
Step 5: Execution Plan
| Trade # | Account | Action | Security | Shares | Est. Proceeds | Est. Loss | Replacement | Notes |
|---|---|---|---|---|---|---|---|---|
| Sell | ||||||||
| Buy |
Summary:
- Total estimated losses harvested: $
- Estimated tax savings: $ (at marginal rate of %)
- Net portfolio impact: minimal (replacement securities maintain exposure)
- Wash sale window management: [dates]
Step 6: Post-Harvest Tracking
After 30+ days, optionally:
- Swap back to original securities (if preferred)
- Maintain replacement securities (if no reason to switch back)
- Update cost basis records
- Document for tax reporting
Step 7: Output
- Harvest opportunity list (Excel)
- Trade execution sheet
- Wash sale tracking calendar
- Tax savings estimate summary
- Replacement security rationale
Important Notes
- Wash sale rules are strict — violations disallow the loss AND adjust cost basis
- Substantially identical means same security, not same asset class — ETFs tracking different indexes are generally fine
- Always coordinate across all household accounts including retirement accounts
- Consider the long-term cost basis step-down — harvesting resets cost basis, which means more gains later
- Year-end is prime harvesting season but opportunities exist throughout the year
- Mutual fund capital gains distributions in December can create additional harvesting urgency
- Document everything for tax reporting and compliance
- Not all losses are worth harvesting — transaction costs and tracking error have real costs
자주 묻는 질문
워시 세일이란 무엇인가요?
매도 직전이나 직후에 실질적으로 같은 투자를 사면 손실이 인정되지 않을 수 있는 규칙입니다.
손실로 일반 소득을 줄일 수 있나요?
스킬은 순손실을 일반 소득에 대해 최대 3,000달러까지 공제할 수 있고, 초과분은 이월된다고 설명합니다.
퇴직연금 계좌도 보나요?
아닙니다. 과세 계좌만 봅니다.
상세 정보
작성자의 원본 설명
Identify tax-loss harvesting opportunities across taxable accounts. Finds positions with unrealized losses, suggests replacement securities, and tracks wash sale windows. Triggers on "tax-loss harvesting", "TLH", "harvest losses", "tax losses", "unrealized losses", or "year-end tax planning".
인기도
- GitHub 스타
- 8.4k
- 순위
- #12464
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 24.
댓글
- …
이 저장소의 다른 스킬
Portfolio AI Readiness
8.4k에이전트가 여러 투자 회사의 업데이트를 검토해 AI가 가장 도움이 될 곳의 순위를 매기고, 빠른 성과를 나열하도록 돕습니다.
Due Diligence Checklist
8.4k에이전트가 거래 전 회사를 검토하기 위한 체크리스트를 영역별로 만들고 추적하며, 빠진 항목과 위험 신호를 표시하도록 돕습니다.
Diligence Meeting Prep
8.4k에이전트가 경영진 발표나 고객 레퍼런스 통화처럼 실사 회의 전에 질문과 확인할 점을 준비하도록 돕습니다.
Investment Committee Memo
8.4k에이전트가 거래 요약, 위험, 재무, 승인 권고를 담은 정식 투자위원회 메모 초안을 작성하도록 돕습니다.