Overview
Schedule Claude Code to read your own list of holdings, search the web for recent news on each position and write a research note with the case for and against each, which you read before deciding anything.
Problem or Objective
More in Finance and Admin
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Claude Code in the Claude desktop app with Desktop scheduled tasks (the overview says a paid subscription is required for the desktop app), web search and web fetch allowed for the task, and a holdings file you keep up to date.
How It Works
Keep your holdings in a plain CSV file (ticker, number of shares, cost and why you hold each) in a folder of its own. In the Claude desktop app, open the Code tab and create a Desktop scheduled task that runs on your machine with access to that folder, at an interval you choose. Its prompt asks Claude to read the file, use web search and web fetch to find recent news and company filings for each position, and write a new dated Markdown note with, per holding, the main case for keeping it, the main case against, the news items with links and dates, and open questions. WebSearch, WebFetch and Write need permission in Manual mode, so check how your scheduled task handles permission prompts when nobody is watching and allow only those tools on that folder. The run only writes the note; it places no trades and connects to no brokerage. Read each note, check figures against primary sources, and make any decision to buy or sell 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 in the Claude desktop app with Desktop scheduled tasks (the overview says a paid subscription is required for the desktop app), web search and web fetch allowed for the task, and a holdings file you keep up to date.
- Gather your detailsCollect what the prompt asks for: Holdings file, How far back to look for news, Folder for the notes.
- 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: Write my portfolio research note
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read [Holdings file], which lists my positions and why I hold each. For each position, use web search and web fetch to find news and company filings from the last [How far back to look for news]. Create one new Markdown note in [Folder for the notes], named with today's date, giving for each position the main case for keeping it, the main case against, the news items with links and dates, and open questions. Label anything you could not confirm from a primary source. Only create that note; do not change or delete other files, and do not place, size or prepare any trade: I read the note and decide myself.Allow the scheduled task only web search, web fetch, reading the holdings file and writing to the notes folder, and check how it handles permission prompts. Read each note, check figures against primary sources, and make every buy or sell decision yourself; the task places no trades.
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. The Claude Code overview documents Desktop scheduled tasks that run on your machine with direct access to your local files and tools. The tools reference documents WebSearch, which returns result titles and URLs, and WebFetch, which looks something up on a web page, and lists both as needing permission in Manual mode. No cited page covers markets, portfolios or the quality of investment analysis, so each note is research input for you to check.
Limitations and Considerations
This is research, not investment advice, and a person decides every trade; the agent places no trades in this workflow. Check facts and figures against primary sources such as the company's own filings, since for most pages WebFetch returns an answer to a question about the page rather than its full text. The overview says the desktop app, which includes Claude Code, requires a paid subscription. Check how your scheduled task handles permission prompts before you rely on it running alone. 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
- Desktop scheduled tasks run on your machine, with direct access to your local files and tools.
- After installing the desktop app, you launch Claude, sign in and click the Code tab; the app includes Claude Code, so you don't need to install the CLI separately. A paid subscription is required.
- Tools reference - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- WebSearch runs a query against Anthropic's web search backend and returns result titles and URLs; to read a page it finds, Claude follows up with WebFetch.
- For most pages, Claude doesn't see the full text: it asks a question about the page, and a separate model call reads the page and returns an answer.
- In the tools table, WebFetch, WebSearch and Write are marked as requiring permission; the column shows whether a tool prompts in Manual mode for paths inside the working directory.

