Help us improve
Share bugs, ideas, or general feedback.
From grimoire
Plans year-round strategies to legally minimize taxes — maximizing pre-tax accounts, harvesting losses, locating assets correctly, and timing deductions.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireHow this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:design-tax-optimization-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Max pre-tax accounts, harvest losses before year-end, locate assets in the right account type, bunch deductions, and review withholding — all legally, all before the deadline.
Provides strategies to maximize after-tax investment returns via asset location, tax-loss harvesting, Roth conversions, withdrawal sequencing, and RMD planning. Triggers on tax optimization queries.
Reviews investment portfolios and financial plans for unnecessary tax drag, covering asset location, tax-loss harvesting, and withdrawal sequencing.
Provides financial planning expertise across retirement, education, estate, tax, and insurance needs analysis. Useful for client recommendations and plan development.
Share bugs, ideas, or general feedback.
Max pre-tax accounts, harvest losses before year-end, locate assets in the right account type, bunch deductions, and review withholding — all legally, all before the deadline.
Adopted by: Tax optimisation is taught in every CFP (Certified Financial Planner) curriculum and is standard practice at fee-only financial advisory firms. Vanguard's Advisor Alpha research (2022) estimates that tax-efficient planning adds up to 1.5% per year in after-tax returns — more value than most fund selection decisions. The Bogleheads investment community has codified asset location strategy as one of the highest-leverage, lowest-risk investment decisions available.
Impact: A household earning $200k/year that maximises a 401(k) ($23,000 limit, 2024), HSA ($8,300 family limit), and FSA ($3,050 limit) reduces taxable income by $34,350 — saving approximately $8,200–12,000/year in federal taxes at the 24–32% marginal rate, before state taxes. Tax-loss harvesting can offset capital gains and up to $3,000/year of ordinary income. Asset location (placing bonds in tax-deferred accounts) can add 0.3–0.5% annual after-tax returns with zero change in investment risk.
Why best: Tax optimisation is legal tax avoidance — using the code as written to reduce what you owe. It is not tax evasion (illegal concealment). The IRS creates these deductions and accounts specifically to incentivise behaviours (retirement saving, healthcare saving, homeownership). Using them fully is not aggressive; not using them is leaving money in the IRS's account instead of yours.
Sources: IRS Publication 17 (2024) — comprehensive federal tax rules; IRS Publication 550 (2024) — investment income and expenses; Kitces.com — planning research on Roth conversions and asset location; Bogleheads wiki — tax-efficient fund placement; IRS Form 2553 and 8949 — S-corp election and capital gains reporting
Pre-tax contributions reduce your taxable income dollar-for-dollar in the year you contribute. This is the single most impactful tax move available to most earners.
2024 contribution limits:
| Account | Limit | Catch-up (50+) | Who qualifies |
|---|---|---|---|
| 401(k) / 403(b) | $23,000 | +$7,500 | W-2 employees with employer plan |
| Traditional IRA | $7,000 | +$1,000 | Anyone with earned income; deductibility phases out at higher incomes |
| SEP-IRA | 25% of net self-employment income, max $69,000 | — | Self-employed |
| Solo 401(k) | $69,000 combined (employee + employer) | +$7,500 | Self-employed with no employees |
| HSA (individual) | $4,150 | +$1,000 | HDHP health plan holders |
| HSA (family) | $8,300 | +$1,000 | HDHP family plan holders |
| FSA | $3,050 | — | Employer-sponsored |
Priority order: Employer 401(k) to the match first (free money) → HSA to max (triple tax advantage) → remaining 401(k) to max → IRA to max → taxable account.
An HSA (Health Savings Account, available only with a High-Deductible Health Plan) is the most tax-efficient account in the US tax code:
Strategy: If you can afford to pay current medical expenses out of pocket, invest HSA funds in index funds and let them grow. Keep all medical receipts — there is no deadline to reimburse yourself. Receipts from 2024 can be submitted in 2034.
A Roth conversion moves money from a Traditional IRA or 401(k) (pre-tax) to a Roth IRA (after-tax). You pay tax now, but all future growth is tax-free.
When to convert:
How much to convert: Fill the current bracket without jumping into the next. In 2024, the 22% bracket ends at $100,525 for single filers, $201,050 for married filing jointly. Convert enough to bring taxable income to the bracket ceiling.
Tax-loss harvesting means selling investments that have declined in value to realise a capital loss, then buying a similar (not identical) investment to maintain market exposure.
Uses of capital losses:
Wash-sale rule: You cannot buy the same or "substantially identical" security within 30 days before or after the sale. Buy a similar but distinct fund (e.g., sell Vanguard Total Market, buy Schwab Total Market or iShares ITOT) to maintain exposure.
When to harvest: Any time losses exist, but review your taxable accounts in October–November. Large market drops are harvesting opportunities.
Not all investments belong in the same type of account. Tax-inefficient assets belong in tax-deferred or tax-free accounts; tax-efficient assets can go in taxable accounts.
| Asset type | Tax efficiency | Best location |
|---|---|---|
| Bonds / bond funds | Low (interest taxed as ordinary income) | 401(k) / IRA (tax-deferred) |
| REITs | Low (dividends taxed as ordinary income) | 401(k) / IRA (tax-deferred) |
| US total market index funds | High (low turnover, mostly qualified dividends) | Taxable or Roth |
| International index funds | Medium-high | Taxable (foreign tax credit available) |
| High-growth individual stocks | Variable | Roth (tax-free on all gains) |
The principle: Shelter the highest-taxed returns (bond interest, REIT dividends) in tax-deferred accounts. Put assets expected to grow significantly (equities, speculative positions) in Roth where gains are permanently tax-free.
Standard deduction (2024): $14,600 single / $29,200 married filing jointly. If your itemised deductions (mortgage interest + state/local taxes capped at $10,000 + charitable donations + other) are near or below this, you're likely better off with the standard deduction.
Bunching strategy: Instead of giving $5,000/year to charity, give $10,000 every other year. In the giving year, your itemised deductions exceed the standard deduction; in the other year, take the standard deduction. This strategy saves taxes vs. consistent giving without changing the total amount donated.
Donor-Advised Fund (DAF): Contribute a large lump sum to a DAF in a high-income year (immediate deduction), invest the funds, and distribute to charities over multiple years. This decouples the tax deduction from the giving timeline.
Over-withholding: you give the government an interest-free loan; refund feels good but earns nothing. Under-withholding: underpayment penalties if you owe > $1,000 at filing.
Review your W-4 after: marriage, divorce, having a child, buying a home, significant income change, starting a side business. Use the IRS Withholding Estimator (irs.gov/W4App) to calculate the correct withholding allowances.
If you are self-employed or own a pass-through business (LLC, S-corp, partnership), you may qualify for the Qualified Business Income (QBI) deduction — up to 20% of qualified business income, reducing your effective tax rate on that income by up to 20%.
Eligibility: Available below income thresholds (~$191,950 single / $383,900 MFJ in 2024, after which it phases out for specified service businesses). Consult a CPA to calculate your specific QBI deduction.
W-2 employee, $130k salary, married filing jointly:
Self-employed consultant, $200k net income:
Taxable account with $40k unrealised loss (tech stocks down 30%):
Leaving 401(k) match on the table: This is a 50–100% instant return on your contribution. Not capturing the full match is the costliest single tax/savings mistake.
Not using the HSA as an investment account: Using HSA funds immediately for medical expenses forfeits the long-term triple tax advantage. Pay medical costs out of pocket when possible; invest HSA funds.
Tax-loss harvesting the wrong way (wash-sale violation): Buying the same fund back within 30 days disallows the loss. The IRS tracks this; the brokerage may not warn you across accounts.
Putting equities in the IRA and bonds in the taxable account: This is the reverse of optimal asset location. Bond interest taxed as ordinary income should be sheltered; equity gains (taxed at lower long-term capital gains rates) can stay in taxable.
Ignoring state taxes: Federal optimisation sometimes creates state tax issues. Some states don't recognise HSA deductions (California, New Jersey). Check your state's treatment.
Waiting until December to think about taxes: Roth conversions, loss harvesting, and charitable bunching all require planning time. Review your tax position in August and again in November.
Financial disclaimer: This skill encodes professional best practices for educational purposes. It is not financial or tax advice. Tax law changes annually and varies by state. Consult a licensed CPA or enrolled agent before implementing strategies based on your specific income, deductions, and investment accounts.