# Send Aria2 Downloader to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "aria2",
    "name": "Aria2 Downloader",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ahiven/aria2",
    "canonicalUrl": "https://clawhub.ai/ahiven/aria2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/aria2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aria2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "aria2",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T04:38:33.429Z",
      "expiresAt": "2026-05-06T04:38:33.429Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aria2",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aria2",
        "contentDisposition": "attachment; filename=\"aria2-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "aria2"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/aria2"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/aria2",
    "downloadUrl": "https://openagent3.xyz/downloads/aria2",
    "agentUrl": "https://openagent3.xyz/skills/aria2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aria2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aria2/agent.md"
  }
}
```
## Documentation

### Aria2 下载管理

aria2 以 daemon 模式运行，通过 RPC 接口管理任务。

### 配置

配置文件: 请根据实际情况调整 aria2.conf 路径
RPC 端口: 6800 (默认)
RPC 密钥: 请在指令中使用 <YOUR_RPC_SECRET> 或配置环境变量
下载目录: 根据主机情况调整

### 磁力链接或 HTTP

# 请将 <YOUR_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",["<URL>"]]}'

### 种子文件

# 先 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","<GID>"]}' | 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","<GID>"]}'

### 继续

curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \\
  -d '{"jsonrpc":"2.0","id":"1","method":"aria2.unpause","params":["token:e603c18b871468e81ec2b2458d3356e5","<GID>"]}'

### 删除

curl -s http://localhost:6800/jsonrpc -H "Content-Type: application/json" \\
  -d '{"jsonrpc":"2.0","id":"1","method":"aria2.remove","params":["token:e603c18b871468e81ec2b2458d3356e5","<GID>"]}'

### 下载完成后自动流程

本 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=...\`
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ahiven
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T04:38:33.429Z
- Expires at: 2026-05-06T04:38:33.429Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/aria2)
- [Send to Agent page](https://openagent3.xyz/skills/aria2/agent)
- [JSON manifest](https://openagent3.xyz/skills/aria2/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/aria2/agent.md)
- [Download page](https://openagent3.xyz/downloads/aria2)