Agent skill
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...
New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill
What it does
Blocking muting management is an agent skill from nirholas/
In short, it gives your assistant a fixed routine for one kind of job.
The file is 95 lines long and is set out in parts such as “Script Selection”, “Script Details”, “massBlock.js” and “massUnblock.js”.
It is plain instructions, with no code to run.
When to use it
Reach for it when you do this job often and want the same good result each time.
Everything it needs is in this one file.
It does not ask for special tools.
Safety check
Our checker read all 95 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It flagged nothing else to watch for.
The text links to no outside sites.
It is shared under the Apache‑2.0 license.
Still read it before you use it, like any instructions you give your AI.
Open in the appOriginal on GitHub
What is inside
- Script Selection
- Script Details
- massBlock.js
- massUnblock.js
- massUnmute.js
- blockBots.js
- mute
By Keywords.js - manage
Muted Words.js
How to use it
- Claude Code: save the text as
.claude/skills/blocking-muting-management/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
Read the full guide to using an agent skill
Want your own? How to write an agent skill that works
The full skill
--- name: blocking-muting-management description: 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. license: Apache-2.0 metadata: author: nichxbt version: "4.0" --- # 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 | `browser/massBlock.js` | Any page on x.com | | Unblock all blocked accounts | `browser/massUnblock.js` | `x.com/settings/blocked/all` | | Unmute all muted accounts | `browser/massUnmute.js` | `x.com/settings/muted/all` | | Detect and block bots | `browser/blockBots.js` | `x.com/USERNAME/followers` | | Mute users by keywords | `browser/muteByKeywords.js` | Timeline or search results | | Manage muted words | `browser/manageMutedWords.js` | Any page | | Report spam | `browser/reportSpam.js` | Target account profile | | Remove followers (soft-block) | `browser/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 `browser/blockBots.js` on your followers page 2. Review flagged accounts in the console output 3. Let the script block confirmed bots 4. Run `browser/auditFollowers.js` to verify remaining follower quality ### Mass cleanup of muted/blocked accounts 1. Run `browser/massUnblock.js` on `x.com/settings/blocked/all` to clear block list 2. Run `browser/massUnmute.js` on `x.com/settings/muted/all` to clear mute list 3. Set up fresh keyword mutes with `browser/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
Copyright (c) nirholas and contributors.
Published under the Apache License 2.0, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.
More skills
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.
Articles longform
Compose, preview, publish, and manage long‑form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking.
Community health monitoring
Audits follower quality, engagement authenticity, unfollower patterns, and network efficiency to produce a community health score.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.