Installable skillMIT

X Video Transcribe

Transcribe and summarize X/Twitter videos using bird CLI + Gemini audio transcription.

BY kbarbel640-delUPDATED Oct 28, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
name: x-video-transcribe-a0dc8a8fb028
description: Transcribe and summarize X/Twitter videos using bird CLI + Gemini audio transcription.
---

# X Video Transcribe

Transcribe X/Twitter video posts to text. Downloads the video, extracts audio, and uses Gemini for accurate transcription.

## When to use

- User shares an X/Twitter URL containing a video
- User asks to "transcribe this tweet" or "what does this video say"
- User wants a summary of an X video

## Usage

```bash
# Basic transcript
~/agent-workspace/skills/x-video-transcribe/scripts/transcribe.sh "https://x.com/user/status/123"

# With summary
~/agent-workspace/skills/x-video-transcribe/scripts/transcribe.sh "https://x.com/user/status/123" --summary

# Save to file
~/agent-workspace/skills/x-video-transcribe/scripts/transcribe.sh "https://x.com/user/status/123" --summary --output /tmp/transcript.md
```

## Pipeline

1. **bird CLI** — Fetches tweet JSON, extracts video URL
2. **curl** — Downloads the video MP4
3. **ffmpeg** — Extracts audio as MP3 (much smaller than video)
4. **Gemini API** — Uploads audio, transcribes with gemini-2.0-flash

## Requirements

- `bird` CLI with auth (cookies in `~/agent-workspace/secrets/bird.env`)
- `ffmpeg`
- `GEMINI_API_KEY` environment variable

## Environment

| Variable | Default | Description |
|----------|---------|-------------|
| `GEMINI_API_KEY` | (required) | Google Gemini API key |
| `BIRD_ENV` | `~/agent-workspace/secrets/bird.env` | Path to bird credentials |
| `GEMINI_MODEL` | `gemini-2.0-flash` | Gemini model for transcription |
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Includes source scripts; review them before use. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.