Agent skill

spaces-live

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.

Stars 197
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/nirholas/XActions/tree/main/skills/spaces-live

Metadata

Additional technical details for this skill

author
nichxbt
version
4.0

SKILL.md

Spaces & Live Audio

Browser console scripts for interacting with X/Twitter Spaces.

Script Selection

Script File Purpose
Spaces Manager src/spacesManager.js Join, manage, and interact with Spaces
Scrape Spaces src/scrapeSpaces.js Find 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

javascript
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

Element Selector
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)

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