baidu-netdisk-share-transfer

Baidu Netdisk Share Transfer: Transfers files or folders from Baidu Netdisk share links that the user is authorized to save into the user's own netdisk, preserving the original directory structure. Applicable to requests like “transfer Baidu Netdisk share”, “save share link to my netdisk”, or “batch transfer Baidu Netdisk”. Not for non-Baidu-netdisk shares or unauthorized content.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "baidu-netdisk-share-transfer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d67c896acb874de2c29990efa7d40cdb18c1123e0eae5081fce019abdbbc5644. Verify the upstream source and version against https://skillhub.cn/skills/user_db3a3bce/baidu-netdisk-share-transfer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Baidu Netdisk Share Transfer: Transfers files or folders from Baidu Netdisk share links that the user is authorized to save into the user's own netdisk, preserving the original directory structure. Applicable to requests like “transfer Baidu Netdisk share”, “save share link to my netdisk”, or “batch transfer Baidu Netdisk”. Not for non-Baidu-netdisk shares or unauthorized content.

0 Downloads

Introduction source: third_party · user_db3a3bce · 1.1.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: baidu-netdisk-share-transfer
slug: baidu-netdisk-share-transfer
displayName: 百度网盘分享转存
description: "将用户有权保存的百度网盘分享链接中的文件或文件夹,按原目录结构转存到用户自己的网盘。适用于'转存百度网盘分享''保存分享链接到我的网盘''批量转存百度网盘'等请求;不用于非百度网盘分享或无授权内容。"
version: 1.1.0
allowed-tools: Bash

百度网盘分享转存

将用户有权保存的分享内容转存到其自己的百度网盘,并在完成后核对结果。本 skill 通过浏览器自动化(agent-browser)操作百度网盘网页完成,不调用任何私有接口、不处理凭证。

1. 依赖与环境准备(必须先做)

本 skill 依赖 agent-browser(技能市场中的「网页自动化」agent-browser-core)。

  1. 在 WorkBuddy 技能市场安装「网页自动化」(agent-browser-core)。
  2. 安装 agent-browser CLI(建议在隔离的 Node 环境,不要全局装):
    npm install agent-browser

    验证:agent-browser --version 能输出版本号。

  3. 准备浏览器运行时(二选一):
    • 方式 A(自带 Chromium):agent-browser install。 在网络受限 / 代理环境下可能下载失败(TLS 被截断),此时改用方式 B。
    • 方式 B(复用本机 Chrome,受限环境推荐):用与本机默认配置不同的 --user-data-dir 启动 Chrome 并开调试端口,再让 agent-browser 通过 CDP 接入:
      # macOS:注意 user-data-dir 不要指向默认配置,否则会被已运行的 Chrome 单例拦截
      "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
        --remote-debugging-port=9222 \
        --user-data-dir="<一个独立目录,如 /Users/你/.workbuddy/browser-profiles/baidu>" \
        --no-first-run about:blank
      agent-browser connect --cdp http://127.0.0.1:9222

      具体启动方式受运行环境(沙箱 / 权限)影响,以实际可行为准;若环境完全禁止启动浏览器,则本 skill 无法自动执行,应改为引导用户在自己的浏览器里手动转存。

2. 使用边界

  • 仅处理用户本人拥有或已获授权保存的内容。
  • 不协助绕过提取码、登录、访问控制、验证码或平台限制。
  • 不记录、不输出或共享 Cookie、会话令牌、提取码等敏感信息。
  • 百度网页接口 / UI 可能变化;先用少量文件测试,遇到错误或安全验证时停止并告诉用户。

3. 前置条件

  • agent-browser 可用(CLI 能运行、浏览器能连接)。
  • 用户已在浏览器内登录百度网盘(首次需用户本人完成,含滑块验证);登录态通过固定 --user-data-dir 或已登录的 CDP 浏览器复用,避免每次重登。
  • 分享链接有效;提取码(如有)必须由用户提供。
  • 目标保存路径已由用户确认(如"网盘根目录"或某具体文件夹)。

4. 转存流程(逐步、可执行)

