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.
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
- Navigate to a Space or
x.com/i/spaces - Open DevTools (F12) -> Console
- 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
- Search for Spaces:
x.com/search?q=your-topic&f=liveor any timeline - Open DevTools (F12) -> Console
- 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
| 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
- Use
src/scrapeSpaces.jsto find active Spaces in your niche - Join as a listener -- consistent presence builds recognition
- Request to speak when topic aligns with your expertise
- Follow hosts and frequent speakers afterward
- Post about key takeaways after each Space (content repurposing)
Discovering niche Spaces
- Search
x.com/search?q=your-topic&f=livefor live Spaces - Follow accounts that regularly host Spaces in your niche
- Set up
src/keywordMonitor.jswith Space-related keywords - Check
/i/spacesfor recommended Spaces in your interests
Hosting workflow
- Schedule a Space from the compose button
- Promote it with a tweet thread 24h before
- Use
src/scrapeSpaces.jsto record participant metadata - 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=liveto search URL - Hosting requires 600+ followers (X restriction)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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.
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.
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.
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.
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.
Didn't find tool you were looking for?