← Back to Skills Marketplace
1667
Downloads
2
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install aria2
Description
使用 aria2 下载磁力链接、种子、HTTP 文件。下载完成后自动转存到 115 网盘并删除本地文件。当用户发送磁力链接(magnet:)、种子文件(.torrent)、或要求下载文件时触发此 skill。
README (SKILL.md)
Aria2 下载管理
aria2 以 daemon 模式运行,通过 RPC 接口管理任务。
配置
- 配置文件: 请根据实际情况调整
aria2.conf路径 - RPC 端口: 6800 (默认)
- RPC 密钥: 请在指令中使用
\x3CYOUR_RPC_SECRET>或配置环境变量 - 下载目录: 根据主机情况调整
添加下载任务
磁力链接或 HTTP
# 请将 \x3CYOUR_RPC_SECRET> 替换为实际密钥
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.addUri","params":["token:e603c18b871468e81ec2b2458d3356e5",["\x3CURL>"]]}'
种子文件
# 先 base64 编码
TORRENT_B64=$(base64 -w0 /path/to/file.torrent)
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d "{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"aria2.addTorrent\",\"params\":[\"token:e603c18b871468e81ec2b2458d3356e5\",\"$TORRENT_B64\"]}"
查看任务状态
所有活动任务
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.tellActive","params":["token:e603c18b871468e81ec2b2458d3356e5"]}' | jq '.result[] | {gid, status, completedLength, totalLength, downloadSpeed, files: [.files[].path]}'
指定任务 (用 GID)
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.tellStatus","params":["token:e603c18b871468e81ec2b2458d3356e5","\x3CGID>"]}' | jq '{status, completedLength, totalLength, downloadSpeed}'
等待中的任务
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.tellWaiting","params":["token:e603c18b871468e81ec2b2458d3356e5",0,10]}'
已完成/已停止的任务
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.tellStopped","params":["token:e603c18b871468e81ec2b2458d3356e5",0,10]}'
控制任务
暂停
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.pause","params":["token:e603c18b871468e81ec2b2458d3356e5","\x3CGID>"]}'
继续
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.unpause","params":["token:e603c18b871468e81ec2b2458d3356e5","\x3CGID>"]}'
删除
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.remove","params":["token:e603c18b871468e81ec2b2458d3356e5","\x3CGID>"]}'
下载完成后自动流程
本 Skill 需要配合主机端的自动转存脚本使用。建议在 aria2.conf 中配置 on-download-complete 钩子。
检查服务状态
# 检查 aria2 daemon 是否运行
curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"1","method":"aria2.getVersion","params":["token:e603c18b871468e81ec2b2458d3356e5"]}'
## 快速命令格式
用户发送类似以下格式时直接添加下载:
- `/aria2 magnet:?xt=urn:btih:...`
- `/aria2 https://example.com/file.zip`
- `下载这个磁力 magnet:?xt=...`
Usage Guidance
What to consider before installing:
- The skill's description promises automatic upload to 115网盘 and deletion of local files, but the instructions only show aria2 JSON-RPC calls and say you must provide a host-side on-download-complete script. Installing this skill alone will not perform the 115 upload — you must supply and secure that script and any 115 credentials yourself.
- The SKILL.md contains a repeated literal RPC token string (token:e603c18b871468e81ec2b2458d3356e5) in examples but the skill metadata does not declare any required env vars. Treat that token as sensitive: verify whether it's a placeholder or a real secret before using it. Do not expose real credentials in skill text.
- The skill's runtime actions (curl to localhost, reading/encoding a local .torrent) require access to local files/aria2 RPC. Only enable this skill if your aria2 instance is intentionally exposed on localhost, protected by a strong secret, and you trust the environment that will run on-download hooks.
- If you plan to enable automatic upload to 115, require and configure explicit environment variables for 115 credentials (do not hard-code them in SKILL.md), and review the host-side script that performs the transfer — ensure it safely handles credentials and removes files only after successful transfer.
- Legal/privacy: downloading magnet/torrent content can involve copyrighted content. Ensure users and the host comply with local law and acceptable use policies.
- Because the metadata and instructions are inconsistent, ask the maintainer (or inspect the host-side scripts) for clarification about: 1) whether the embedded token is a real secret or placeholder, 2) exactly how 115 uploads are implemented and where to store credentials, and 3) expected file paths/permissions for the on-download hook.
Given these inconsistencies, treat this skill as suspicious until the missing pieces (115 upload flow and credential handling) are clarified and secrets are removed from documentation.
Capability Analysis
Type: OpenClaw Skill
Name: aria2
Version: 1.0.2
The skill bundle provides an interface to manage a local aria2 daemon via RPC calls to `http://localhost:6800`. All commands are for legitimate aria2 operations like adding/managing downloads and checking status. While the skill's description mentions automatic transfer to 115 cloud storage and local file deletion upon download completion, the `SKILL.md` explicitly states this functionality requires a separate host-side script configured via `aria2.conf` hooks, meaning the skill itself does not perform these sensitive actions. There is no evidence of prompt injection, data exfiltration, malicious execution, persistence, or obfuscation within the skill's direct instructions or code. The hardcoded RPC token is for a local service and not an external credential.
Capability Assessment
Purpose & Capability
The description promises downloading and then automatically transferring to 115网盘 and deleting local files, but the SKILL.md contains only aria2 RPC curl examples and a note that a host-side 'on-download-complete' hook should perform transfer. No instructions, endpoints, or required credentials for 115 are provided. That discrepancy means the skill's declared purpose (automatic transfer to 115 + cleanup) is not implemented in the instructions.
Instruction Scope
Runtime instructions are limited to calling aria2's local JSON-RPC (localhost:6800) and showing how to add torrents/magnets and query status. This scope is appropriate for an aria2 controller, and there are no external network endpoints in the examples. However the instructions include a repeated literal token string ("token:e603c18b871468e81ec2b2458d3356e5") in RPC payloads and reference using an RPC secret without declaring the env var name. The doc also instructs base64-encoding a local .torrent path (which implies reading local files) — that is expected for torrent uploads but should be explicit about file access and permissions.
Install Mechanism
This is an instruction-only skill with no install steps or code files, so nothing is written to disk by the skill itself. That minimizes install-time risk.
Credentials
The skill metadata declares no required environment variables or credentials, yet the SKILL.md references an RPC secret and shows a concrete token embedded in every example. Additionally, the described automatic upload to 115网盘 would require 115 credentials (API token/login) but none are requested or documented. The mismatch between declared required credentials (none) and the token/115 workflow in the doc is disproportionate and unclear.
Persistence & Privilege
The skill is not always-enabled and uses default autonomous invocation settings. It does not request to persist or modify other skills or global agent settings. No elevated platform privileges are requested.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install aria2 - After installation, invoke the skill by name or use
/aria2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Initial public release
v1.0.1
Security fix: Remove hardcoded secrets
v1.0.0
Initial release.
- Add support for downloading magnet links, torrent files, and HTTP files via aria2.
- Finished downloads are automatically transferred to 115 cloud drive and deleted locally.
- Includes task status monitoring (active, waiting, stopped), and supports pause/resume/remove actions.
- Provides command-line usage examples and quick command formats for user interaction.
- Service health and 115 mount status check instructions included.
Metadata
Frequently Asked Questions
What is Aria2 Downloader?
使用 aria2 下载磁力链接、种子、HTTP 文件。下载完成后自动转存到 115 网盘并删除本地文件。当用户发送磁力链接(magnet:)、种子文件(.torrent)、或要求下载文件时触发此 skill。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1667 downloads so far.
How do I install Aria2 Downloader?
Run "/install aria2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Aria2 Downloader free?
Yes, Aria2 Downloader is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Aria2 Downloader support?
Aria2 Downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Aria2 Downloader?
It is built and maintained by ahiven (@ahiven); the current version is v1.0.2.
More Skills