Xunlei Docker Downloader Skill
Description
A skill that allows OpenClaw to interact with Docker-deployed Xunlei services for downloading magnet links and managing download tasks.
Features
Detect and submit magnet links to Xunlei Docker service
Monitor download tasks (in-progress and completed)
View task status including progress and speed
Configure Xunlei service connection settings
NEW: Intelligent content filtering to identify and prioritize main content over advertisements
Configuration
The skill requires the following configuration:
xunlei_host: The host address of the Docker Xunlei servicexunlei_port: The port of the Docker Xunlei servicexunlei_ssl: Whether to use SSL (true/false, default: false)
Commands
xunlei status- Show current download tasksxunlei submit <magnet_link>- Submit a magnet link for download (with intelligent content filtering)xunlei submit <magnet_link> --name <task_name>- Submit with custom task namexunlei config set <host> <port>- Configure Xunlei service connectionxunlei config show- Show current configurationxunlei completed- Show completed tasksxunlei version- Show Xunlei service version
Intelligent Content Filtering
The skill now includes smart analysis of magnet links to:
Identify main content vs. advertisement files based on size and filename
Prioritize large files with content indicators (e.g., "hhd800.com@", "FHD", "1080p")
Filter out small files with ad indicators (e.g., "game", "demo", "trailer", "合集", "大全")
Automatically select the most relevant files for download
Dependencies
Node.js
Chrome browser (for authentication methods)
Implementation Notes
Based on the xunlei-docker-ext project by saaak, this skill provides server-side functionality to interact with Xunlei Docker services without requiring a browser extension.