spaces-listener
Record, transcribe, and summarize X/Twitter Spaces — live or replays. Auto-downloads audio via yt-dlp, transcribes with Whisper, and generates AI summaries.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- spaces-listener
- tags
- [ "twitter", "x", "spaces", "transcription", "summarization", "audio", "recording" ]
- when
- User asks to record, transcribe, or listen to an X/Twitter Space
- author
- jamesalmeida
- version
- 1.6.0
- examples
- [ "Record this Space", "Transcribe this X Space", "Listen to this Twitter Space and transcribe it", "Download this Space audio" ]
- metadata
- { "openclaw": { "emoji": "?", "requires": { "bins": [ "yt-dlp", "ffmpeg" ] } } }
- description
- Record, transcribe, and summarize X/Twitter Spaces — live or replays. Auto-downloads audio via yt-dlp, transcribes with Whisper, and generates AI summaries.
02 资源文件 2
- 参考文档_meta.json818 B
- 参考文档README.md5.6 KB
03 SKILL.md 正文
spaces-listener
Record, transcribe, and summarize X/Twitter Spaces — live or replays. Supports multiple concurrent recordings.
Commands
# Start recording (runs in background)
spaces listen <url>
# Record multiple Spaces at once
spaces listen "https://x.com/i/spaces/1ABC..."
spaces listen "https://x.com/i/spaces/2DEF..."
# List all active recordings
spaces list
# Check specific recording status
spaces status 1
# Stop a recording
spaces stop 1
spaces stop all
# Clean stale pid/meta files
spaces clean
# Transcribe when done
spaces transcribe ~/Desktop/space.m4a --model medium
# Summarize an existing transcript
spaces summarize ~/Desktop/space_transcript.txt
# Skip summarization
spaces transcribe ~/Desktop/space.m4a --no-summarize
Requirements
brew install yt-dlp ffmpeg openai-whisper
For summaries, set OPENAI_API_KEY (transcription still works without it).
How It Works
- Each
spaces listenstarts a new background recording with a unique ID - Recordings persist even if you close terminal
- Run
spaces listto see all active recordings - When done,
spaces stop <id>orspaces stop all - Transcribe with
spaces transcribe <file> - Summaries are generated automatically after transcription (skip with
--no-summarize)
Output
Each space gets its own folder under ~/Dropbox/ClawdBox/XSpaces/:
~/Dropbox/ClawdBox/XSpaces/
space_username_2026-02-03_1430/
recording.m4a — audio
recording.log — progress log
transcript.txt — transcript
summary.txt — summary
Critical: Agent Usage Rules
NEVER set a timeout on Space downloads. Spaces can be hours long. yt-dlp stops automatically when the Space ends — don't kill it early.
The correct workflow:
- Run
spaces listen <url>— it starts a background process and returns immediately - Set a cron job (every 5–10 min) to check
spaces list - When recording shows "No active recordings", it's done
- Transcribe the audio file, summarize, notify the user
- Delete the cron job
Do NOT:
- Use
execwith a timeout for downloads - Run competing download processes for the same Space
- Kill the download process manually (unless the user asks)
Audio is staged in /tmp/spaces-listener-staging/ during recording, then
automatically copied to the final Dropbox output dir when complete. This
avoids Dropbox file-locking issues during long downloads.
Whisper Models
| Model | Speed | Accuracy |
|---|---|---|
| tiny | ⚡⚡⚡⚡ | ⭐ |
| base | ⚡⚡⚡ | ⭐⭐ |
| small | ⚡⚡ | ⭐⭐⭐ |
| medium | ⚡ | ⭐⭐⭐⭐ |
| large | ? | ⭐⭐⭐⭐⭐ |
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.