From xactions
Runs browser console JavaScript scripts for mass unfollowing on X/Twitter: all accounts, non-followers with logging, smart whitelists, unfollower detection, ratio management. For cleaning following lists and optimizing ratios.
npx claudepluginhub nirholas/xactionsThis skill uses the workspace's default tool permissions.
Browser console scripts for managing who you follow on X/Twitter. All scripts run in DevTools console.
Monitors X/Twitter follower changes via browser console scripts. Detects unfollowers, tracks new followers with alerts, analyzes growth, demographics, and ratios on public accounts.
Audits X (Twitter) followers for bots, inactive accounts, and ghosts via Xquik API. Extracts lists, flags suspects by heuristics like low tweets/followers ratio and recent creation; analysis-only.
CLI for X (Twitter) API v2: fetch following lists, diff snapshots for follow changes, get likes/bookmarks/latest posts, screenshot tweets with Playwright.
Share bugs, ideas, or general feedback.
Browser console scripts for managing who you follow on X/Twitter. All scripts run in DevTools console.
| Goal | File | Navigate to |
|---|---|---|
| Unfollow ALL accounts | src/unfollowEveryone.js | x.com/USERNAME/following |
| Unfollow only non-followers | src/unfollowback.js | x.com/USERNAME/following |
| Unfollow non-followers + download log | src/unfollowWDFBLog.js | x.com/USERNAME/following |
| Time-based smart unfollow with whitelist | src/automation/smartUnfollow.js | x.com/USERNAME/following |
| Detect who unfollowed you | src/detectUnfollowers.js | x.com/USERNAME/followers |
| Monitor follow/following ratio + plan | src/followRatioManager.js | x.com/USERNAME |
| Remove specific followers from YOUR list | src/removeFollowers.js | x.com/USERNAME/followers |
For detailed algorithms, controls, configurations, and DOM selectors for each script, see references/script-details.md.
[data-testid="toast"] warning bannerssrc/followRatioManager.js on your profile to assess current ratioXActions.plan() to see how many unfollows are neededsrc/unfollowback.js to remove non-followers first (safest)src/unfollowEveryone.js with abort when satisfiedXActions.track()src/detectUnfollowers.js to track lossessrc/followRatioManager.js weekly to monitor trendssrc/unfollowback.js monthly to remove non-reciprocal followssmartUnfollow.js for accounts you always want to followscripts/scrapeFollowing.jssrc/unfollowWDFBLog.js (saves log of who was unfollowed)src/followRatioManager.js to verify improvements| Problem | Solution |
|---|---|
| "No unfollow buttons found" | Make sure you're on the Following page, not Followers |
| Script stops after ~20 unfollows | X rate limit triggered — wait 1 hour and re-run |
| Confirmation dialog doesn't appear | DOM may have changed — check confirmationSheetConfirm selector |
| Script unfollows mutuals | Use unfollowback.js instead of unfollowEveryone.js |
| "Action restricted" warning | Account is temporarily limited — wait 12-24 hours |
| Script misses accounts | Re-run the script — some load below the scroll area |