download-x-video
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "download-x-video" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-58b39934cbce4794ddac6f6cb2050d2669e415bb5a01c6b3072bb55070a8c523. Verify the upstream source and version against https://github.com/swyxio/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Download videos from X/Twitter posts using yt-dlp. Invoke when a user asks to “download this X video,” “save this tweet video,” or provides an x.com/twitter.com status link containing a video. Supports HLS streams and uses --print after_move:filepath for reliable path detection.
Introduction source: third_party · swyxio · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Software, accounts and paid services
- `yt-dlp`: `brew install yt-dlp`
- Testing
- Not tested
Browse files
Frontmatter
name: download-x-video
description: 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.Download X/Twitter Video
Download video from X/Twitter posts via yt-dlp.
Prerequisites
yt-dlp:brew install yt-dlp
Usage
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:filepathfor 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:
yt-dlp --cookies-from-browser chrome "https://x.com/..."Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供从 X/Twitter 下载视频的实用功能,满足用户保存社交媒体内容的明确需求
- 支持 HLS 流和可靠路径检测,具备实际可用性
Highlights
- 触发词覆盖多种用户表达变体,边界清晰,有效降低误触/漏触风险
Highlights
- 文档结构清晰,包含用法示例、工作原理和故障排除章节
- frontmatter 完整,便于 Skill 平台解析
Areas to improve
-
未覆盖网络异常、磁盘空间不足等常见异常处理 Reported severity: Minor
脚本未显式处理网络连接失败、磁盘空间不足等常见运行时异常
Recommendation: 建议在脚本中添加对网络异常、磁盘空间、文件写入权限等常见异常的处理逻辑,提升执行健壮性
Highlights
- 依赖工具 yt-dlp 来源明确,社区维护活跃
- 提供了 Twitter 登录认证的解决方案(cookies)
- 使用 --print after_move:filepath 实现可靠的下载路径检测
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 12
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- x.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
`yt-dlp`: `brew install yt-dlp`
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.