agentleFS
nirholasnirholas/XActions/skills/lists-management/SKILL.md

lists-management

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

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.

The file

Files
SKILL.md

Lists Management

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

Script Selection

GoalFileNavigate to
Create a new listsrc/listManager.jsx.com/USERNAME/lists
Add users to a listsrc/listManager.jsList page
Export list memberssrc/listManager.jsList 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

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

ElementSelector
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

ProblemSolution
Create button not foundNavigate to x.com/USERNAME/lists first
User not found when addingVerify username spelling; user may have changed handle
Export stops earlyPage may have finished scrolling; increase maxMembers if needed
Search input not foundEnsure you clicked "Add member" — script expects the search overlay

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.