Get the FREE Ultimate OpenClaw Setup Guide →

downloader

npx machina-cli add skill next-open-ai/openclawx/downloader --openclaw
Files (1)
SKILL.md
1021 B

Downloader Skill

Use this skill to download resources from the internet to the user's local file system.

Workflow

  1. Identify the URL(s) to download and the target destination directory. If no directory is specified, default to ~/Downloads/OpenClawX/ and inform the user.
  2. Ensure the destination directory exists using bash (mkdir -p <dir>).
  3. Use a tool like wget or curl via the bash tool:
    • Example: wget -P ~/Downloads/OpenClawX/ <URL>
    • For multiple files, write urls to a file and use wget -i <file>.
  4. If downloading media (like video), suggest to the user to use yt-dlp or similar tools if they are available on the system.
  5. Check if the download succeeded (e.g., using ls -l on the destination file).
  6. Provide the exact path of the downloaded file(s) to the user.

Source

git clone https://github.com/next-open-ai/openclawx/blob/main/presets/workspaces/download-assistant/skills/downloader/SKILL.mdView on GitHub

Overview

Downloader fetches files, images, or media from URLs using bash tools like curl or wget. It supports bulk downloads and saves results to a chosen directory, defaulting to ~/Downloads/OpenClawX/ if none is provided.

How This Skill Works

Identify the URLs and a target directory. Create the destination with mkdir -p and then download using wget or curl. For multiple files, use a list file with wget -i to fetch them in one go. After downloads, verify success with ls -l and return the exact paths.

When to Use It

  • Downloading a single file from a URL to a chosen folder
  • Bulk downloading many URLs listed in a file or script
  • Ensuring the destination directory exists automatically before saving
  • Downloading media and using yt-dlp if available to optimize formats
  • Verifying downloads by listing the destination directory

Quick Start

  1. Step 1: Identify the URL(s) to download and the destination directory (default to ~/Downloads/OpenClawX/)
  2. Step 2: Create the destination directory with mkdir -p <dir>
  3. Step 3: Download files using wget or curl, and verify with ls -l <dir>

Best Practices

  • Confirm or decide the destination directory before starting
  • Use mkdir -p to safely create nested folders
  • Choose clear file paths using wget -P <dir> or curl -o <path>
  • For many files, maintain a list file and use wget -i <list file>
  • Verify each download with a quick ls -l or a checksum check and report paths

Example Use Cases

  • Download a single image to the default directory with wget -P ~/Downloads/OpenClawX/ https://example.com/image.jpg
  • Bulk download PDFs from a catalog by creating urls.txt and running wget -i urls.txt -P ~/Downloads/OpenClawX/
  • Fetch a video to a specific folder using curl and verify with ls -l
  • Download a set of MP3s listed in music_urls.txt to /home/user/music
  • After downloading, list the destination to confirm filenames and paths

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers