/content-cleanup
Mass-cleanup your X/Twitter account. Unlike all posts, clear all reposts/retweets, clear all bookmarks, and remove unwanted followers. Use when users want to clean their account history, remove old likes, or start fresh.
$ npx -y skills add nirholas/XActions --skill content-cleanup --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
/content-cleanup
Context preview
The summary Claude sees to decide when to auto-load this skill.
Mass-cleanup your X/Twitter account. Unlike all posts, clear all reposts/retweets, clear all bookmarks, and remove unwanted followers. Use when users want to clean their account history, remove old likes, or start fresh.
SKILL.md
content-cleanup.SKILL.mdname: content-cleanup
description: Mass-cleanup your X/Twitter account. Unlike all posts, clear all reposts/retweets, clear all bookmarks, and remove unwanted followers. Use when users want to clean their account history, remove old likes, or start fresh.
license: Apache-2.0
metadata:
author: nichxbt
version: "3.0"
Content Cleanup with XActions
Browser console scripts for mass-cleaning your X/Twitter account history.
Available Scripts
| Script | File | Purpose | |--------|------|---------| | Unlike All Posts | `src/unlikeAllPosts.js` | Remove all likes from your likes page | | Clear All Reposts | `src/clearAllReposts.js` | Remove all retweets/reposts | | Clear All Bookmarks | `src/clearAllBookmarks.js` | Remove all saved bookmarks | | Remove Followers | `src/removeFollowers.js` | Soft-block to remove specific followers |
Unlike All Posts
**File:** `src/unlikeAllPosts.js`
Mass-unlike all posts from your likes page.
How to use
1. Navigate to `x.com/YOUR_USERNAME/likes` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Configuration
const CONFIG = {
maxUnlikes: Infinity, // Set a number to limit
minDelay: 800, // Minimum delay between unlikes (ms)
maxDelay: 2000, // Maximum delay
};Key selector
| Element | Selector | |---------|----------| | Unlike button | `[data-testid="unlike"]` |
Clear All Reposts
**File:** `src/clearAllReposts.js`
Remove all retweets/reposts from your profile.
How to use
1. Navigate to `x.com/YOUR_USERNAME` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Key selectors
| Element | Selector | |---------|----------| | Unretweet button | `[data-testid="unretweet"]` | | Confirm unretweet | `[data-testid="unretweetConfirm"]` |
Clear All Bookmarks
**File:** `src/clearAllBookmarks.js`
Remove all saved bookmarks. Tries the built-in "Clear All" button first, falls back to individual removal.
How to use
1. Navigate to `x.com/i/bookmarks` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Remove Followers
**File:** `src/removeFollowers.js`
Remove specific followers without fully blocking them (soft-block technique).
Configuration
const CONFIG = {
usersToRemove: ['username1', 'username2'],
removeAll: false, // Set to true to remove ALL visible followers
maxRemovals: 50,
dryRun: true, // Set to false to actually remove
};How to use
1. Navigate to `x.com/YOUR_USERNAME/followers` 2. Edit the usernames to remove (or set `removeAll: true`) 3. Set `dryRun: false` 4. Open DevTools (F12) → Console 5. Paste the script → Enter
Notes
- Unlike/unretweet operations cannot be undone — the original post remains, but your interaction is removed
- Clearing bookmarks is permanent
- Remove followers uses the "Remove this follower" option from the three-dot menu on the followers page
- All scripts include configurable delays to respect rate limits
- Progress is logged every 10 items
Read more
name: content-cleanup description: Mass-cleanup your X/Twitter account. Unlike all posts, clear all reposts/retweets, clear all bookmarks, and remove unwanted followers. Use when users want to clean their account history, remove old likes, or start fresh. license: Apache-2.0 metadata: author: nichxbt version: "3.0"
Content Cleanup with XActions
Browser console scripts for mass-cleaning your X/Twitter account history.
Available Scripts
| Script | File | Purpose | |--------|------|---------| | Unlike All Posts | `src/unlikeAllPosts.js` | Remove all likes from your likes page | | Clear All Reposts | `src/clearAllReposts.js` | Remove all retweets/reposts | | Clear All Bookmarks | `src/clearAllBookmarks.js` | Remove all saved bookmarks | | Remove Followers | `src/removeFollowers.js` | Soft-block to remove specific followers |
Unlike All Posts
**File:** `src/unlikeAllPosts.js`
Mass-unlike all posts from your likes page.
How to use
1. Navigate to `x.com/YOUR_USERNAME/likes` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Configuration
const CONFIG = {
maxUnlikes: Infinity, // Set a number to limit
minDelay: 800, // Minimum delay between unlikes (ms)
maxDelay: 2000, // Maximum delay
};Key selector
| Element | Selector | |---------|----------| | Unlike button | `[data-testid="unlike"]` |
Clear All Reposts
**File:** `src/clearAllReposts.js`
Remove all retweets/reposts from your profile.
How to use
1. Navigate to `x.com/YOUR_USERNAME` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Key selectors
| Element | Selector | |---------|----------| | Unretweet button | `[data-testid="unretweet"]` | | Confirm unretweet | `[data-testid="unretweetConfirm"]` |
Clear All Bookmarks
**File:** `src/clearAllBookmarks.js`
Remove all saved bookmarks. Tries the built-in "Clear All" button first, falls back to individual removal.
How to use
1. Navigate to `x.com/i/bookmarks` 2. Open DevTools (F12) → Console 3. Paste the script → Enter
Remove Followers
**File:** `src/removeFollowers.js`
Remove specific followers without fully blocking them (soft-block technique).
Configuration
const CONFIG = {
usersToRemove: ['username1', 'username2'],
removeAll: false, // Set to true to remove ALL visible followers
maxRemovals: 50,
dryRun: true, // Set to false to actually remove
};How to use
1. Navigate to `x.com/YOUR_USERNAME/followers` 2. Edit the usernames to remove (or set `removeAll: true`) 3. Set `dryRun: false` 4. Open DevTools (F12) → Console 5. Paste the script → Enter
Notes
- Unlike/unretweet operations cannot be undone — the original post remains, but your interaction is removed
- Clearing bookmarks is permanent
- Remove followers uses the "Remove this follower" option from the three-dot menu on the followers page
- All scripts include configurable delays to respect rate limits
- Progress is logged every 10 items
⚡ 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

