Логотип Tax Efficiency

Tax Efficiency

Спільнота
JoelLewis
tax-efficiency

Допомагає максимізувати дохідність після сплати податків завдяки стратегічному розміщенню активів, управлінню прибутками й збитками та вибору послідовності вилучення коштів. Використовуйте, коли користувач запитує про розміщення активів, конвертації Roth, податково ефективне вилучення коштів, вибір податкових лотів або благодійні внески цінними паперами, вартість яких зросла. Також активуйте цю навичку, коли користувач згадує «на якому рахунку тримати облігації», «вплив податків на дохідність», «Roth чи Traditional», «планування RMD», «заповнення податкового діапазону», «HIFO чи FIFO» або запитує, як мінімізувати податки на інвестиції. Щодо реалізації збору податкових збитків і правил wash sale див. навичку tax-loss-harvesting.

Add to TypingMind

Огляд

ВидавецьJoelLewis
Репозиторійfinance_skills
Назва навичкиtax-efficiency
Зірки
217
Форки
37
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: JoelLewis. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Tax Efficiency у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/tax-efficiency
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/tax-efficiency .claude/skills/tax-efficiency
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Tax Efficiency в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Tax Efficiency, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Tax Efficiency не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Tax-Efficient Investing

Core Concepts

Asset Location

Place tax-inefficient assets in tax-advantaged accounts and tax-efficient assets in taxable accounts:

  • Tax-deferred accounts (Traditional IRA, 401k): Bonds, REITs, high-turnover funds, TIPS — assets generating ordinary income
  • Tax-exempt accounts (Roth IRA, Roth 401k): Highest expected growth assets — all growth is permanently tax-free
  • Taxable accounts: Index equity funds (low turnover, qualified dividends, tax-loss harvesting eligible), municipal bonds, tax-managed funds

The benefit of asset location increases with the spread between ordinary income tax rates and capital gains rates, and with the size of the tax-advantaged accounts relative to total portfolio.

Tax-Loss Harvesting (TLH)

