Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

browser-auto-download

БесплатноЗапускает вложенные скриптыНе проверен

Download installers from webpages via Playwright: direct links that need a browser session or redirect chain, auto-download capture, platform-specific…

aaronxxот aaronxx3 329 установок в других каталогах

Об этом скилле

Browser Auto Download v1.0.6

Automate file downloads from dynamic pages with Playwright. The browser follows page-provided navigation and clicks, then saves the resulting file to disk.

Safety notice (read before running)

  • Downloads are untrusted input. The tool saves files the page hands it. It does not code-sign, sandbox, or scan them. Verify the publisher's signature or a checksum before opening or installing anything.
  • The page can steer the browser. Automatic navigation and clicking may trigger unintended or deceptive downloads. Keep to sites you trust, and review the printed target URLs.
  • Files are written to disk. The default destination is ~/Downloads/browser-auto-download. Pass --output to isolate a run further.
  • Executables are gated. Saving .exe, .msi, .dmg, .pkg, .appimage, .deb, .rpm, or script files requires --sha256 <digest> or an explicit --acknowledge-executable.
  • Debug mode captures page data. --debug writes screenshots, HTML, and text that may include credentials, personal data, or internal URLs. Redaction is best effort. Review and delete the debug folder when done.

Capabilities and scope

  • Network: outbound HTTP/HTTPS to the exact starting host, unless --allow-host or --allow-external-hosts is passed.
  • Filesystem: writes downloads and optional debug artifacts to the directory the user selects (default ~/Downloads/browser-auto-download); reads page content only through the browser session.
  • Browser: launches Chromium via Playwright; no persistent profile is reused.
  • Credentials: the skill does not read, store, or request Discord/API tokens.

When to use

  • Downloads start automatically on page load.
  • The download link only exists after multi-step navigation (homepage → PC page).
  • Links are generated by JavaScript, or require clicking a button.
  • Platform-specific installers need to be selected automatically.
  • A direct installer URL only works inside a browser session (cookies, redirect chain, or client-side gating) and cannot be fetched by curl/wget.

When not to use

  • Plain static files that curl/wget can fetch and verify — use those tools.
  • Scraping page content, crawling, or archiving sites.
  • Authenticated, private, or internal pages you are not authorized to automate.
  • Untrusted sources, or when you cannot verify the resulting binary.

Install (pinned)

pip install -r requirements.txt
# pinned to playwright==1.65.0
playwright install chromium

The Playwright version also fixes the Chromium build that playwright install chromium fetches. Bump the pin only after reviewing the upstream changelog.

Usage

# Auto-detect mode
python skills/browser-auto-download/scripts/auto_download.py \
  --url "https://example.com/download"

# Installer: verify a known digest, or acknowledge the risk explicitly
python skills/browser-auto-download/scripts/auto_download.py \
  --url "https://example.com/download" \
  --sha256 "<expected-sha256>"

python skills/browser-auto-download/scripts/auto_download.py \
  --url "https://example.com/download" \
  --acknowledge-executable

# Isolate output and cross to a CDN only when intended
python skills/browser-auto-download/scripts/auto_download.py \
  --url "https://example.com/download" \
  --output "/path/to/dedicated/folder" \
  --allow-external-hosts

Built-in shortcuts

These use hard-coded, reviewed vendor URLs, but still require the executable flag because the saved file is unverified:

python skills/browser-auto-download/scripts/auto_download.py --wechat --acknowledge-executable
python skills/browser-auto-download/scripts/auto_download.py --meitu --acknowledge-executable
python skills/browser-auto-download/scripts/auto_download.py --golang --acknowledge-executable
python skills/browser-auto-download/scripts/auto_download.py --eclipse --acknowledge-executable

The --meitu preset already allows its own platform host (pc.meitu.com). For any other cross-host flow, pass --allow-host <host> explicitly.

Python API

from skills.browser_auto_download.scripts.auto_download import auto_download

result = auto_download(
    url="https://example.com/download",
    output_dir="/path/to/dedicated/folder",
    auto_select=True,
    auto_navigate=True,
    expected_sha256=None,        # pass a digest to verify
    acknowledge_executable=False # required for installers when no digest
)

if result:
    print(result["path"], result["sha256"])

Options

Flag Effect
--output <dir> Output directory (default ~/Downloads/browser-auto-download)
--sha256 <digest> Verify the saved file; mismatch deletes it
--acknowledge-executable Allow saving installers without a digest
--allow-external-hosts Permit navigation outside the starting host
--allow-host <host> Add one extra allowed host (repeatable)
--debug Save screenshot/HTML
Полный SKILL.md на ClawHub

Установить browser-auto-download в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

bash
file_write
network
http
https

FAQ

Что делает скилл browser-auto-download?

Download installers from webpages via Playwright: direct links that need a browser session or redirect chain, auto-download capture, platform-specific selection, multi-step navigation, and button clicking. Use when curl/wget cannot complete the download. Not for scraping or archiving content, or for authenticated pages the user is not authorized to automate.

Как установить скилл browser-auto-download?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл browser-auto-download запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить browser-auto-download с