# File Downloader

> Download files from specified URLs to local, supporting multiple protocols and download options

- Skill: `nemori-ai/file-downloader` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add nemori-ai/file-downloader`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nemori-ai/file-downloader/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nemori-ai (https://skillmd.com/u/nemori-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nemori-ai/file-downloader

---


# File Downloader

Download files from specified URLs to local, supporting HTTP/HTTPS protocols.

## ⚠️ Important Note

**Always use absolute paths for output!** Skills directory should remain clean, only storing skill code.

## Usage

### Basic Download
```python
# Download file (recommended)
skills_run(name="file-downloader", command="python scripts/download.py https://example.com/file.pdf -o /Users/xxx/Downloads/file.pdf")

# Download with progress display
skills_run(name="file-downloader", command="python scripts/download.py https://example.com/file.pdf -o /Users/xxx/Downloads/file.pdf -v")
```

### Advanced Options
```python
# Set timeout (seconds)
skills_run(name="file-downloader", command="python scripts/download.py https://example.com/file.pdf -o /Users/xxx/Downloads/file.pdf --timeout 60")

# Set user agent
skills_run(name="file-downloader", command="python scripts/download.py https://example.com/file.pdf -o /Users/xxx/Downloads/file.pdf --user-agent 'Mozilla/5.0'")

# Overwrite existing file
skills_run(name="file-downloader", command="python scripts/download.py https://example.com/file.pdf -o /Users/xxx/Downloads/file.pdf -f")
```

## Features

- ✅ HTTP/HTTPS protocol support
- ✅ Automatic filename detection
- ✅ Download progress display
- ✅ Resume download (TODO)
- ✅ Custom request headers
- ✅ File integrity verification

## Parameters

- `url`: URL of file to download (required)
- `-o, --output`: Output file path (**use absolute path**)
- `-v, --verbose`: Show detailed progress info
- `-f, --force`: Overwrite existing file
- `--timeout`: Request timeout in seconds (default 30s)
- `--user-agent`: Custom User-Agent

## Path Guidelines

| Path | Description |
|------|-------------|
| Absolute paths | User workspace, **all downloaded files should be saved here** |
| `/skills/` | Skill code directory, do not save user files here |

