Agent skill

notifications-management

Manages X/Twitter notifications including filtering by type, bulk management, notification scraping, and automated notification handling. Use when users want to manage, filter, scrape, or process X notifications in bulk.

Stars 197
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/nirholas/XActions/tree/main/skills/notifications-management

Metadata

Additional technical details for this skill

author
nichxbt
version
4.0

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

  1. Navigate to x.com/notifications
  2. Open DevTools (F12) -> Console
  3. Paste the script -> Enter

Configuration

javascript
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

  1. Run src/notificationManager.js to filter for mentions
  2. Identify high-value mentions (verified users, large accounts)
  3. Prioritize replies to mentions from users with 1000+ followers
  4. Use src/engagementLeaderboard.js to cross-reference top engagers

Automated new follower pipeline

  1. Run src/welcomeNewFollowers.js to detect new followers
  2. Review generated welcome message templates
  3. 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

Expand your agent's capabilities with these related and highly-rated skills.

nirholas/XActions

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.

197 39
Explore
nirholas/XActions

x-pro-management

Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.

197 39
Explore
nirholas/XActions

business-ads

Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.

197 39
Explore
nirholas/XActions

engagement-interaction

Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.

197 39
Explore
nirholas/XActions

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.

197 39
Explore
nirholas/XActions

follower-monitoring

Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.

197 39
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results