Agent skill

lists-management

Creates, populates, and exports X/Twitter lists from the browser console. Supports creating public or private lists, bulk-adding members by username, and exporting list members as JSON. Use when users want to create lists, add members to lists, or export list data on X.

Stars 197
Forks 39

Install this agent skill to your Project

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

Metadata

Additional technical details for this skill

author
nichxbt
version
3.0

SKILL.md

Lists Management

Browser console script for creating and managing X/Twitter lists.

Script Selection

Goal File Navigate to
Create a new list src/listManager.js x.com/USERNAME/lists
Add users to a list src/listManager.js List page
Export list members src/listManager.js List members page

List Manager

File: src/listManager.js

Browser console script that creates lists, adds members by username, and exports member data.

How to Use

  1. Navigate to x.com/YOUR_USERNAME/lists (or an existing list page)
  2. Open DevTools (F12) → Console
  3. Edit the CONFIG section to enable desired operations
  4. Paste the script → Enter

Configuration

javascript
const CONFIG = {
  createList: {
    enabled: false,
    name: 'My List',
    description: 'Created by XActions',
    isPrivate: true,
  },
  addUsers: {
    enabled: true,
    usernames: ['user1', 'user2'],
  },
  exportMembers: {
    enabled: false,
    maxMembers: 200,
  },
  actionDelay: 2000,
};

Create List

Sets createList.enabled: true to create a new list. Fills in the name, description, and privacy toggle, then saves.

Add Members

Sets addUsers.enabled: true with a list of usernames. Opens the add-member search, types each username, clicks the matching user cell, and repeats. Navigate to the target list page first.

Export Members

Sets exportMembers.enabled: true. Scrolls through the list members page and exports all members (username, display name, bio) as a JSON download.

DOM Selectors

Element Selector
Create list button [data-testid="createList"]
List name input [data-testid="listNameInput"]
List description [data-testid="listDescriptionInput"]
Private toggle [data-testid="listPrivateToggle"]
Save button [data-testid="listSaveButton"]
Add members [data-testid="addMembers"]
Search people [data-testid="searchPeople"]
User cell [data-testid="UserCell"]

Rate Limiting

  • 2s delay between adding individual users
  • 1.5s scroll delay when exporting members
  • Up to 5 retries when no new members load during export scroll

X List Limits

  • Maximum 1,000 lists per account
  • Maximum 5,000 members per list
  • Lists can be public (visible to anyone) or private (only you)

Troubleshooting

Problem Solution
Create button not found Navigate to x.com/USERNAME/lists first
User not found when adding Verify username spelling; user may have changed handle
Export stops early Page may have finished scrolling; increase maxMembers if needed
Search input not found Ensure you clicked "Add member" — script expects the search overlay

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