Ask Claude Code to build a retirement plan from your records

A commenter used Claude Code to review financial records, question them about goals, and assemble a staged plan with retirement options.

Done with Claude Codeยท Advanced

What they did
They treated Claude Code like a small finance desk, splitting the work across a spending analyst, a conservative retirement planner, a bolder investing agent, a coding assistant, and a coordinator. They kept their assets, debts, and income in markdown, linked YNAB through its API, and used Python to turn transaction history into concise summaries. The lead agent collected their goal details, routed tasks to the other agents, and brought everything together into one action plan plus retirement scenarios.
How it went
The final output was a full planning review that included feedback on two years of spending and several retirement paths covering timing, place, lifestyle, and an estimated chance of hitting those targets. They did not report any measured performance or real-world follow-through. The most time-consuming part was wiring up the YNAB connection and keeping the token in a local JSON file so the process could run again without redoing the summaries.
Tips
This approach is most useful when your records are already organized and your API setup is in place. Tell the agent to wait for your approval before any step that would send, submit, delete, or move money.

Try it yourself with Claude Code

Use Claude Code as a small planning team with five roles: a budget reviewer, a cautious retirement planner, a more aggressive portfolio analyst, a coding helper, and a lead coordinator. Begin by reading the files in [folder path] that list my assets, debts, and income, and also pull my YNAB spending data through [API source]. Then ask me for my goals and preferences, but stop after each question so I can answer before you continue. Once you have enough information, write a phased financial action plan and three retirement scenario reports, and save them in [output folder] with assumptions noted at the top of each file. Before any irreversible step, such as sending, deleting, submitting, or transferring money, pause and ask for approval.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Read the original on reddit.com โ†—

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.