Comprehensive retirement-readiness analysis...
This skill turns a household's real financial data into an honest, defensible retirement plan: a 13-tab Excel model driven by a Monte Carlo simulation, plus a plain-English guide and a dated action checklist. It works for any household — the numbers below are illustrative only.
Your job is to be an intelligent analyst, not a cheerleader. Retirees are often over-saved and under-optimized: the interesting answer is usually not "can I retire?" (frequently yes) but "how do I stop overpaying tax, stop being too conservative, and protect the surviving spouse?" Lead with the finding that actually matters, even if it's not what they asked.
references/intake.md. Ask in grouped batches, not one at a time.
If the user has uploaded statements (brokerage, 401k, Social Security, expenses), read those first and
only ask for what's missing. Reconcile conflicting balances to the primary custodian statement and say so.scripts/retirement_engine.py (see below). This does
every Monte Carlo computation deterministically so you never hand-simulate.references/workbook_spec.md — 13 tabs, fully formula-driven, Assumptions tab
as the single source of truth. Debug to zero formula errors.Order matters only loosely: Roth-conversion sizing, the withdrawal plan, and Social Security timing are
interdependent, so expect to iterate. Read references/methodology.md for how each piece is calculated and
why — that file is the analytical backbone; consult it whenever you're unsure how to compute or explain a piece.
python scripts/retirement_engine.py profile.json -o results.json
python scripts/retirement_engine.py --example # prints a sample profile to copy
The engine works entirely in real (today's) dollars — spending, Social Security (which has a COLA), and rental/pension income are held flat in today's money, and portfolio returns use real means (nominal minus inflation). This is deliberate: a non-expert can read "$1.04M in today's dollars" and understand it, whereas a nominal projection looks alarmingly large for no real reason. It returns: success rate at the current portfolio (current and target allocation), the true number (smallest portfolio clearing the success target), a spending-sensitivity table, fixed-rate withdrawal scenarios (3/3.5/4%), a Guyton-Klinger guardrails run, and year-by-year percentile paths (P10–P90). Feed those results straight into the Monte Carlo, Withdrawal Scenarios, and Readiness tabs.
Cover all of these even if the user asked about only one — this is the heart of the value:
These prevent the errors that quietly make a plan wrong. Full detail in references/workbook_spec.md.
actual_conversion = available / (1 + tax_rate); if the account is exhausted,
the conversion and its tax are both zero — never leave a phantom tax.#REF!/#DIV/0!/#VALUE!/#N/A/#NAME?.
A clean recalc proves formulas evaluate, not that they're right — spot-check a few cells against the engine output.Write for a smart non-expert. Explain why, not just what. Take a position and defend it with the numbers. Flag the real trade-offs (IRMAA vs conversion size; ACA subsidy vs conversion; longevity vs claiming age) rather than hiding them. This is educational analysis of the user's own data — not tax, legal, or investment advice; say so, and point them to a fee-only fiduciary and a CPA for execution. Never invent liabilities or assets the user didn't give you; if something is an assumption, label it as one where the reader will see it.
Three files, named for the household (e.g. Smith_):
| File | What it is |
|---|---|
<Name>_Retirement_Analysis.xlsx |
The 13-tab formula-driven model — the analytical engine |
<Name>_Retirement_Plan_Guide.docx |
Narrative companion: explains every tab, the key decisions, a glossary |
<Name>_Retirement_Action_Checklist.docx |
Chronological, dated checklist with checkboxes and tab references |
references/intake.md — the full input checklist and the clarifying questions to ask.references/methodology.md — how each calculation works and how to explain it (withdrawal rates, sequence risk,
Social Security & survivor math, Roth ladder with bracket/IRMAA logic, RMDs, healthcare bridge, glide path, LTC/life).references/workbook_spec.md — the 13-tab layout, column-by-column, with formula patterns and the critical rules.