Trello Media Download Skill
Download Trello-hosted images referenced in Markdown files so they are available locally in the vault.
When to Use
- After running the
trello-importskill - When Markdown files reference remote Trello image URLs that should be stored locally
Bundled Script
The downloader script is bundled at scripts/download_media_from_trello.py. Run from the repository root.
Dry run (preview what would be downloaded):
python3 .claude/skills/trello-media-download/scripts/download_media_from_trello.py --root 'TRELLO_IMPORT/Bangkok (She Simmers)' --dry-run
Download and rewrite links:
python3 .claude/skills/trello-media-download/scripts/download_media_from_trello.py --root 'TRELLO_IMPORT/Bangkok (She Simmers)'
Options
| Flag | Description |
|---|---|
--root PATH |
Directory to scan (required, no default) |
--pattern GLOB |
File pattern under root (default: **/index.md) |
--dry-run |
List planned downloads without writing files |
--overwrite |
Re-download files that already exist locally |
--timeout SEC |
HTTP timeout in seconds (default: 30) |
Behavior
- Scan Markdown files for
links pointing totrello.comortrello-attachments.s3.amazonaws.com - Download each image into the same folder as its Markdown file
- Rewrite remote URLs to local relative paths (
./filename.jpg) - Skip already-downloaded files unless
--overwriteis used
Recommended Workflow
- Run with
--dry-runto review planned downloads. - Run without
--dry-runto download and rewrite for that same--root. - Spot-check a few card folders to verify images are present and links are rewritten.