Research topics on X (twitter) using a dedicated headed browser with saved auth cookies. Separate window from main Chrome.
- Real-time AI/LLM discourse, announcements, and opinions from thought leaders
- Breaking news or emerging topics not yet covered by blogs or docs
- Checking what specific people are saying about a topic
- Gathering community sentiment or reactions to launches, papers, or tools
- Open x.com in Chrome and confirm you're logged in
- Enable Chrome remote debugging: chrome://inspect/#remote-debugging → Allow
- Run x-export-cookies.sh to copy auth cookies
- Prereq:
pip install websockets(needed by x-export-cookies.sh)
| Script | Purpose |
|---|---|
| x-search.sh "" [top|latest] | Search X. Defaults to Top tab. |
| x-read.sh | Read a specific post or thread. |
| x-profile.sh | View a user's recent posts. |
| x-export-cookies.sh | Copy X auth cookies from Chrome. |
All scripts launch a separate headed browser window (not your main Chrome). Output is an agent-browser accessibility snapshot. Use agent-browser directly for further interaction (click, scroll, expand).
- X search supports operators:
from:user,to:user,since:YYYY-MM-DD,until:YYYY-MM-DD,min_faves:100,min_retweets:50,filter:links - Truncated posts show a "Show more" button — click its ref to expand
- To scroll for more results:
agent-browser scroll down 800 - To read a thread: click into a post, then snapshot to see replies
- High engagement (likes, reposts, views) is a useful signal for relevance
- If login fails (cookies expired), re-run
x-export-cookies.sh