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.

139 stars

Best use case

spaces-live is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using spaces-live should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/spaces-live/SKILL.md --create-dirs "https://raw.githubusercontent.com/nirholas/XActions/main/skills/spaces-live/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/spaces-live/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How spaces-live Compares

Feature / Agentspaces-liveStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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)

Related Skills

xactions-mcp-server

139
from nirholas/XActions

Free MCP server providing 68+ tools for AI agents to automate X/Twitter. Scrapes profiles, followers, tweets. Posts, follows, likes, retweets, downloads videos, analyzes sentiment, monitors brands, manages DMs, runs workflows, and more. Uses local Puppeteer -- no API keys or payments required. Compatible with Claude Desktop, Cursor, Windsurf, VS Code. Use when setting up or using AI agent Twitter automation via MCP.

xactions-cli

139
from nirholas/XActions

Command-line interface for scraping X/Twitter data, managing MCP server config, and running automation. Scrapes profiles, followers, tweets, search results, and more from terminal. Outputs text, JSON, or CSV. Uses Puppeteer stealth. Use when running Twitter operations from command line or automated pipelines.

x402-payments

139
from nirholas/XActions

Enable and integrate x402 crypto payment protocol for XActions API access. Supports multi-chain, multi-token payments for pay-per-use API calls. Use when users want to pay for XActions operations with crypto or integrate x402 into their own agent/app.

x-pro-management

139
from nirholas/XActions

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.

webhooks

139
from nirholas/XActions

Create, manage, and test webhooks in XActions. Get notified via HTTP when automation jobs complete, followers change, or operations finish. Use when users want to integrate XActions events into external systems.

viral-thread-generation

139
from nirholas/XActions

Researches trending topics and competitor threads to generate high-engagement thread content with optimized hooks, value ladders, and calls to action. Use when creating threads or planning viral content.

video-downloading

139
from nirholas/XActions

Download videos and GIFs from X/Twitter posts in the browser or via API. Single video, batch download, and quality selection. Use when users want to save or download Twitter/X videos.

topic-management

139
from nirholas/XActions

Browse, follow, and unfollow X Topics. Manage your followed topics list and discover new ones by keyword. Use when users want to follow or unfollow topics on X, or manage their topic feed.

timeline-viewing

139
from nirholas/XActions

Switch between For You / Following timelines, auto-scroll and collect posts, scrape timeline data, and export as JSON. Use when users want to browse, collect, or export tweets from their X timeline.

teams-management

139
from nirholas/XActions

Create and manage teams in XActions — invite members, assign roles, and collaborate on automation tasks. Use when users want to set up multi-user access or team-based account management.

settings-privacy

139
from nirholas/XActions

Manages X/Twitter account settings and privacy controls including protected tweets, muted words, content filtering, notification preferences, and account configuration. Use when changing privacy settings, managing muted words, or configuring account preferences.

saved-searches

139
from nirholas/XActions

Create, manage, and run saved searches on X/Twitter. Save search queries, list saved searches, delete them, and run them to see fresh results. Use when users want to save or manage search queries on X.