Download X Video

Download video from X/Twitter posts using yt-dlp. Use when the user wants to "download this X video", "save this tweet video", "grab video from Twitter", or provides an x.com/twitter.com status URL with a video. Handles HLS streams and uses --print after_move:filepath for reliable path detection.

201 stars 12 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add swyxio/skills --skill download-x-video
Manual install
git clone --depth 1 https://github.com/swyxio/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/download-x-video ~/.claude/skills/download-x-video

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Download X/Twitter Video

Download video from X/Twitter posts via yt-dlp.

## Prerequisites

- `yt-dlp`: `brew install yt-dlp`

## Usage

```bash
python3 scripts/download_x_video.py "https://x.com/user/status/123/video/1" [/output/dir]
```

Prints the downloaded file path to stdout.

## How It Works

- Uses yt-dlp with `--print after_move:filepath` for reliable path detection
- Handles Twitter's HLS streaming format (fragmented MP4)
- Output template: `x_video_<tweet_id>.<ext>` in the specified directory

## Troubleshooting

### yt-dlp auth errors

If Twitter requires login, yt-dlp may need cookies:

```bash
yt-dlp --cookies-from-browser chrome "https://x.com/..."
```
Read the full skill on GitHub

Details

Skill name
download-x-video
Repository
swyxio/skills
Path
download-x-video/SKILL.md
License
MIT
Repo updated
16 November 2026

FAQ

What does the Download X Video skill do?

Download video from X/Twitter posts using yt-dlp. Use when the user wants to "download this X video", "save this tweet video", "grab video from Twitter", or provides an x.com/twitter.com status URL with a video. Handles HLS streams and uses --print after_move:filepath for reliable path detection.

How do I install the Download X Video skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add swyxio/skills --skill download-x-video. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Download X Video popular?

It lives in swyxio/skills, which has 201 GitHub stars and 12 forks.

Related skills

Accelevents API

201

swyxio/skills

Use when reading or updating AI Engineer Europe speaker records through the Accelevents REST API, especially for full-record PUT updates, auth header quirks, and preserving existing speaker fields.

Software Development12

Accelevents Speaker Sync

201

swyxio/skills

Use when website speaker, session, schedule, room, track, or headshot changes must be synchronized back to Accelevents for AI Engineer Europe 2026.

AI, LLMs & Agents12

Agents SDK

201

swyxio/skills

Build or debug stateful applications that specifically use Cloudflare's `agents` package, including Agent classes, routing, callable methods, synchronized state, scheduling, AIChatAgent, durable execution, or Agents SDK client hooks. Do not trigger for generic AI-agent design, the OpenAI Agents SDK, or ordinary Durable Object work that does not use the Cloudflare Agents SDK.

AI, LLMs & Agents12

Face Matching

201

swyxio/skills

Diagnose, improve, or operate person-centered face matching across photo libraries, video, social profiles, directories, events, and other media when reference discovery, identity verification, detection failures, unknown people, or safe face-to-person assignment are involved. Use for face recognition and face-reference sourcing; not for generic image editing, image generation, or galleries without an identity-matching problem.

Images, Video & Audio12

Download Video

201

swyxio/skills

Downloads embedded videos from web pages. Fetches the page, identifies the video hosting service (Vimeo, YouTube, etc.), resolves the correct embed/player URL, and downloads using yt-dlp. Handles private/unlisted videos that require referer headers or embed URLs. Use this skill when someone says "download this video", "save this video", "grab the video from this page", "rip this video", or provides a URL and asks to download media from it. Also trigger when someone pastes a URL to a page with an embedded video and wants the video file locally.

Images, Video & Audio12

Image Batch

150

guia-matthieu/clawfu-skills

Batch process images for marketing. Use when: resizing images for social media; compressing images for web; removing backgrounds; adding watermarks; converting formats to WebP; optimizing for Core Web Vitals

Images, Video & AudioIn 1 list32

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.