gallery-dl for Openclaw

A powerful command-line utility for downloading image galleries and collections from over 100 different websites.

kexu9
v1.1.1
Mar 4, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gallery-dl

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gallery-dl using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is gallery-dl?

gallery-dl is an advanced command-line tool designed to streamline the process of downloading image collections and galleries from a vast array of supported hosting services. It is particularly effective for users who need to archive artist portfolios, download entire social media media feeds, or batch-process images from sites like Reddit, Twitter, and Pixiv. By utilizing this within your Openclaw Skills collection, you gain a robust framework for automated media retrieval.

The tool handles the complexities of site-specific extractors, allowing you to focus on the content rather than the underlying web structure. Whether you are a researcher, developer, or digital archivist, gallery-dl provides a unified interface to manage bulk downloads across diverse platforms with ease and precision.

gallery-dl Use Cases

  • Archiving entire subreddits or specific user threads to local storage.
  • Batch downloading media from Twitter/X user profiles or specific hashtags.
  • Downloading high-resolution artist portfolios from Pixiv, ArtStation, or DeviantArt.
  • Automating the collection of images from image boards like Danbooru and Gelbooru for dataset creation.
  • Scheduled backups of personal image galleries from platforms like Flickr or Instagram.

How gallery-dl Works

  1. Installation: The tool is installed via the Python package manager to ensure all dependencies are met.
  2. Authentication: If accessing private or age-restricted content, the user configures credentials via command-line flags, a .netrc file, or a dedicated JSON config.
  3. Extraction: The skill analyzes the provided URL to identify the correct site extractor and resource type.
  4. Execution: It fetches the media files based on user-defined parameters such as download limits or specific ranges.
  5. Organization: Files are saved into a structured directory hierarchy using customizable filename templates for easy identification.

gallery-dl Setup

Install the tool using pip:

pip install gallery-dl

Verify your installation:

gallery-dl --version

To handle sites requiring login, you can create a configuration file at ~/.config/gallery-dl/config.json with your credentials for optimal use with Openclaw Skills.

gallery-dl Data Schema & Taxonomy

The skill organizes files based on extractor metadata and user-defined templates. The output structure is highly flexible:

Attribute Description Example
Directory The root path for downloads -D ./my_gallery
Filename The naming convention for files {id}.{extension}
Date Tags Organizes files by timestamp {date:%Y}/{id}.{extension}
Site Tags Groups files by the source domain {domain}/{id}.{extension}

gallery-dl Advanced Features

  • Support for 100+ websites including TikTok, YouTube, Newgrounds, and Tumblr.
  • Custom filename templating using internal metadata (ID, date, author, domain).
  • Granular download controls using --range and --limit to manage storage and bandwidth.
  • Flexible authentication methods including .netrc support and JSON-based extractor configurations.
  • Powerful filtering capabilities to download specific tags or media types within a gallery.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*