by nengong
面向 AI Agent 与终端的全能下载与归档工具 / All-in-one CLI & Skill to download anything: videos, docs, cloud drives, music, papers & books
# Add to your Claude Code skills
git clone https://github.com/nengong/download-anythingGuides for using ai agents skills like download-anything.
See how download-anything compares with popular alternatives.
download-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nengong. 面向 AI Agent 与终端的全能下载与归档工具 / All-in-one CLI & Skill to download anything: videos, docs, cloud drives, music, papers & books. It has 64 GitHub stars.
download-anything's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/nengong/download-anything" and add it to your Claude Code skills directory (see the Installation section above).
download-anything is primarily written in Python. It is open-source under nengong on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh download-anything against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
All-in-one downloader CLI & AI Agent Skill for videos, articles, podcasts, academic papers, books, cloud-drive files, and app packages — featuring auto credential stripping, multi-track media integrity verification, and structured archiving for Obsidian & LLMs.
面向个人与 AI Agent 的全能下载与结构化归档工具:提供 命令行 CLI 与 Agent Skill 双入口。从 App 分享口令或原始链接一键下载内容,自动落盘配套字幕、原画封面、独立音轨、BibTeX 引用及本地化 Markdown。
视频、图片、播客、文章、论文、电子书、网盘文件或安装包:把链接、标识符或 App 分享口令交给它,就能下载内容并整理配套资料。
.srt 字幕、cover.jpg 原画封面、audio.mp3 独立音轨、citation.bib 引用文件、防盗链本地化配图与 .info.json / .md 元数据,可直接喂给 AI Agent 总结或归档至 Obsidian。ffprobe 校验音视频双轨与时长,基于 pypdf / Pillow / zipfile 校验文档、图像与 EPUB/ZIP 容器结构,杜绝将 HTML 报错页或残损文件误判为成功。把这句话发给 Claude Code、Codex 等 Agent:
帮我安装这个 Skill:https://github.com/nengong/download-anything.git
给 Agent 的安装步骤:
已有同名目录或环境时,先检查并保留原有内容。
~/.download-anything/source。python3 skills/download-anything/scripts/install.py。用户已同意安装且需要非交互执行时可以加 --yes。默认安装位置为 ~/.download-anything/venv。skills/download-anything 整个文件夹复制或链接到当前 Agent 的用户级技能目录:Codex 为 ~/.agents/skills/download-anything,Claude Code 为 ~/.claude/skills/download-anything。其他 Agent 放进该 Agent 的 skills 目录,不确定就问用户。链接应指向持久位置;新开会话加载 Skill。~/.download-anything/venv/bin/da doctor --json(Windows:%USERPROFILE%\\.download-anything\\venv\\Scripts\\da.exe doctor --json),确认 all_required_ok 为 true。da 不在 PATH 时使用完整路径。音视频任务缺 FFmpeg 时,告知用户并询问后再安装。也可以用 npx skills add nengong/download-anything 选择 Agent 安装 Skill;它只负责安装 Skill,仍需运行 Skill 中的 scripts/install.py 安装 CLI 并执行自检。Node.js 要求见 skills 项目。
每个主流场景一条命令,直接把 App 分享口令、链接、DOI、ISBN、包名/Product ID 或本地音频路径交给 da:
# 1. 视频、多图与分P公开课(B站含 ?p=N 分集 / 抖音 / 小红书 / YouTube / X,自动提取封面/字幕/原声)
da "https://www.bilibili.com/video/BV11s41167h6?p=2" --json
da "复制打开抖音,看看【示例作品】https://v.douyin.com/iABC123/" --json
da "https://www.xiaohongshu.com/explore/654321abcdef" --json
# 2. 播客、音乐与本地加密音频(小宇宙 / Apple Podcasts / 网易云 .ncm 解密 / .flac 转 MP3)
da "https://www.xiaoyuzhoufm.com/episode/65f..." --json
da "/path/to/music.ncm" --json
# 3. 公众号、技术文章与 Obsidian 归档(正文转干净 Markdown,防盗链配图自动本地化)
da "https://mp.weixin.qq.com/s/..." --vault ~/Documents/MyVault --json
# 4. 学术论文、公开课讲义与电子书(arXiv / DOI / MIT OCW 讲义自动生成 citation.bib;按 ISBN / MD5 下书)
da "https://arxiv.org/abs/2310.06825" --json
da "https://ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/resources/mit6_006s20_lec1/" --json
da "9780141439518" --json
# 5. 网盘分享文件(自动识别百度/夸克网盘分享文本中的链接与提取码)
da "通过网盘分享的文件:资料包.zip 链接: https://pan.baidu.com/s/1xxxx 提取码: a1b2" --json
# 6. 开源商用字体、GitHub 单文件与应用安装包(霞鹜文楷/JetBrains Mono 字体 / GitHub / 微软商店 / APK)
da "https://github.com/lxgw/LxgwWenKai/releases/download/v1.530/LXGWWenKai-Regular.ttf" --json
da "https://github.com/psf/requests/blob/main/README.md" --json
da "9N0DX20HK701" --json
3.10 或更高版本。安装脚本会优先查找本机已有的 Python 3.10+,未找到时可按提示通过 uv 准备独立的 Python 3.12(非交互环境加 --yes)。ffprobe 媒体双轨结构校验、ffmpeg 抽轨与转码、HLS/DASH 流合并。从源码目录或解压后的 Skill 发布包安装到独立虚拟环境(默认位于 ~/.download-anything/venv):
python3 skills/download-anything/scripts/install.py
~/.download-anything/venv/bin/da doctor --json
~/.download-anything/venv/bin(Windows 为 %USERPROFILE%\.download-anything\venv\Scripts)加入系统 PATH 后,即可直接调用 da 或 dl。da doctor --fix 默认优先连接官方 PyPI,超时后自动切换清华、阿里云镜像;也可通过 DA_PIP_INDEX_URL 指定自定义源。install.py 即可升级或重建环境(可通过 --venv /自定义路径 指定位置);CLI 已安装时也可运行 da doctor --fix --json 自动补齐缺失的 Python 依赖。删除安装时创建的虚拟环境目录(如 ~/.download-anything/venv)并移除对应的 PATH 配置即可。~/.download-anything/index.db(缓存索引)、~/.download-anything/credentials.yaml(0600 权限凭据配置)及已下载文件可按需保留或手动清理。
对于需要登录凭据的平台(如百度网盘、夸克网盘),DA 支持多层次凭据解析:
DA_<PLATFORM>_COOKIE 或 <PLATFORM>_COOKIE(如 DA_BAIDU_COOKIE、QUARK_COOKIE),或挂载 ~/.download-anything/credentials.yaml;自行预置的凭据文件应设置为 0600。Instagram 多图使用 DA_INSTAGRAM_COOKIE_FILE 指向授权 Cookie 文件。da login <平台> 从本机主流浏览器(Chrome/Arc/Edge/Safari 等)或桌面端客户端安全提取 Cookie。DA 将一次提取任务拆解为四个可验证阶段:
core/router.py):自动剔除分享文本中的推广词、数字口令与表情符号,提取标准 URL 与内嵌密码(提取码 / pwd),并识别学术 DOI、ISBN 与 MD5。drivers/*):按目标类型匹配专属驱动;同一社交平台(如小红书、抖音、X、微博、Instagram)自动识别视频、多图或实况图,无需手动指定模式。core/verifier.py & core/unpacker.py):
500 MB(可通过 --max-mb N 调整)。pypdf)、EPUB、图片(Pillow)、压缩包(zipfile)执行格式检查;借助 ffprobe 扫描音视频轨道与可读数据包(media-structure 级别,统计有效音视频流数量与 has_audio 状态)。ZIP / TAR 归档自动解压与路径边界检查(总量上限 500 MB / 10,000 个成员),可通过 --no-unzip 保留原压缩包。core/sidecar.py & core/vault_sync.py):主文件落盘后按需生成 .info.json、Markdown 正文、.srt 字幕、.lrc 歌词或 citation.bib,支持同步至本地 Obsidian 知识库及可选语音转写(--transcribe),并通过 SQLite 本地索引(~/.download-anything/index.db)实现缓存复用。完整输入输出规范见 skills/download-anything/references/platforms.md。
?p=N 精准定位多 P 公开课/合集单集)、移动端分享口令与 b23.tv 短链;下载声画同步 .mp4(加 -a 直接提取 .m4a 纯音轨)、高清封面 cover.jpg 及 UP 主互动数据,自动获取 CC / AI 字幕并转换为标准 .srt 时间轴字幕(不支持 bilibili.com/cheese 付费课堂)。v.douyin.com 短链与网页链接;自动识别视频(提取免水印最高 4K .mp4 + 原画封面 cover.jpg)或图文笔记(按序下载全部无水印高清大图),同步提取独立 BGM/原声音轨 audio.mp3 与作品文案。xhslink.com / xhslink.cn);自动识别视频笔记(无水印 .mp4)、多图笔记(按原顺序下载全部高清 .jpg)或实况图 LivePhoto(同步提取每张图配套的 .mov 动态视频流),完整保留标题、正文与 #话题标签。.mp4)或多图帖(X :orig 原图、微博免登录九宫格大图、Instagram Carousel 多图),同步归档正文与作者信息。.m3u8):自动选轨或分片并发拉取合并为声画同步 .mp4,保存封面与简介并通过 ffprobe 双轨校验。.m4a / .mp3)与高清封面,完整提取节目 Shownotes、简介与时间轴笔记。.mp3、超清专辑封面(Apple Music 支持 3000×3000)与同步滚动歌词(.lrc);受限曲目自动提取官方封面、歌词与元数据并通过公开音源匹配下载完整 .mp3。.ncm 本地解密还原为标准 .mp3(保留内嵌专辑封面与 ID3 标签);无损 .flac 转换为标准 320kbps .mp3(保留原文件)。--transcribe):支持在已接入外部语音转写服务时,将播客或视频音轨(-a --transcribe)生成带分段时间戳的 .transcript.md 文字稿;全量核心下载、字幕提取与本地转换均纯本地免配置运行。article.md),自动绕过微信防盗链将全部插图下载至本地并重写为相对路径引用。--vault):将下载的 Markdown、本地化配图与配套元数据同步至本地 Obsidian Vault,自动注入标准 YAML frontmatter。arxiv.org/abs/...、纯编号(如 2310.06825)或标准 DOI(如 10.1186/...);下载经 pypdf 校验的全文 .pdf,提取标题、作者与摘要,自动生成标准 citation.bib 引用文件。.edu):支持 MIT OpenCourseWare(ocw.mit.edu)课程资源页、讲义 PDF 直链及高校 .edu 开放课件 PDF,自动清洗哈希前缀、执行 pypdf 页数校验并生成 citation.bib 引用文件(注:不支持 Coursera、edX、Udemy、中国大学MOOC 等受登录墙或 DRM 保护的商业网课,详见 references/education.md)。9780141439518)或 32 位 MD5(或由 Agent 根据书名查出 ISBN / MD5 后传入),自动检索镜像下载 .epub / .pdf 并执行 OPF 清单、章节脊柱与资源完整性校验。--check 预检文件大小(不触发云端转存),结合本机登录态下载分享原文件(ZIP / TAR 归档默认自动安全解压)。_da_temp_<uuid>,下载完成后自动清理云端临时目录。.ttf / .otf / .woff2 二进制魔数校验、阿里 CDN 防盗链 Header 自动注入及全字重 ZIP 归档安全解压(实测源梯队与直链速查表见 references/fonts.md)。github.com/<owner>/<repo>/blob/<branch>/<path> 单文件链接与 releases/download/... 发行包直链,免 git clone 整个仓库直接逐字节拉取目标文件。9N0DX20HK701 Windows Terminal),借助第三方目录解析服务获取微软官方 CDN(delivery.mp.microsoft.com)上的 .msixbundle / .appxbundle 离线安装包与 PowerShell 安装说明(仅适用于提供标准 MSIX/Appx 离线包的免费应用,不支持付费应用或传统 Win32 .exe 安装器)。