Overview
Build a Claude computer use setup in an isolated virtual machine that browses public social media posts on a topic and records them in a spreadsheet to plan sponsored articles.
Problem or Objective
- Which agents investigate a question and report back?
- Which agents can operate a web browser for you?
- Which agents build or edit spreadsheets with working formulas?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- Claude API · LibreOffice · Firefox
- Prerequisites
- An Anthropic API key and a dedicated virtual machine or container for the computer use tool, such as the reference environment. Some coding to call the Messages API.
How It Works
Set up the computer use tool in a dedicated virtual machine or container, for example starting from Anthropic's reference environment with Firefox and LibreOffice installed, and call it through the Messages API from a small script. Give Claude a topic, the platforms to look at and the columns you want: post link, platform, date, author handle, main theme and the visible like or comment counts. Ask it to search public pages only, open each relevant post, add a row to a LibreOffice Calc sheet and save the file every few rows. Have your script end the first run after five rows so you can review them, then start the full run. Tell it to stop and report when a site asks for a login, shows a CAPTCHA or blocks access, rather than trying to get around it. When the run ends, copy the spreadsheet out, check a sample of rows against the original posts, and group the themes into article ideas yourself before pitching any sponsored piece.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude computer use.
- Connect the toolsConnect the tools this workflow relies on: Claude API, LibreOffice, Firefox.
- Check the prerequisitesAn Anthropic API key and a dedicated virtual machine or container for the computer use tool, such as the reference environment. Some coding to call the Messages API.
- Gather your detailsCollect what the prompt asks for: Research topic, Platforms to check, Time period, Spreadsheet file, Maximum number of posts.
- Run the starter promptPaste the starter prompt below into Claude computer use and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at platform.claude.com before you rely on it.
Practical Starter Prompt: Collect public posts into a research sheet
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Research the topic [Research topic] on these platforms: [Platforms to check]. Use public pages only and do not log in. For each relevant post from [Time period], add a row to the spreadsheet [Spreadsheet file] with: link, platform, date, author handle, main theme in a few words, and the like and comment counts shown on screen. Save the file every five rows, and after the first five rows pause the run so I can review them before you continue. Stop after [Maximum number of posts] posts. If a site asks for a login, shows a CAPTCHA or blocks you, stop on that site and note it in the sheet. At the end, summarise the main themes you saw.Run this only in an isolated virtual machine with no saved logins. Spot-check rows against the original posts, and decide on article topics and sponsor pitches yourself.
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's computer use documentation describes screenshot capabilities with mouse and keyboard control, and a reference environment with Firefox and LibreOffice. No cited page covers any particular social platform, so what is visible without logging in, and how reliable the recorded counts are, depends on each site.
Limitations and Considerations
Anthropic recommends a dedicated virtual machine or container with minimal privileges and keeping account logins away from the model, so stick to public pages. Web pages can contain instructions that mislead Claude, which is another reason to keep the environment isolated. Check each platform's terms before automated browsing, and stop at any login wall, CAPTCHA or block. Engagement numbers are copied from what is on screen; recheck any figure you quote. API usage is billed per request. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Computer use tool - Claude Platform Docs (opens in a new tab)
Project documentation · platform.claude.com · Undated · Source checked 25 Nov 2026, 12:00 UTC
What this source supports
- Claude can interact with computer environments through the computer use tool, which provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
- Using a dedicated virtual machine or container with minimal privileges to prevent direct system attacks or accidents.
- Avoiding giving the model access to sensitive data, such as account login information, to prevent information theft.
- Take precautions to isolate Claude from sensitive data and actions to avoid risks related to prompt injection.