agentleFS
nirholasnirholas/XActions/skills/video-downloading/SKILL.md

video-downloading

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

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.

The file

Files
SKILL.md

Video Downloading

Download videos and GIFs from X/Twitter posts — no API key needed.

Script Selection

GoalFileNavigate to
Download video from current tweetsrc/videoDownloaderBrowser.jsTweet page (x.com/user/status/ID)
Batch download multiple videossrc/videoDownloaderBrowser.jsAny page
Download video info only (no save)src/videoDownloaderBrowser.jsTweet page
Download via script (non-browser)scripts/videoDownloader.jsN/A (run in console)
Download via APIapi/routes/video.jsPOST /api/video/download

Quick Start

  1. Navigate to a tweet with a video: x.com/user/status/123456
  2. Open DevTools (F12) → Console
  3. 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

SettingBehavior
'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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.