From xactions
Switches between For You/Following X timelines, auto-scrolls to collect posts, scrapes structured data including text/media/engagement, and exports as JSON from x.com/home.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xactions:timeline-viewingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Browser console scripts for viewing, switching, and collecting posts from your X timeline.
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 feednpx claudepluginhub nirholas/xactionsExports X/Twitter account data including tweets, likes, bookmarks, followers, and following as JSON via browser console scripts. Triggers official data archive download for full history.
CLI for X (Twitter) API v2: fetch following lists, diff snapshots for follow changes, get likes/bookmarks/latest posts, screenshot tweets with Playwright.
Automates X/Twitter data extraction and actions: tweet search, user lookup, follower export, posting, DMs, webhooks, monitoring, and giveaway draws via the Xquik platform.