/bookmarks-management
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
$ npx -y skills add nirholas/XActions --skill bookmarks-management --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/bookmarks-management
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
bookmarks-management.SKILL.mdname: bookmarks-management
description: 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.
license: Apache-2.0
metadata:
author: nichxbt
version: "3.0"
Bookmarks Management
Browser console scripts for managing, organizing, exporting, and clearing X/Twitter bookmarks.
Script Selection
| 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` |
Scrape 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.
How to Use
1. Navigate to `x.com/i/bookmarks` 2. Open DevTools (F12) → Console 3. Paste the script → Enter 4. Auto-downloads when complete
Configuration
- `MAX_BOOKMARKS: 2000` — maximum to collect
- `FORMAT: 'both'` — `'json'`, `'csv'`, or `'both'`
- `INCLUDE_MEDIA_URLS: true` — include image/video URLs
- `INCLUDE_LINKS: true` — include external links
Output
Each bookmark includes: `tweetId`, `handle`, `displayName`, `verified`, `text`, `url`, `time`, `likes`, `retweets`, `replies`, `views`, `images`, `videos`, `links`, `hashtags`, `mentions`.
Bookmark Organizer
**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.
1. Navigate to `x.com/i/bookmarks` → paste in DevTools → Enter 2. Prints category breakdown in console → auto-downloads organized export
Clear All Bookmarks
**File:** `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.
How to Use
1. Navigate to `x.com/i/bookmarks` → paste in DevTools → Enter
Features
- `keepKeywords: []` — protect bookmarks containing specific words
- `dryRun: false` — preview removals without deleting
- `exportOnComplete: true` — auto-download log of removed bookmarks
- Pause/resume/abort via `window.XActions.pause()` / `.resume()` / `.abort()`
- Rate limit detection with automatic cooldown
Bookmark Manager (Puppeteer)
**File:** `src/bookmarkManager.js`
Node.js/Puppeteer module for programmatic bookmark operations.
Functions
| Function | Purpose | |----------|---------| | `getBookmarks(page, { limit, format })` | Export bookmarks as JSON or CSV | | `createFolder(page, folderName)` | Create bookmark folder (Premium) | | `clearAllBookmarks(page)` | Remove all bookmarks |
DOM Selectors
| 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"]` |
Rate Limiting & Safety
- 1.5s scroll delay between pagination cycles
- 0.8–2.2s delay between individual removals (gaussian randomized)
- Rate limit detection via `[data-testid="toast"]` with 60s cooldown
- **Clearing is irreversible** — export first with `scripts/scrapeBookmarks.js`
Troubleshooting
| 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 |
Read more
name: bookmarks-management description: 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. license: Apache-2.0 metadata: author: nichxbt version: "3.0"
Bookmarks Management
Browser console scripts for managing, organizing, exporting, and clearing X/Twitter bookmarks.
Script Selection
| 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` |
Scrape 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.
How to Use
1. Navigate to `x.com/i/bookmarks` 2. Open DevTools (F12) → Console 3. Paste the script → Enter 4. Auto-downloads when complete
Configuration
- `MAX_BOOKMARKS: 2000` — maximum to collect
- `FORMAT: 'both'` — `'json'`, `'csv'`, or `'both'`
- `INCLUDE_MEDIA_URLS: true` — include image/video URLs
- `INCLUDE_LINKS: true` — include external links
Output
Each bookmark includes: `tweetId`, `handle`, `displayName`, `verified`, `text`, `url`, `time`, `likes`, `retweets`, `replies`, `views`, `images`, `videos`, `links`, `hashtags`, `mentions`.
Bookmark Organizer
**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.
1. Navigate to `x.com/i/bookmarks` → paste in DevTools → Enter 2. Prints category breakdown in console → auto-downloads organized export
Clear All Bookmarks
**File:** `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.
How to Use
1. Navigate to `x.com/i/bookmarks` → paste in DevTools → Enter
Features
- `keepKeywords: []` — protect bookmarks containing specific words
- `dryRun: false` — preview removals without deleting
- `exportOnComplete: true` — auto-download log of removed bookmarks
- Pause/resume/abort via `window.XActions.pause()` / `.resume()` / `.abort()`
- Rate limit detection with automatic cooldown
Bookmark Manager (Puppeteer)
**File:** `src/bookmarkManager.js`
Node.js/Puppeteer module for programmatic bookmark operations.
Functions
| Function | Purpose | |----------|---------| | `getBookmarks(page, { limit, format })` | Export bookmarks as JSON or CSV | | `createFolder(page, folderName)` | Create bookmark folder (Premium) | | `clearAllBookmarks(page)` | Remove all bookmarks |
DOM Selectors
| 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"]` |
Rate Limiting & Safety
- 1.5s scroll delay between pagination cycles
- 0.8–2.2s delay between individual removals (gaussian randomized)
- Rate limit detection via `[data-testid="toast"]` with 60s cooldown
- **Clearing is irreversible** — export first with `scripts/scrapeBookmarks.js`
Troubleshooting
| 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 |
⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.
Repo: nirholas/XActions
Other skills on xactions.
- /a2a-multi-agent
Turn XActions into an A2A-compatible agent that can discover, communicate with, and delegate tasks to other AI agents using Google's Agent-to-Agent protocol.
Open skill - /account-backup
Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also triggers X's official data archive download. Use when users want to backup, export, or archive their X account data.
Open skill - /account-tools
Miscellaneous account utilities — view join date, login history, connected accounts, appeal suspension, QR code sharing, share/embed tweets, upload contacts, and calculate account age. Use when users need account info tools not covered by other skills.
Open skill - /algorithm-cultivation
Trains an X/Twitter account's algorithmic feed to surface niche-relevant content and positions the account as a thought leader. Browser scripts for manual operation, Persona Engine for identity management, and 24/7 Algorithm Builder with LLM-powered engagement via Puppeteer. Use
Open skill - /analytics-insights
Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral detection, content calendar gaps, A/B testing, and engagement leaderboards. Browser console scripts for data-driven X optimization. Use when users want
Open skill - /articles-longform
Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.
Open skill

