skills/bookmarks-management/SKILL.md
Manages X/Twitter bookmarks — organize by category with auto-tagging, clear all bookmarks in bulk, and export/scrape bookmarks with full metadata. Supports keyword-based categorization, CSV and JSON export, keep-filters, and folder creation (Premium). Use when users want to export, organize, or clear their X bookmarks.
npx skillsauth add harryvik990/X-auto bookmarks-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Browser console scripts for managing, organizing, exporting, and clearing X/Twitter bookmarks.
| Goal | File | Navigate to |
|------|------|-------------|
| Export bookmarks (full metadata) | scripts/scrapeBookmarks.js | x.com/i/bookmarks |
| Organize bookmarks by category | src/bookmarkOrganizer.js | x.com/i/bookmarks |
| Clear all bookmarks | src/clearAllBookmarks.js | x.com/i/bookmarks |
| Manage bookmarks (Puppeteer) | src/bookmarkManager.js | x.com/i/bookmarks |
File: scripts/scrapeBookmarks.js
Scrolls through your bookmarks and exports all posts with full metadata: text, author, engagement metrics, media URLs, external links, hashtags, and mentions. Exports as JSON, CSV, or both.
x.com/i/bookmarksMAX_BOOKMARKS: 2000 — maximum to collectFORMAT: 'both' — 'json', 'csv', or 'both'INCLUDE_MEDIA_URLS: true — include image/video URLsINCLUDE_LINKS: true — include external linksEach bookmark includes: tweetId, handle, displayName, verified, text, url, time, likes, retweets, replies, views, images, videos, links, hashtags, mentions.
File: src/bookmarkOrganizer.js
Auto-categorizes bookmarks by keyword matching and exports organized data. Configure categories in CONFIG.categories (default: Tech, News, Crypto, Funny, Business). Unmatched bookmarks go to "Uncategorized." Supports JSON and CSV export.
x.com/i/bookmarks → paste in DevTools → EnterFile: src/clearAllBookmarks.js
Removes all bookmarks. Tries the built-in "Clear All" button first, then falls back to removing bookmarks individually by scrolling and clicking.
x.com/i/bookmarks → paste in DevTools → EnterkeepKeywords: [] — protect bookmarks containing specific wordsdryRun: false — preview removals without deletingexportOnComplete: true — auto-download log of removed bookmarkswindow.XActions.pause() / .resume() / .abort()File: src/bookmarkManager.js
Node.js/Puppeteer module for programmatic bookmark operations.
| Function | Purpose |
|----------|---------|
| getBookmarks(page, { limit, format }) | Export bookmarks as JSON or CSV |
| createFolder(page, folderName) | Create bookmark folder (Premium) |
| clearAllBookmarks(page) | Remove all bookmarks |
| Element | Selector |
|---------|----------|
| Bookmark button | [data-testid="bookmark"] |
| Remove bookmark | [data-testid="removeBookmark"] |
| Tweet in bookmarks | article[data-testid="tweet"] |
| Tweet text | [data-testid="tweetText"] |
| Create folder | [data-testid="createBookmarkFolder"] |
| Clear all | [data-testid="clearBookmarks"] |
| Confirm dialog | [data-testid="confirmationSheetConfirm"] |
[data-testid="toast"] with 60s cooldownscripts/scrapeBookmarks.js| Problem | Solution |
|---------|----------|
| No bookmarks found | Ensure you're on x.com/i/bookmarks, not /i/lists |
| Export missing tweets | Increase MAX_BOOKMARKS or maxBookmarks config |
| Folder creation fails | Bookmark folders require Premium subscription |
| Clear stops midway | Rate limit triggered — script auto-retries after cooldown |
tools
Free MCP server providing 68+ tools for AI agents to automate X/Twitter. Scrapes profiles, followers, tweets. Posts, follows, likes, retweets, downloads videos, analyzes sentiment, monitors brands, manages DMs, runs workflows, and more. Uses local Puppeteer -- no API keys or payments required. Compatible with Claude Desktop, Cursor, Windsurf, VS Code. Use when setting up or using AI agent Twitter automation via MCP.
tools
Command-line interface for scraping X/Twitter data, managing MCP server config, and running automation. Scrapes profiles, followers, tweets, search results, and more from terminal. Outputs text, JSON, or CSV. Uses Puppeteer stealth. Use when running Twitter operations from command line or automated pipelines.
content-media
Researches trending topics and competitor threads to generate high-engagement thread content with optimized hooks, value ladders, and calls to action. Use when creating threads or planning viral content.
tools
Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.