π¦ ClawHub
Social Video Downloader
by @elony-7
Download videos from Instagram Reels, TikTok, YouTube Shorts, Twitter/X clips, and other social media platforms. Use when the user clearly wants to download/...
TERMINAL
clawhub install social-video-downloaderπ About This Skill
name: social-video-downloader description: Download videos from Instagram Reels, TikTok, YouTube Shorts, Twitter/X clips, and other social media platforms. Use when the user clearly wants to download/save/grab a video from a social media link. Triggers on URLs containing instagram.com/reel, instagram.com/p/, tiktok.com, youtube.com/shorts, x.com/*/status, twitter.com/*/status. Do NOT trigger if the user is just sharing a link for context or asking about the content β only activate when download intent is clear (e.g. "download this", "save this", "grab this video", "send me this").
Social Video Downloader
Download social media videos via yt-dlp and send them to the user.
Requirements
yt-dlp must be installedffmpeg recommended for best format supportSetup
See SETUP.md for installation and configuration.
Workflow
1. Verify download intent is clear from the user's message 2. Run the download script:
python3 scripts/download.py "" /tmp
3. On SUCCESS:, send file to user via the message tool
4. On ERROR:..., report failure to user
5. After sending, delete the temp file with rm Sending the File
Use the message tool with action=send, media=, and buttons=[].
If file exceeds Telegram's 50MB limit, inform the user and provide the file path instead.
Supported Platforms
Instagram (Reels, Posts), TikTok, YouTube Shorts, Twitter/X, Reddit, Facebook, Vimeo, Dailymotion, Twitch, Bilibili, and more.
Security
The script includes these protections:
-- separator prevents option injectionSafety Guards
--no-playlist prevents accidentally downloading hundreds of files--retries 2 stops after failures to avoid bans--socket-timeout 30 bails on stalled connectionssocial_dl_.mp4 prevents filename collisionsβοΈ Configuration
See SETUP.md for installation and configuration.