unfollow-management

Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.

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 "unfollow-management" with this command: npx skills add nirholas/xactions/nirholas-xactions-unfollow-management

Unfollow Management

Browser console scripts for managing who you follow on X/Twitter. All scripts run in DevTools console.

Script Selection

GoalFileNavigate to
Unfollow ALL accountssrc/unfollowEveryone.jsx.com/USERNAME/following
Unfollow only non-followerssrc/unfollowback.jsx.com/USERNAME/following
Unfollow non-followers + download logsrc/unfollowWDFBLog.jsx.com/USERNAME/following
Time-based smart unfollow with whitelistsrc/automation/smartUnfollow.jsx.com/USERNAME/following
Detect who unfollowed yousrc/detectUnfollowers.jsx.com/USERNAME/followers
Monitor follow/following ratio + plansrc/followRatioManager.jsx.com/USERNAME
Remove specific followers from YOUR listsrc/removeFollowers.jsx.com/USERNAME/followers

Script Details

For detailed algorithms, controls, configurations, and DOM selectors for each script, see references/script-details.md.

Rate Limiting & Safety

  • Default delay: 1–2 seconds between unfollows (gaussian randomized)
  • Batch delay: 2–3 seconds between scroll batches
  • Rate limit detection: Scripts check for [data-testid="toast"] warning banners
  • Backoff: If rate limited, scripts wait 30–60 seconds before retrying
  • Daily limit guidance: X may restrict after ~400 unfollows/day; spread over multiple sessions
  • Recovery: If action-restricted, wait 12–24 hours

Strategy Guide

Cleaning a bloated following list

  1. Run src/followRatioManager.js on your profile to assess current ratio
  2. Use XActions.plan() to see how many unfollows are needed
  3. Run src/unfollowback.js to remove non-followers first (safest)
  4. If more cleanup needed, use src/unfollowEveryone.js with abort when satisfied
  5. Re-check ratio with XActions.track()

Maintaining a healthy ratio over time

  1. Set up periodic runs of src/detectUnfollowers.js to track losses
  2. Use src/followRatioManager.js weekly to monitor trends
  3. Run src/unfollowback.js monthly to remove non-reciprocal follows
  4. Keep a whitelist in smartUnfollow.js for accounts you always want to follow

Before a big unfollow session

  1. Export your following list first: scripts/scrapeFollowing.js
  2. Run src/unfollowWDFBLog.js (saves log of who was unfollowed)
  3. Review the downloaded log for any mistakes
  4. Use src/followRatioManager.js to verify improvements

Troubleshooting

ProblemSolution
"No unfollow buttons found"Make sure you're on the Following page, not Followers
Script stops after ~20 unfollowsX rate limit triggered — wait 1 hour and re-run
Confirmation dialog doesn't appearDOM may have changed — check confirmationSheetConfirm selector
Script unfollows mutualsUse unfollowback.js instead of unfollowEveryone.js
"Action restricted" warningAccount is temporarily limited — wait 12-24 hours
Script misses accountsRe-run the script — some load below the scroll area

Related Skills

  • follower-monitoring — Track follower growth and detect unfollowers
  • blocking-muting-management — Block/unblock for removing followers
  • growth-automation — Grow followers to improve ratio organically
  • analytics-insights — Understand engagement before unfollowing

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

analytics-insights

No summary provided by upstream source.

Repository SourceNeeds Review
General

direct-messages

No summary provided by upstream source.

Repository SourceNeeds Review
General

engagement-interaction

No summary provided by upstream source.

Repository SourceNeeds Review