所有元素定位都以 snapshot 返回的 ref 为准,禁止写死坐标 / XPath。

  1. 连接浏览器:agent-browser connect <port>(或 connect --cdp <地址>)。
  2. 打开分享链接:agent-browser open "<分享链接>"。
  3. 输入提取码(如需要):
    • agent-browser snapshot,找到提取码输入框(占位符通常含"提取码 / 密码 / access code")。
    • agent-browser fill <ref> "<pwd>",再 click "提取文件 / 确定"按钮。
    • 等待加载:agent-browser wait --load networkidle 或 wait --text "<某个文件名>"。
  4. 确认内容:再次 snapshot,记录要转存的文件 / 文件夹清单与数量(用于最后核对)。
  5. 选择待转存项:勾选目标(全选可用页面"全选";逐项用 check <ref>)。
  6. 点击「转存」:find text "转存" 定位按钮 ref,click 它。
  7. 在"保存到网盘"对话框中选择路径:
    • 默认即当前 / 根目录;如需指定文件夹,展开路径树 click 对应目录 ref。
    • 需要新建文件夹时,按对话框内的"新建文件夹"操作并命名。
  8. 确认:click "确定 / 保存到网盘"按钮。
  9. 核对:打开 https://pan.baidu.com/disk(或对应路径),snapshot 数文件 / 看结构,与第 4 步清单比对。
  10. 报告:输出成功、跳过、失败项;失败项不反复重试,交用户确认后处理。

5. 大目录 / 批量

  • 超过平台单次上限时,按子目录分批:先转存小文件,再逐个进入子文件夹转存。
  • 每批之间适当停顿,模拟人工节奏(避免触发反爬),参考 agent-browser-core 的 pacing 建议。
  • 不要长时间单次请求。

6. 抗变动与异常处理

  • 一切以 snapshot 实测为准;百度 UI 改版导致按钮文案变化时,用 find role button + 可见文本兜底定位。
  • 遇到滑块验证 / 安全验证:立即停止,交用户在浏览器内完成,再继续;不要无限重试。
  • 登录失效:提示用户在浏览器内重新登录(复用同一 --user-data-dir 即可保留其他状态)。

7. 已知限制

  • 父目录不存在时,需先由用户确认后创建。
  • 同名文件处理应在操作前向用户说明:首次转存可创建副本;补传宜跳过已有项,避免重复。
  • 网盘内整理、移动或删除应由用户在百度网盘官方界面完成。

8. 技术备注

  • 分享页 URL 形如 https://pan.baidu.com/s/<shareId>?pwd=<code>,pwd 即提取码。
  • 本 skill 采用界面操作方式(点击「转存」+ 选择路径),不重放私有接口,因此无需 Cookie / 令牌,也不依赖历史接口参数;UI 变动时以当前页面 snapshot 为准重新定位即可。
  • 若手头有更早版本整理出的接口参数 / 目录前缀 / 错误码文档,建议补到本文件,便于高级用法参考(但非必需)。

Current listing version

1.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决百度网盘分享转存的明确用户需求
  • 适用于广泛用户群体的实用工具
  • 功能定位清晰,非同质化壳工具
Trigger Precision85/100

Highlights

  • 触发词覆盖多种常见表达变体
  • 边界定义清晰,排除非授权内容
  • description 位置正确且内容完整
Structure and Standards92/100

Areas to improve

  • 缺少显式 When to Use 章节 Reported severity: Minor

    文档结构完整但缺少显式命名的 When to Use 章节

    Recommendation: 建议增加显式的 When to Use 章节以提升可读性

Highlights

  • Phase 划分清晰,8个逻辑章节
  • 包含详细的10步执行流程
  • 提供具体命令示例和参数说明
  • frontmatter 信息完整规范
Execution Reliability88/100

Highlights

  • 工具来源明确(agent-browser)
  • 覆盖滑块验证、登录失效等主要异常场景
  • 提供浏览器环境准备的具体方案
  • 包含同名文件处理等边界情况说明
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 21
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • 127.0.0.1
  • pan.baidu.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.