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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "content-cleanup" with this command: npx skills add nirholas/xactions/nirholas-xactions-content-cleanup

Content Cleanup with XActions

Browser console scripts for mass-cleaning your X/Twitter account history.

Available Scripts

ScriptFilePurpose
Unlike All Postssrc/unlikeAllPosts.jsRemove all likes from your likes page
Clear All Repostssrc/clearAllReposts.jsRemove all retweets/reposts
Clear All Bookmarkssrc/clearAllBookmarks.jsRemove all saved bookmarks
Remove Followerssrc/removeFollowers.jsSoft-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

ElementSelector
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

ElementSelector
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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

twitter-scraping

No summary provided by upstream source.

Repository SourceNeeds Review
General

direct-messages

No summary provided by upstream source.

Repository SourceNeeds Review
General

analytics-insights

No summary provided by upstream source.

Repository SourceNeeds Review