notifications-management
SKILL.md
Notifications Management
Browser console script for managing and filtering X/Twitter notifications.
Script Selection
| Goal | File | Navigate to |
|---|---|---|
| Filter and manage notifications | src/notificationManager.js |
x.com/notifications |
| Scrape notification data | scripts/scrapeNotifications.js |
x.com/notifications |
| Welcome new followers | src/welcomeNewFollowers.js |
x.com/USERNAME/followers |
Notification Manager
File: src/notificationManager.js
Manages X notifications: filter by type (mentions, likes, reposts, follows, replies), mark as read, and track notification activity.
How to Use
- Navigate to
x.com/notifications - Open DevTools (F12) -> Console
- Paste the script -> Enter
Configuration
const CONFIG = {
filterTypes: ['mentions', 'likes', 'reposts', 'follows'],
markAsRead: true,
scrollToLoadMore: true,
maxNotifications: 200,
actionDelay: 1000,
};
Features
- Filter notifications by type
- Count notifications by category
- Scrape notification content with author and timestamp
- Export notification data as JSON
- Identify most-engaged users from notifications
Notification Scraper
File: scripts/scrapeNotifications.js
Standalone scraper that exports all visible notifications as structured JSON with author, type, content, and timestamp.
DOM Selectors
| Element | Selector |
|---|---|
| Notification cells | [data-testid="notification"] |
| Toggle switch | [data-testid="settingsSwitch"] |
| Notifications tab | a[href="/notifications"] |
| Mentions tab | a[href="/notifications/mentions"] |
| Notification text | [data-testid="notification"] [dir="auto"] |
Strategy Guide
Identifying engagement opportunities
- Run
src/notificationManager.jsto filter for mentions - Identify high-value mentions (verified users, large accounts)
- Prioritize replies to mentions from users with 1000+ followers
- Use
src/engagementLeaderboard.jsto cross-reference top engagers
Automated new follower pipeline
- Run
src/welcomeNewFollowers.jsto detect new followers - Review generated welcome message templates
- Customize messages per follower based on their bio/niche
Notes
- Notifications page loads in batches — script scrolls to collect more
- Rate limit: process with 1-2s delays between actions
- Navigate to the Notifications tab before running
- Mentions tab shows only @mentions for easier filtering
Weekly Installs
1
Repository
nirholas/xactionsGitHub Stars
108
First Seen
Feb 28, 2026
Security Audits
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1