Agent skill
video-downloading
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.
Install this agent skill to your Project
npx add-skill https://github.com/nirholas/XActions/tree/main/skills/video-downloading
Metadata
Additional technical details for this skill
- author
- nichxbt
- version
- 1.0
SKILL.md
Video Downloading
Download videos and GIFs from X/Twitter posts — no API key needed.
Script Selection
| Goal | File | Navigate to |
|---|---|---|
| Download video from current tweet | src/videoDownloaderBrowser.js |
Tweet page (x.com/user/status/ID) |
| Batch download multiple videos | src/videoDownloaderBrowser.js |
Any page |
| Download video info only (no save) | src/videoDownloaderBrowser.js |
Tweet page |
| Download via script (non-browser) | scripts/videoDownloader.js |
N/A (run in console) |
| Download via API | api/routes/video.js |
POST /api/video/download |
Quick Start
- Navigate to a tweet with a video:
x.com/user/status/123456 - Open DevTools (F12) → Console
- Paste
src/videoDownloaderBrowser.js→ Enter
Available Functions
After pasting src/videoDownloaderBrowser.js:
downloadCurrent() // Download video from current tweet page
downloadFromUrl('https://x.com/..') // Navigate to tweet URL and download
downloadGif() // Download GIF (GIFs are MP4 on X)
batchDownload(['url1', 'url2', ..]) // Download videos from multiple tweet URLs
getVideoInfo() // Show video metadata without downloading
Configuration
const CONFIG = {
QUALITY: 'highest', // 'highest', 'lowest', 'all'
AUTO_DOWNLOAD: true, // Auto-trigger browser download
SHOW_ALL_QUALITIES: true // Show all available quality options
};
Quality Options
| Setting | Behavior |
|---|---|
'highest' |
Downloads best resolution (default) |
'lowest' |
Downloads smallest file size |
'all' |
Shows all available bitrates to choose from |
Notes
- Videos on X are served as MP4; GIFs are also stored as MP4
- Quality options depend on what X uploaded — not all tweets have multiple qualities
- Batch download respects delays between requests to avoid rate limits
getVideoInfo()shows tweet ID, author, and all available video URLs before committing to a download
Related Skills
- content-posting — Upload and post your own videos
- media-studio — Manage your uploaded media library
- twitter-scraping — Scrape tweet metadata alongside video URLs
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
articles-longform
Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.
x-pro-management
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.
business-ads
Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.
engagement-interaction
Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.
unfollow-management
Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.
follower-monitoring
Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.
Didn't find tool you were looking for?