blocking-muting-management

Mass block, unblock, mute, unmute, and manage accounts on X/Twitter. Includes bot detection and blocking, keyword-based muting, muted word management, spam reporting, and follower removal via soft-block. Use when users want to block bots, mass block/unblock accounts, mute by keywords, manage muted words, or remove followers.

139 stars

Best use case

blocking-muting-management is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Mass block, unblock, mute, unmute, and manage accounts on X/Twitter. Includes bot detection and blocking, keyword-based muting, muted word management, spam reporting, and follower removal via soft-block. Use when users want to block bots, mass block/unblock accounts, mute by keywords, manage muted words, or remove followers.

Teams using blocking-muting-management should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/blocking-muting-management/SKILL.md --create-dirs "https://raw.githubusercontent.com/nirholas/XActions/main/skills/blocking-muting-management/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/blocking-muting-management/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How blocking-muting-management Compares

Feature / Agentblocking-muting-managementStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Mass block, unblock, mute, unmute, and manage accounts on X/Twitter. Includes bot detection and blocking, keyword-based muting, muted word management, spam reporting, and follower removal via soft-block. Use when users want to block bots, mass block/unblock accounts, mute by keywords, manage muted words, or remove followers.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Blocking & Muting Management

Browser console scripts for blocking, unblocking, muting, and managing unwanted accounts on X/Twitter.

## Script Selection

| Goal | File | Navigate to |
|------|------|-------------|
| Block multiple accounts | `src/massBlock.js` | Any page on x.com |
| Unblock all blocked accounts | `src/massUnblock.js` | `x.com/settings/blocked/all` |
| Unmute all muted accounts | `src/massUnmute.js` | `x.com/settings/muted/all` |
| Detect and block bots | `src/blockBots.js` | `x.com/USERNAME/followers` |
| Mute users by keywords | `src/muteByKeywords.js` | Timeline or search results |
| Manage muted words | `src/manageMutedWords.js` | Any page |
| Report spam | `src/reportSpam.js` | Target account profile |
| Remove followers (soft-block) | `src/removeFollowers.js` | `x.com/USERNAME/followers` |

## Script Details

### massBlock.js
Blocks a list of usernames by navigating to each profile and clicking Block. Configurable delay between blocks. Tracks progress and exports block list.

**Controls:** `window.XActions.pause()`, `.resume()`, `.abort()`

### massUnblock.js
Navigates to blocked accounts page and clicks Unblock on each. Scrolls for more. Progress tracking with auto JSON export.

### massUnmute.js
Same pattern as massUnblock but for muted accounts. Navigate to `x.com/settings/muted/all` first.

### blockBots.js
Scans your followers using heuristics to detect bot accounts:
- Default avatar / no profile picture
- Very low follower count with high following count
- Account age < 30 days with high activity
- Bio contains spam keywords
- No tweets or only retweets

Flags accounts as suspicious before blocking. Review mode available.

### muteByKeywords.js
Scans timeline or search results for tweets containing specific keywords. Mutes the authors. Configurable keyword list.

### manageMutedWords.js
Bulk-adds words/phrases to X's muted words list. Navigates to settings and adds each word programmatically.

### removeFollowers.js
Removes followers using the block-then-immediately-unblock method. They stop following you without being permanently blocked. Processes one-by-one with safety delays.

**Controls:** `window.XActions.pause()`, `.resume()`, `.abort()`

## DOM Selectors

| Element | Selector |
|---------|----------|
| Block option | `[data-testid="block"]` |
| Unblock button | `[data-testid="unblock"]` or `[data-testid$="-unblock"]` |
| Confirmation | `[data-testid="confirmationSheetConfirm"]` |
| User actions menu | `[data-testid="userActions"]` |
| User cell | `[data-testid="UserCell"]` |
| Mute option | `[data-testid="mute"]` |

## Rate Limiting & Safety

- 1-2s delays between block/unblock/mute actions
- Bot detection uses heuristics — review flagged accounts before blocking
- X may restrict after ~100 blocks in quick succession
- Soft-block (block+unblock) is the safest way to remove followers

## Strategy Guide

### Cleaning up after a bot attack
1. Run `src/blockBots.js` on your followers page
2. Review flagged accounts in the console output
3. Let the script block confirmed bots
4. Run `src/auditFollowers.js` to verify remaining follower quality

### Mass cleanup of muted/blocked accounts
1. Run `src/massUnblock.js` on `x.com/settings/blocked/all` to clear block list
2. Run `src/massUnmute.js` on `x.com/settings/muted/all` to clear mute list
3. Set up fresh keyword mutes with `src/manageMutedWords.js`

## Notes
- Block/unblock operations are final — X doesn't have a bulk undo
- Soft-block (removeFollowers) is invisible to the removed user
- Bot detection heuristics may flag legitimate new accounts — always review

Related Skills

x-pro-management

139
from nirholas/XActions

Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.

topic-management

139
from nirholas/XActions

Browse, follow, and unfollow X Topics. Manage your followed topics list and discover new ones by keyword. Use when users want to follow or unfollow topics on X, or manage their topic feed.

teams-management

139
from nirholas/XActions

Create and manage teams in XActions — invite members, assign roles, and collaborate on automation tasks. Use when users want to set up multi-user access or team-based account management.

profile-management

139
from nirholas/XActions

Updates X/Twitter profile information including bio, avatar, header image, display name, location, website, and QR code sharing. Use when updating profile fields, optimizing profile for growth, or sharing profile via QR code.

notifications-management

139
from nirholas/XActions

Manages X/Twitter notifications including filtering by type, bulk management, notification scraping, and automated notification handling. Use when users want to manage, filter, scrape, or process X notifications in bulk.

lists-management

139
from nirholas/XActions

Creates, populates, and exports X/Twitter lists from the browser console. Supports creating public or private lists, bulk-adding members by username, and exporting list members as JSON. Use when users want to create lists, add members to lists, or export list data on X.

crm-management

139
from nirholas/XActions

Manage a CRM (Contact Relationship Management) system for your X followers and contacts. Tag, segment, search, and sync follower data. Use when users want to manage relationships with their X audience at scale.

community-management

139
from nirholas/XActions

Manages X/Twitter community memberships. Bulk-leave all communities, join communities by topic, and manage community interactions. Use when leaving all communities, joining niche communities, or managing community presence.

bookmarks-management

139
from nirholas/XActions

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.

billing-management

139
from nirholas/XActions

Manage XActions subscriptions and billing — view plans, start a Stripe checkout, open the billing portal, or cancel a subscription. Use when users want to upgrade, downgrade, or manage their XActions subscription.

xactions-mcp-server

139
from nirholas/XActions

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.

xactions-cli

139
from nirholas/XActions

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.