Realize investment losses to offset capital gains, reducing current tax liability while maintaining market exposure:

  • Sell a losing position, immediately buy a similar (but not "substantially identical") replacement
  • Harvested losses offset gains dollar-for-dollar; net losses offset up to $3,000 of ordinary income per year; excess carries forward indefinitely
  • Wash-sale rule (61-day window): Cannot repurchase the same or substantially identical security within the 61-day window (30 days before + sale date + 30 days after) — applies across all accounts (including spouse's accounts and IRAs)
  • Tax alpha from TLH: Estimated 0.5-1.5% per year in early years of a portfolio's life, declining as cost basis rises
  • Best opportunities arise during market volatility and in the first few years of investing

After-Tax Return

Different income types face different tax rates:

  • Interest income: Taxed at ordinary income rates
  • Qualified dividends: Taxed at long-term capital gains rates (0%, 15%, or 20% + 3.8% NIIT)
  • Short-term capital gains (held ≤ 1 year): Ordinary income rates
  • Long-term capital gains (held > 1 year): Preferential rates (0%, 15%, or 20% + 3.8% NIIT)
  • The 3.8% NIIT applies above $250,000 MAGI (MFJ) — a statutory threshold that is not inflation-indexed
  • After-tax return on income: R_at = R × (1 - t)
  • Capital gains are taxed only at realization, providing a deferral benefit

Tax Drag

The annual cost of taxes on investment returns:

  • Tax drag = pre-tax return - after-tax return
  • High-turnover funds generate more short-term gains → higher tax drag
  • Index funds with low turnover minimize tax drag
  • ETFs generally more tax-efficient than mutual funds (in-kind creation/redemption process)

Tax Lot Management

When selling partial positions, the method of selecting which lots to sell affects tax liability:

  • Specific identification: Choose exactly which lots to sell
  • HIFO (Highest In, First Out): Sell highest-cost-basis lots first to minimize gains
  • FIFO (First In, First Out): Default method; may realize larger gains on older lots
  • Tax-optimal: Select lots to minimize current-year tax liability considering holding period and gains/losses

Roth Conversion

Convert Traditional IRA/401k assets to Roth, paying ordinary income tax now for tax-free growth and withdrawals later:

  • Breakeven analysis: Conversion is beneficial if current marginal tax rate < expected future marginal tax rate
  • Factors favoring conversion: Long time horizon, low current income year, expectation of higher future rates, desire to reduce future RMDs, estate planning benefits
  • Partial conversions: Convert just enough to fill current tax bracket ("bracket stuffing")
  • Tax on conversion: conversion amount × current marginal rate

Required Minimum Distributions (RMDs)

Mandatory annual withdrawals from tax-deferred accounts (Traditional IRA, 401k) beginning at age 73 (under SECURE 2.0, rising to 75 in 2033):

  • RMD = account balance (Dec 31 prior year) / distribution period (from IRS Uniform Lifetime Table)
  • Failure penalty: 25% excise tax on shortfall (reduced from prior 50%)
  • RMDs are taxed as ordinary income and can push retirees into higher brackets
  • Roth IRAs have no RMDs during the owner's lifetime

Withdrawal Sequencing

The order of withdrawals from different account types in retirement:

  • General rule: Taxable → Tax-deferred → Roth (preserves tax-free growth longest)
  • Optimized approach: Withdraw from taxable first, then fill low tax brackets with tax-deferred withdrawals, use Roth to avoid bracket jumps
  • Dynamic strategy: Adjust each year based on income, deductions, and bracket thresholds

Charitable Giving Strategies

  • Donate appreciated stock: Avoid capital gains tax and deduct full fair market value (must be held > 1 year)
  • Qualified Charitable Distributions (QCDs): Donate up to $111,000/year (2026 limit, indexed annually) directly from IRA to charity (counts toward RMD, excluded from taxable income); available at age 70½+
  • Donor-Advised Funds (DAFs): Bunch multiple years of donations for itemized deduction, invest tax-free, distribute to charities over time

Key Formulas

FormulaExpressionUse Case
After-tax return (income)R_at = R × (1 - t)Bond/interest income after tax
After-tax return (deferred gains)R_at = ((1 + R)^n × (1 - t_cg) + t_cg)^(1/n) - 1Unrealized equity with deferral benefit
Tax-loss harvesting valueTLH_value = loss × marginal_tax_rateImmediate tax benefit of harvesting
Roth conversion breakevent_now < t_futureConvert when current rate < future rate
RMD amountRMD = balance_Dec31 / distribution_periodRequired minimum distribution
Appreciated-stock donation benefitTax saved = FMV × t_income + gain × t_cg_avoidedTax benefit of donating appreciated stock (deduction + avoided gains tax)

Worked Examples

Example 1: Asset location optimization

Given: $500K in taxable brokerage + $500K in Traditional IRA. Portfolio target: 50% bonds (yielding 5%) and 50% equities (expected 10% total return, 2% qualified dividends). Marginal tax rate: 32% ordinary, 15% LTCG. Calculate: Optimal asset placement and annual tax savings vs naive allocation. Solution:

  1. Optimal placement: Bonds ($500K) in IRA; Equities ($500K) in taxable.
  2. Naive placement (50/50 each): Taxable has $250K bonds + $250K equities; IRA has $250K bonds + $250K equities.
  3. Tax drag — naive: Taxable bonds: $250K × 5% × 32% = $4,000. Taxable equity dividends: $250K × 2% × 15% = $750. Total tax = $4,750.
  4. Tax drag — optimal: Taxable equity dividends only: $500K × 2% × 15% = $1,500. Total tax = $1,500.
  5. Annual tax savings: $4,750 - $1,500 = $3,250/year (0.325% of total portfolio).
  6. Over 20 years compounded, this adds significantly to after-tax wealth.

Example 2: Roth conversion breakeven

Given: Consider converting $50,000 from Traditional IRA to Roth. Current marginal tax rate: 24%. Tax on conversion paid from outside funds. Investment horizon: 20 years. Expected return: 7%. Simplifying assumption: Assume the $12,000, if not used for conversion tax, would grow at the same 7% with no tax drag — i.e., side-fund growth itself is untaxed. Calculate: Future marginal tax rate at which conversion breaks even. Solution:

  1. Cost of conversion now: $50,000 × 24% = $12,000 tax paid today.
  2. Traditional IRA path: $50,000 grows to $50,000 × (1.07)^20 = $193,484. After-tax at withdrawal: $193,484 × (1 - t_future).
  3. Roth path: $50,000 grows to $193,484 tax-free, but the $12,000 side fund forgoes growth to $12,000 × (1.07)^20 = $46,436. Roth net value: $193,484 - $46,436 = $147,048.
  4. Breakeven: Set Traditional after-tax = Roth net value. $193,484 × (1 - t_future) = $193,484 - $46,436 → t_future = $46,436 / $193,484 = 24.0%.
  5. Conclusion: Under this simplification the breakeven future rate equals the current rate (24%) — both sides scale by the same (1.07)^20, so the horizon and return cancel. In reality the taxable side fund suffers tax drag on its dividends and realized gains, so paying conversion tax from outside funds tilts the comparison toward Roth even when the future rate merely equals the current rate.

Common Pitfalls

  • TLH wash sale violations, including purchases in other accounts, IRAs, or a spouse's account within the 61-day wash-sale window (30 days before through 30 days after the sale)
  • Over-harvesting losses that defer gains to higher tax brackets later (basis step-down compounds)
  • Not considering state taxes in asset location decisions — state tax treatment varies significantly
  • Ignoring the tax benefit of donating appreciated securities vs cash (avoids capital gains and gets full deduction)
  • RMD-driven forced selling at inopportune times — plan withdrawals ahead of deadlines
  • Roth converting too aggressively and pushing into a higher bracket in the conversion year
  • Forgetting the 3.8% Net Investment Income Tax (NIIT) above $250,000 MAGI (MFJ) — a statutory threshold that is not inflation-indexed, so it captures more taxpayers each year
  • Not coordinating tax strategy across spouses' accounts

Cross-References

  • investment-policy (wealth-management plugin): Tax constraint in IPS governs asset location and turnover management
  • performance-attribution (wealth-management plugin): After-tax return attribution requires tax-aware calculations
  • debt-management (wealth-management plugin): Mortgage interest deductibility interacts with tax planning
  • savings-goals (wealth-management plugin): Account type selection (Roth vs Traditional) is a core tax decision
  • liquidity-management (wealth-management plugin): Tax implications of accessing different account types affect liquidity planning
  • tax-loss-harvesting (wealth-management plugin): dedicated TLH workflow skill with detailed candidate identification, wash-sale tracking, and execution planning
  • financial-planning-workflow (advisory-practice plugin): tax-aware strategies are core recommendations in comprehensive financial plans
  • financial-statements (wealth-management plugin): cost basis and embedded capital gains fundamentals behind lot selection and deferral decisions
  • insurance-planning (wealth-management plugin): premium-payer decisions drive taxation of disability benefits, annuity income, and life insurance proceeds
  • estate-gifting (wealth-management plugin): owns the transfer-tax side — lifetime exemption, annual exclusion gifting, basis step-up vs carryover, and estate-level charitable structure choice
  • retirement-decumulation (wealth-management plugin): applies withdrawal sequencing and RMD mechanics to retirement spending plans — guardrails, gap-year bracket-filling, and Social Security timing
  • equity-compensation (wealth-management plugin): RSU/option taxation, AMT on ISO exercises, and charitable use of appreciated employer stock extend tax planning to compensation events

Running the script

Run with uv run scripts/tax_efficiency.py (the PEP 723 header resolves dependencies automatically) or with python3 scripts/tax_efficiency.py after pip install numpy scipy. The bare run prints a demo covering after-tax returns, tax drag, TLH benefit, asset location placement, and Roth conversion breakeven. Pass --verify to assert the demo outputs match this skill's worked examples (prints PASS/FAIL), or --help for an overview of the available classes. The file is primarily meant to be imported as a module (e.g., from tax_efficiency import AfterTaxReturn, AssetLocation, BreakevenAnalysis).

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Tax Efficiency?

Допомагає максимізувати дохідність після сплати податків завдяки стратегічному розміщенню активів, управлінню прибутками й збитками та вибору послідовності вилучення коштів. Використовуйте, коли користувач запитує про розміщення активів, конвертації Roth, податково ефективне вилучення коштів, вибір податкових лотів або благодійні внески цінними паперами, вартість яких зросла. Також активуйте цю навичку, коли користувач згадує «на якому рахунку тримати облігації», «вплив податків на дохідність», «Roth чи Traditional», «планування RMD», «заповнення податкового діапазону», «HIFO чи FIFO» або з...

Навіщо використовувати Tax Efficiency у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Tax Efficiency — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Tax Efficiency у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/tax-efficiency. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Tax Efficiency?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Tax Efficiency?

Зі скількома забажаєте. У TypingMind ви можете використовувати Tax Efficiency із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Tax Efficiency?

Так. На GitHub цю навичку публікує JoelLewis за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Openclaw Docker E2e Authoring

openclaw
ОрганізаціяПопулярне

Створюйте Docker E2E-тести OpenClaw і Docker-середовища для перевірки провайдерів у реальному часі.

82.2K
391K
Інструкції
Відкрити
Логотип openclaw

Openclaw Ghsa Maintainer

openclaw
ОрганізаціяПопулярне

Перевіряйте, виправляйте, підтверджуйте, публікуйте або перевіряйте статус рекомендацій безпеки OpenClaw GHSA та приватних форків.

82.2K
391K
Інструкції
Відкрити
Логотип openclaw

Openclaw Live Updater

openclaw
ОрганізаціяПопулярне

Підтримуйте канонічну активну копію репозиторію OpenClaw main, Gateway під керуванням macOS LaunchAgent, локальну програму macOS, CI для точного коміту main і регулярну повну перевірку релізу. Використовуйте для швидкого оновлення…

82.2K
391K
Файлів: 2
Відкрити
Логотип openclaw

Openclaw Parallels Smoke

openclaw
ОрганізаціяПопулярне

Підготуйте, створіть знімок, запустіть, повторно запустіть, налагодьте або проаналізуйте перевірки встановлення OpenClaw у гостьових системах Parallels, початкового налаштування, Gateway smoke-тестів і оновлення в macOS, Windows і Linux.

82.2K
391K
Інструкції
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