AI & Integration v1.0.0

browser-download

Teaches ADA how to perform file downloads using the browser tool.

pbseiya 更新于 2026-03-06 1 浏览
下载 SKILL

技能说明

Teaches ADA how to perform file downloads using the browser tool.

使用场景

This skill enables ADA to perform file downloads from any webpage using the browser tool.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/browser-download
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: browser-download
description: Teaches ADA how to perform file downloads using the browser tool.
metadata: {"clawdbot":{"emoji":"📥","requires":{"bins":["openclaw"]},"primaryEnv":""}}
---

# Browser Download Skill

This skill enables ADA to perform file downloads from any webpage using the `browser` tool.

## Prerequisites

- `openclaw` CLI must be installed and gateway must be running.
- `relayPort` must be configured correctly in `openclaw.json` (Default: 18792).

## How to download

To download a file from a website, follow these steps:

1. **Find the Download Link/Button**: Use `browser snapshot` or `browser evaluate` to find the `ref` or `selector` for the download button.
2. **Execute Download Action**: Use the following CLI command structure:

```bash
openclaw browser --action download --targetId "<TAB_ID>" --ref "<REF_ID>" --path "/mnt/storage/ada_projects/downloads/<FILENAME>"
```

### Alternative: JavaScript Click
If the download button is inside a canvas or complex element, you can trigger it via evaluation:

```javascript
() => {
  const btn = document.querySelector('button[aria-label="Download"]');
  if (btn) btn.click();
  return 'clicked';
}
```

## Storage Directory
Always save downloaded files to:
`/mnt/storage/ada_projects/downloads/`

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。