Skip to content
agentusehub
Sign in+ Submit
Build a portfolio plan from brokerage exports

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.

Read the experience
Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

“Build a portfolio plan from brokerage exports” is a Money, Bills & Benefits AI agent workflow from Any. It connects Claude Code in 3 steps.

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.

Reported experience

  1. 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.

  2. 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.

  3. 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.

Example prompts

Try with Claude Code
Read the brokerage CSV exports and notes in [folder path]. Research the funds I hold and give me three lists: buy more, stop buying, and hold. For each fund you suggest selling at a loss, name a similar partner fund for tax-loss harvesting and explain the reason. Write the result to a file called portfolio-plan and don't make any trades.

Frequently asked questions

What does the “Build a portfolio plan from brokerage exports” workflow do?

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.

Which tools do I need?

You need Claude Code.

How long does it take to set up?

The guide walks through 3 steps, starting with “What they did”.

Coding · Advanced
  1. Write migration plan
  2. Agent edits in batches
  3. Tests per batch

Ship a 40-file refactor with a coding agent

Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.

Claude Code · GitHub Copilot
Coding · Advanced
  1. Run coverage
  2. Pick 3 riskiest files
  3. Write + run tests

Generate missing unit tests for untested modules

Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.

Claude Code · GitHub Copilot · Slack
Add this badge to your site

Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges

Featured on AgentUseHub