Download images and videos from X/Twitter using gallery-dl. Use when user wants to download media from Twitter/X URLs including tweets, user profiles, timelines, or likes. Supports single tweets, entire user media galleries, bookmarks, and lists. Handles authentication via cookies for accessing protected content.
Downloads images and videos from X/Twitter URLs using gallery-dl. Triggers when users request to download media from tweets, user profiles, timelines, likes, bookmarks, or lists.
/plugin marketplace add bossjones/boss-skills/plugin install bossjones-twitter-tools-plugins-social-media-twitter-tools@bossjones/boss-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
LICENSE.txtscripts/download.pyscripts/tests/__init__.pyscripts/tests/conftest.pyscripts/tests/test_download.pyDownload images and videos from X/Twitter using gallery-dl.
Run the download script with a Twitter/X URL:
uv run python scripts/download.py "https://x.com/username" --output ./downloads
https://x.com/user/status/1234567890https://x.com/usernamehttps://x.com/username/mediahttps://x.com/username/likes (requires auth)https://x.com/i/bookmarks (requires auth)https://x.com/i/lists/1234567890For protected content (likes, bookmarks, private accounts), provide cookies:
uv run python scripts/download.py "URL" --cookies /path/to/cookies.txt
Or use browser cookies directly (recommended):
uv run python scripts/download.py "URL" --browser firefox
Note: Using
--browser firefoxis recommended as it automatically extracts cookies from your browser session.
| Option | Description |
|---|---|
--output DIR | Output directory (default: ./downloads) |
--cookies FILE | Path to cookies.txt file |
--browser NAME | Extract cookies from browser (firefox, chrome, etc.) |
--videos-only | Download only videos |
--images-only | Download only images |
--limit N | Limit number of items to download |
--retweets | Include retweets when downloading user timeline |
--replies | Include replies when downloading user timeline |
--json | Output structured JSON with downloaded file paths |
Download all media from a user:
uv run python scripts/download.py "https://x.com/NASA" --output ./nasa_media
Download a single tweet's media:
uv run python scripts/download.py "https://x.com/user/status/1234567890"
Download only videos from a user (limit 50):
uv run python scripts/download.py "https://x.com/username" --videos-only --limit 50
Download bookmarks with Firefox cookies:
uv run python scripts/download.py "https://x.com/i/bookmarks" --browser firefox
For programmatic use (e.g., integration with other skills), use --json to get structured output:
uv run python scripts/download.py "https://x.com/user/status/123" --json --videos-only
Output format:
{
"files": ["/path/to/downloads/twitter_user_123_1.mp4"],
"tweet_id": "123",
"output_dir": "/path/to/downloads",
"url": "https://x.com/user/status/123",
"success": true,
"error": null
}
This is used by the twitter-to-reel skill to automatically download videos before creating reels.
Files are saved with the following naming pattern:
{output_dir}/twitter_{username}_{tweet_id}_{num}.{ext}
--sleep 2--cookies or --browser for authenticationCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.