Overview
Point Claude Code at a folder holding your own brokerage CSV exports, your notes and saved fund fact sheets, and have it write a summary of your holdings and a draft plan for you to review before any trade.
Problem or Objective
- Which agents help research stocks and markets?
- Which agents clean, chart and explain a dataset you provide?
More in Finance and Admin
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Claude Code (most surfaces require a Claude subscription or Anthropic Console account; the CLI and IDE extensions also support third-party providers), CSV exports from your brokerage, and saved documents for any funds you are considering.
How It Works
Download your holdings and transaction exports from your brokerage as CSV files; this side is not covered here, so check what your brokerage offers. Put them in a new folder with a short notes file on your goals, time horizon and any funds you are considering, plus the fact sheets or annual reports you saved for those funds. Start Claude Code in that folder. Ask it first to read the files and write a script that totals each holding, its weight and its asset class, and to show you the numbers before drawing any conclusion. Then ask for a written draft: which holdings look over or under your target weights, what the saved fact sheets say about fees and contents, and open questions. It writes only into that folder. You check every number against your statements, decide, and place any trades yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code.
- Check the prerequisitesClaude Code (most surfaces require a Claude subscription or Anthropic Console account; the CLI and IDE extensions also support third-party providers), CSV exports from your brokerage, and saved documents for any funds you are considering.
- Gather your detailsCollect what the prompt asks for: Folder with your CSV exports, Your goals and notes file, Your target split.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Summarise my holdings and draft a plan
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read the brokerage exports in [Folder with your CSV exports] and my notes in [Your goals and notes file]. Write a script that totals each holding, its weight and asset class, and show me the table before anything else. Then write plan-draft.md comparing my weights with these targets: [Your target split]. Use only the saved fund documents for fees and contents, and quote the file behind each claim. List open questions. Write only inside this folder, ask before running any command that leaves it, and do not suggest that any trade is final: I will review and decide.Approve each command when Claude Code asks. Check the totals against your statements, review the draft yourself and place any trades in your brokerage only after you have decided.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic describes Claude Code as an agentic tool that reads files, edits them and runs commands, and the same reading and scripting applies to a folder of exports. The pages say nothing about investing, so the quality of the draft rests on your files and your checking.
Limitations and Considerations
This is not financial or tax advice, and a person decides: check every figure against your brokerage statements before acting, and talk to a qualified adviser for anything you are unsure of. Exports hold account details, so keep the folder local and out of any repository you share. Claude Code never logs in to your brokerage or trades in this workflow. Most Claude Code surfaces require a Claude subscription or an Anthropic Console account. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Claude Code runs on several surfaces: the terminal, IDE extensions, a desktop app and the web; most surfaces require a Claude subscription or Anthropic Console account.
- The Terminal CLI, VS Code and JetBrains also support third-party providers.

