Build a portfolio plan from brokerage exports
Claude Code read a directory of brokerage CSV exports and notes, researched funds, and produced buy, stop-buying and hold lists with a tax-loss harvesting partner fund for each.
What they did
Matt Stockton pointed Claude Code at a directory with brokerage CSV exports, a typed scratchpad of other balances, and a detailed goal prompt covering constraints, strawman targets and "ask me questions exhaustively". Claude wrote Python to parse and classify holdings, then built a gap analysis. Over several sessions he refined constraints, and a CLAUDE.md file carried context between them.
How it went
It produced a ten-section plan with a four-phase action plan, tax payback tables and fund research. He's nearly done executing it. A self-rating of 7.5/10 surfaced improvements, such as using tax-free accounts for the overweight position.
Worth knowing
The goal prompt mattered most. Include constraints, such as accounts you won't touch, and ask Claude to critique its own plan. It took a few evenings across multiple sessions.
Labels
Matt Stockton pointed Claude Code at a directory with brokerage CSV exports, a typed scratchpad of other balances, and a detailed goal prompt covering constraints, strawman targets and "ask me questions exhaustively".
He's nearly done executing it.
Claude wrote Python to parse and classify holdings, then built a gap analysis.
It produced a ten-section plan with a four-phase action plan, tax payback tables and fund research. He's nearly done executing it.
Claude Code read a directory of brokerage CSV exports and notes, researched funds, and produced buy, stop-buying and hold lists with a tax-loss harvesting partner fund for each.
The “Material” label failed its quality check and is not used for selection.
Details
- Agents
- Claude Code
- Source
- other
- Source date
- Feb 10, 2026
- Accounts
- 2
- In registry since
- Oct 12, 2026