agentleFS
nirholasnirholas/XActions/skills/spaces-live/SKILL.md

spaces-live

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

Interacts with X/Twitter Spaces (live audio) including joining rooms, scraping metadata, discovering live or scheduled Spaces, and managing Space participation. Use when finding Spaces, scraping Space data, or interacting with live audio features on X.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Search for Spaces: x.com/search?q=your-topic&f=live or any timeline

    line 39
  2. Very specific:

    Use src/scrapeSpaces.js to find active Spaces in your niche

    line 76
  3. Distinctive:

    Follow hosts and frequent speakers afterward

    line 79
  4. Very specific:

    Search x.com/search?q=your-topic&f=live for live Spaces

    line 83
  5. Distinctive:

    Follow accounts that regularly host Spaces in your niche

    line 84
  6. Very specific:

    Check /i/spaces for recommended Spaces in your interests

    line 86
  7. Very specific:

    Use src/scrapeSpaces.js to record participant metadata

    line 91
  8. Very specific:

    After the Space, engage with attendees using src/engagementBooster.js

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spaces & Live Audio

Browser console scripts for interacting with X/Twitter Spaces.

Script Selection

ScriptFilePurpose
Spaces Managersrc/spacesManager.jsJoin, manage, and interact with Spaces
Scrape Spacessrc/scrapeSpaces.jsFind and collect Space metadata from search

Spaces Manager

File: src/spacesManager.js

Manages interactions with X Spaces: join, leave, request to speak, and get live Space data.

How to Use

  1. Navigate to a Space or x.com/i/spaces
  2. Open DevTools (F12) -> Console
  3. Paste the script -> Enter

Scrape Spaces

File: src/scrapeSpaces.js

Finds X Spaces from search results or timelines. Identifies live, scheduled, and ended Spaces with metadata.

How to Use

  1. Search for Spaces: x.com/search?q=your-topic&f=live or any timeline
  2. Open DevTools (F12) -> Console
  3. Paste the script -> Enter

Configuration

const CONFIG = {
  maxSpaces: 50,
  scrollDelay: 2000,
  maxScrollAttempts: 20,
  exportResults: true,
};

Output

  • Live, scheduled, and ended Space counts
  • Host and title for each Space
  • Direct links to join
  • JSON export of all collected metadata

DOM Selectors

ElementSelector
Start Space[data-testid="SpaceButton"]
Join Space[data-testid="joinSpace"]
Speaker list[data-testid="spaceSpeakers"]
Listener count[data-testid="spaceListeners"]
Recording[data-testid="spaceRecording"]
Schedule[data-testid="scheduleSpace"]
Space title[data-testid="spaceTitle"]
Space topic[data-testid="spaceTopic"]

Strategy Guide

Using Spaces for growth

  1. Use src/scrapeSpaces.js to find active Spaces in your niche
  2. Join as a listener -- consistent presence builds recognition
  3. Request to speak when topic aligns with your expertise
  4. Follow hosts and frequent speakers afterward
  5. Post about key takeaways after each Space (content repurposing)

Discovering niche Spaces

  1. Search x.com/search?q=your-topic&f=live for live Spaces
  2. Follow accounts that regularly host Spaces in your niche
  3. Set up src/keywordMonitor.js with Space-related keywords
  4. Check /i/spaces for recommended Spaces in your interests

Hosting workflow

  1. Schedule a Space from the compose button
  2. Promote it with a tweet thread 24h before
  3. Use src/scrapeSpaces.js to record participant metadata
  4. After the Space, engage with attendees using src/engagementBooster.js

Notes

  • Scraping captures metadata only (not audio content)
  • Spaces can be live, scheduled, or ended -- all three states are detected
  • Recording availability depends on host settings
  • Space links: x.com/i/spaces/{spaceId}
  • Live Spaces filter: append &f=live to search URL
  • Hosting requires 600+ followers (X restriction)

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.