From xactions
Switches X timelines (For You/Following), auto-scrolls to collect posts, scrapes structured data including text/media/metrics, and exports as JSON via browser console scripts. Use on x.com/home to gather timeline tweets.
npx claudepluginhub nirholas/xactionsThis skill uses the workspace's default tool permissions.
Browser console scripts for viewing, switching, and collecting posts from your X timeline.
Exports X/Twitter account data including tweets, likes, bookmarks, followers, and following as downloadable JSON using browser console scripts. Triggers official data archive download for full backups.
CLI for X (Twitter) API v2: fetch following lists, diff snapshots for follow changes, get likes/bookmarks/latest posts, screenshot tweets with Playwright.
Fetches X (Twitter) For You home timeline via API with cursor pagination and option to suppress seen tweets. Useful for Twitter readers or feeds.
Share bugs, ideas, or general feedback.
Browser console scripts for viewing, switching, and collecting posts from your X timeline.
| Goal | File | Navigate to |
|---|---|---|
| Switch timeline, auto-scroll, export posts | src/timelineViewer.js | x.com/home |
| Scrape timeline posts into structured data | src/timelineScraper.js | x.com/home |
x.com/homesrc/timelineViewer.js → EntertimelineViewer.js)const CONFIG = {
timeline: 'for-you', // 'for-you' or 'following'
autoSwitch: true, // Automatically switch to selected timeline
collectPosts: true, // Scroll and collect posts
maxPosts: 100, // Max posts to collect
exportData: true, // Auto-download JSON when done
scrollDelay: 2000, // ms between scroll actions
delayBetweenActions: 1500, // ms between UI actions
maxScrollRetries: 8, // Empty scrolls before stopping
};
// timelineViewer.js
XActions.switchTo('for-you') // Switch to For You timeline
XActions.switchTo('following') // Switch to Following timeline
XActions.collect() // Start collecting posts
XActions.export() // Export collected posts as JSON
XActions.abort() // Stop collection
// timelineScraper.js
XActions.scrape({ maxPosts: 200 }) // Scrape with custom limit
XActions.results() // Get collected results
XActions.download() // Download as JSON
Each collected post includes:
for-you content is personalized; following shows only accounts you followmaxPosts for deeper scrapes (slower, more scroll rounds)twitter-scraping which targets specific profiles, not your feed