计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: spaces-listener description: Record, transcribe, and summarize X/Twitter Spaces — live or replays. Auto-downloads audio via yt-dlp, transcribes with Whisper, and generates AI summaries. version: 1.6.0 author: jamesalmeida tags: [twitter, x, spaces, transcription, summarization, audio, recording] when: "User asks to record, transcribe, or listen to an X/Twitter Space" examples:
Record, transcribe, and summarize X/Twitter Spaces — live or replays. Supports multiple concurrent recordings.
# 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
brew install yt-dlp ffmpeg openai-whisper
For summaries, set OPENAI_API_KEY (transcription still works without it).
spaces listen starts a new background recording with a unique IDspaces list to see all active recordingsspaces stop <id> or spaces stop allspaces transcribe <file>--no-summarize)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
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:
spaces listen <url> — it starts a background process and returns immediatelyspaces listDo NOT:
exec with a timeout for downloadsAudio 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.
| Model | Speed | Accuracy |
|---|---|---|
| tiny | ⚡⚡⚡⚡ | ⭐ |
| base | ⚡⚡⚡ | ⭐⭐ |
| small | ⚡⚡ | ⭐⭐⭐ |
| medium | ⚡ | ⭐⭐⭐⭐ |
| large | 🐢 | ⭐⭐⭐⭐⭐ |