browser-auto-download
БесплатноЗапускает вложенные скриптыНе проверенDownload installers from webpages via Playwright: direct links that need a browser session or redirect chain, auto-download capture, platform-specific…
от 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--outputto 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.
--debugwrites 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-hostor--allow-external-hostsis 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/wgetcan 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 |
Установить browser-auto-download в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
bashfile_writenetworkhttphttpsFAQ
Что делает скилл 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic