twitter-downloader
Skill27 starsChanged 8 months agoMITView on GitHub
Download videos from X (Twitter) posts using twmd — a fast, API-less downloader
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- lsongdev/skillstheir own version, first seen Sep 10, 2026
- OpenMinis/MinisSkillstheir own version, first seen Sep 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- OpenMinis/MinisSkills★ 602same name
- lsongdev/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- backlog-managerSkill
- disk-cleanerSkill
- doc-mindmapSkill
- file-masterSkill
- file-organizerSkill
- flow-mediaSkill
- generate-transcriptSkill
- jordan-peterson-perspectiveSkill
- loop-or-notSkill
- pdf-to-imagesSkill
- podcast-downloaderSkill
- ppt-classifySkill
- ppt-narrative-reviewSkill
- ppt-research-setupSkill
- srt-title-generatorSkill
- token-receiptSkill
- ttsSkill
- visual-deckSkill
- visual-slidesSkill
- youtube-downloaderSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when users:
- Very specific: line 63
No additional setup needed.
- Distinctive: line 88
When user provides an X/Twitter post URL and wants to download its video:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
X / Twitter Video Downloader (twmd)
Download videos from individual X (Twitter) posts using twmd, an API-less Go-based downloader.
When to Use
Use this skill when users:
- Provide an X/Twitter post URL and want to download its video
- Mention "下载推文视频", "download Twitter video", "save X video", "下载 X 视频"
- Share a link like
https://x.com/username/status/123456orhttps://twitter.com/username/status/123456
Usage
Basic Syntax
python scripts/download_tweet.py "TWEET_URL" [OPTIONS]Common Scenarios
Download video from a tweet:
python scripts/download_tweet.py "https://x.com/username/status/1234567890"Specify output directory:
python scripts/download_tweet.py "https://x.com/username/status/1234567890" -o ~/Downloads/twitterDownload in specific quality:
python scripts/download_tweet.py "https://x.com/username/status/1234567890" -q 720Print video URL without downloading:
python scripts/download_tweet.py "https://x.com/username/status/1234567890" --url-onlyArguments
| Argument | Description | Default |
url | X/Twitter post URL (required) | - |
-o, --output | Output directory | Current directory |
-q, --quality | Video quality: best, 1080, 720, 480 | best |
--url-only | Print video direct URL without downloading | False |
--cookies | Path to cookies file (for private/restricted content) | None |
Dependencies
pip install yt-dlpNo additional setup needed. yt-dlp handles public X/Twitter posts without cookies or API keys.
Output Structure
OutputDir/
└── <tweet_id>.mp4 # Downloaded video filetwmd names files by tweet ID. The script reports the file path after download.
Authentication (Optional)
For private accounts or login-gated content, export cookies from your browser:
- Install a browser extension like "Get cookies.txt LOCALLY"
- Log in to X, then export cookies for
x.comas a Netscape-format.txtfile - Pass the file with
--cookies:
python scripts/download_tweet.py "URL" --cookies ~/x-cookies.txtClaude Integration
When user provides an X/Twitter post URL and wants to download its video:
- Check if yt-dlp is installed:
yt-dlp --version - Install if missing:
pip install yt-dlp - Execute download:
python twitter-downloader/scripts/download_tweet.py "TWEET_URL" -o ./output - Report the downloaded file to the user with its path and size.
Common Issues
Q: Download fails with "Unable to extract" error?
A: Update yt-dlp first: pip install -U yt-dlp — X/Twitter frequently changes its API.
Q: The tweet has no video?
A: Try --url-only to check what media yt-dlp can find. Image-only tweets will not yield a video URL.
Q: Need to download from a private account?
A: Export browser cookies (see Authentication section above) and pass with --cookies.
Q: Why not just use youtube-downloader for Twitter URLs? A: You can — yt-dlp handles Twitter URLs too. This skill provides a Twitter-focused interface with cleaner prompts and no unneeded options (playlists, subtitles, etc.).
References
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
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.

