A smart download accelerator that dynamically routes HuggingFace and GitHub traffic through regional mirror servers for fast and resilient AI model and repository downloads.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install download-mirror
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install download-mirror using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The mirror-download capability, available through Openclaw Skills, is a robust technical solution designed for developers operating under restricted network environments. Directly fetching multi-gigabyte AI models or cloning massive repositories from standard sources like HuggingFace and GitHub often results in network timeouts, SSL errors, and wasted developer hours. This skill acts as an intelligent failover layer, adhering to a strict "fail once, switch immediately" protocol to prevent repetitive token-draining download retries.
By executing rapid latency probes, this skill dynamically evaluates available mirrors (such as hf-mirror, ModelScope, GitCode, and ghfast.top). Once it detects a highly responsive node, the skill shifts download tasks or library routines automatically, redirecting environmental configs or swapping Git clone links to ensure downloads finish without manual reconfiguration.
HF_ENDPOINT to direct commands like huggingface-cli or snapshot_download to the mirror site.To deploy the mirror-download helper, install the required interface packages in your active Python environment:
# Install the Hugging Face Hub CLI and library
pip install huggingface_hub -q
# Install the ModelScope SDK for domestic model routing
pip install modelscope -q
# Optional: Install aria2 tool for multi-threaded chunk downloads
sudo apt-get update && sudo apt-get install aria2 -y
To diagnose your local server connection issues and verify mirror responsiveness, run the diagnostic script:
python3 -c "
import subprocess
def ping(host):
try:
r = subprocess.run(['curl', '-s', '-o', '/dev/null', '-w', '%{http_code}', '--connect-timeout', '3', f'https://{host}'], capture_output=True, text=True)
return r.stdout.strip() not in ['000', '']
except:
return False
print('hf-mirror:', 'Available' if ping('hf-mirror.com') else 'Unavailable')
print('modelscope:', 'Available' if ping('modelscope.cn') else 'Unavailable')
"
This Openclaw Skills configuration maps download directories, variables, and mapping protocols according to the following schema:
| Component | Type | Description |
|---|---|---|
HF_ENDPOINT |
Env Variable | Set to https://hf-mirror.com to override original HF endpoints natively. |
scripts/diagnose.py |
Python Script | Analyzes host performance and proposes optimal download paths dynamically. |
scripts/mirror_download.py |
Python Script | Contains wrappers to coordinate download strategies and CLI arguments. |
references/modelscope_id_map.md |
Mapping Catalog | Maps canonical HuggingFace repository IDs directly to equivalent ModelScope IDs. |
check_download() |
Python Function | Confirms directory structural validity, checks total downloaded GBs, and scans for critical configs. |
THUDM/chatglm3-6b into ZhipuAI/chatglm3-6b.aria2c -x 16 -s 16) to speed up heavy model file downloads.config.json and tokenizer_config.json) after writing to disk to protect against incomplete downloads.Loading
An AI-driven academic writing skill engineered to help researchers draft, revise, and evaluate Chinese C-journal level papers in social sciences.

An advanced Gaokao admission helper skill designed to fetch historical score lines, calculate admission probabilities, and search for universities and majors.

An intelligent, context-aware Douyin short video script optimizer that adapts to brand identity, extracts guidelines from brief images, and enforces platform compliance.

An advanced AI generation skill that leverages Agnes AI's models to create, edit, and synthesize high-resolution images and videos seamlessly.

The Lowcode Module Generator accelerates full-stack application development by converting module names and field schemas into production-ready Java backend and React frontend code.

Automatically locates, modifies, and sends weekly progress Excel sheets to Meixin work groups every Monday morning.








































