Xpersona
D

Download File

CLAWHUB · Unverified

Download large files from HTTP/HTTPS URLs with resume support, progress monitoring, and timeout handling Skill: Download File Owner: moony320 Summary: Download large files from HTTP/HTTPS URLs with resume support, progress monitoring, and timeout handling Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-24T17:44:32.569Z | auto - SKILL.md fully updated with English documentation; original Chinese instructions replaced and scenario descriptions are now in English. - Examples, best practices, and error handling rewritt

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17dbrka1nhhe68y8adw852z0n83h5mp:download-file
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-moony320-download-file/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

12,260 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: download-file
description: Download large files from HTTP/HTTPS URLs with resume support, progress monitoring, and timeout handling
metadata:
  {"openclaw": {"requires": {"bins": ["curl"]}, "emoji": "📥"}}
---

# 📥 Large File Downloader

## When to Use

Use this skill when downloading files from HTTP/HTTPS URLs, especially large files (>100MB).

**Typical scenarios:**
- Downloading software installers (DMG, EXE, ZIP)
- Downloading large datasets
- Downloading video/audio files
- Downloading documents/PDFs
- Any file download from URL

**Trigger keywords:**
- "download this file"
- "save this DMG"
- "download from this URL"
- "get this file"
- "帮我下载 xxx" (Chinese)

---

## Core Principles

### ⚠️ Must-Follow Best Practices

1. **Always use background execution** - Never run large downloads synchronously
2. **Always set timeout** - Configure reasonable timeout based on file size
3. **Always support resume** - Use `curl -C -` for resumable downloads
4. **Always show progress** - Use `--progress-bar` flag
5. **Always verify results** - Check file size after download completes

---

## Standard Process

### Step 1: Start Download (Background Mode)

```bash
exec(
  command="curl -L -C - --progress-bar -o <destination_path> <URL>",
  background=true,
  timeout=600
)
```

**Parameter explanation:**
- `-L` - Follow redirects
- `-C -` - Resume partial download
- `--progress-bar` - Show progress bar
- `-o` - Output file path
- `background=true` - **Critical!** Run in background to avoid timeout
- `timeout=600` - 10 minutes timeout (adjust based on file size)

### Step 2: Monitor Progress

```bash
process(action="poll", sessionId="<session_id>")
```

Poll periodically to check download progress until completion.

### Step 3: Verify Result

```bash
exec(command="ls -lh <file_path>")
```

Check:
- File exists
- File size is reasonable
- File is complete (compare MD5/SHA if available)

---

## Complete Examples

### Example 1: Download DMG File (215MB)

**User:** "Download https://github.com/example/app/releases/download/v1.0/app.dmg"

**Agent action:**

```json
{
  "tool": "exec",
  "command": "curl -L -C - --progress-bar -o ~/Downloads/app.dmg https://github.com/example/app/releases/download/v1.0/app.dmg",
  "background": true,
  "timeout": 600
}
```

**Returns:** `{status: "running", sessionId: "xxx"}`

Then poll periodically:

```json
{
  "tool": "process",
  "action": "poll",
  "sessionId": "xxx"
}
```

After download completes, verify:

```json
{
  "tool": "exec",
  "command": "ls -lh ~/Downloads/app.dmg && file ~/Downloads/app.dmg"
}
```

### Example 2: Download Small File (<50MB)

For small files, simplified handling is acceptable:

```bash
exec(command="curl -L -o ~/Downloads/small.pdf https://example.com/small.pdf", timeout=120)
```

Small files can run synchronously, but still set timeout.

---

## Timeout Reference

| File Size | Recommended Timeout |
|-----------|-------------------|
| < 50MB | 120 seconds (2 min) |
| 50-200MB | 300 seco

_meta.json

{
  "ownerId": "kn7048vdc7qg5z1day2byq7whh833xzy",
  "slug": "download-file",
  "version": "1.0.1",
  "publishedAt": 1774374272569
}

skill-card.md

## Description:

Download large files from HTTP/HTTPS URLs with resume support, progress monitoring, and timeout handling.

This skill is ready for commercial/non-commercial use.

## Publisher:

[moony320](https://clawhub.ai/user/moony320)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to download HTTP/HTTPS files, especially large files such as installers, datasets, media, and documents, with resumable curl commands, progress monitoring, timeouts, and result checks.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Downloader commands may use untrusted URLs, filenames, or destination paths without enough validation or containment.

Mitigation: Use only trusted URLs and destination paths, avoid attacker-supplied filenames or paths, check before overwriting, and write downloads inside a dedicated downloads directory.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/moony320/skills/download-file)
- [Publisher profile](https://clawhub.ai/user/moony320)

## Skill Output:

**Output Type(s):** [shell commands, guidance, configuration]

**Output Format:** [Markdown with inline shell command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Commands assume curl is available and a trusted URL and destination path are supplied.]

## Skill Version(s):

1.0.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Download File and adjacent AI workflows.