blocking-muting-management
Skill648 starsChanged 9 months agoApache-2.0View on GitHub
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.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- python/CLAUDE.mdCLAUDE.md
- xspace-agents/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- python/llms-full.txtllms.txt
- python/llms.txtllms.txt
- a2a-multi-agentSkill
- account-backupSkill
- account-toolsSkill
- algorithm-cultivationSkill
- analytics-insightsSkill
- articles-longformSkill
- billing-managementSkill
- bookmarks-managementSkill
- business-adsSkill
- community-health-monitoringSkill
- community-managementSkill
- community-notesSkill
- competitor-intelligenceSkill
- content-cleanupSkill
- content-postingSkill
- content-repurposingSkill
- creator-monetizationSkill
- crm-managementSkill
- delegate-accessSkill
- direct-messagesSkill
- discovery-exploreSkill
- engagement-interactionSkill
- follower-monitoringSkill
- graph-analysisSkill
- grok-aiSkill
- growth-automationSkill
- lead-generationSkill
- lists-managementSkill
- media-studioSkill
- notifications-managementSkill
- post-editingSkill
- premium-subscriptionsSkill
- profile-managementSkill
- reputation-auditSkill
- saved-searchesSkill
- settings-privacySkill
- spaces-liveSkill
- teams-managementSkill
- timeline-viewingSkill
- topic-managementSkill
- twitter-scrapingSkill
- unfollow-managementSkill
- video-downloadingSkill
- viral-thread-generationSkill
- webhooksSkill
- x402-paymentsSkill
- xactions-cliSkill
- xactions-mcp-serverSkill
- x-pro-managementSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Default avatar / no profile picture
- Distinctive: line 46
No tweets or only retweets
- Very specific: line 82
Run src/blockBots.js on your followers page
- Very specific: line 85
Run src/auditFollowers.js to verify remaining follower quality
- Very specific: line 88
Run src/massUnblock.js on x.com/settings/blocked/all to clear block list
- Very specific: line 89
Run src/massUnmute.js on x.com/settings/muted/all to clear mute list
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Run
src/blockBots.json your followers page - Review flagged accounts in the console output
- Let the script block confirmed bots
- Run
src/auditFollowers.jsto verify remaining follower quality
Mass cleanup of muted/blocked accounts
- Run
src/massUnblock.jsonx.com/settings/blocked/allto clear block list - Run
src/massUnmute.jsonx.com/settings/muted/allto clear mute list - 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

