← 返回 Skills 市场
nameefef

Baidu Netdisk Resource Saver

作者 nameefef · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
87
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bdpan-resource-saver
功能描述
Search for resources using Bing/Baidu, find Baidu Netdisk (百度网盘) share links, and save/transfer them to your netdisk. Use when the user wants to (1) Search f...
使用说明 (SKILL.md)

Baidu Netdisk Resource Saver

Overview

This skill automates the workflow of searching for resources (movies, TV shows, books, etc.) and saving them to Baidu Netdisk (百度网盘). It combines web search, browser automation, and netdisk operations.

Trigger Patterns (When to Use This Skill)

This skill should be triggered when user requests match these patterns:

Direct Transfer Requests:

  • "请帮我转存[xxx]电影至我的百度网盘"
  • "save [xxx] movie to my netdisk"
  • "transfer [xxx] to my baidu netdisk"
  • "帮我把[xxx]保存到百度网盘"
  • "转存[xxx]到网盘"

Search + Save Requests:

  • "帮我找[xxx]资源并保存到网盘"
  • "search for [xxx] and save to netdisk"
  • "找[xxx]电影并转存"

Resource Search:

  • "百度网盘[xxx]资源"
  • "find [xxx] on baidu netdisk"
  • "search [xxx] 百度网盘"

Workflow

Step 1: Search for Resources

Use web search (Bing/Baidu) to find Baidu Netdisk share links for the requested content.

Search query format:

[资源名称] [年份/版本] 百度网盘 pan.baidu.com

Example searches:

  • "查理和巧克力工厂 2005 百度网盘 pan.baidu.com"
  • "The Matrix 4K 百度网盘"
  • "三体 电视剧 百度网盘"

Step 2: Extract Share Links

From search results, extract:

  • Share link URL (format: https://pan.baidu.com/s/[CODE])
  • Extraction code/password (提取码) if available
  • File name and description

Step 3: Verify and Access Share

Use browser automation to:

  1. Navigate to the share link
  2. Enter extraction code if required
  3. Verify the file exists and is accessible
  4. Check file details (name, size, expiration)

Step 4: Save to Netdisk

Option A: Direct CLI transfer (preferred) Use bdpan transfer command:

bdpan transfer \x3Cshare-link> -p \x3Cpassword> -d \x3Ctarget-folder>

Option B: Browser automation If CLI fails:

  1. Navigate to share page in browser
  2. Click "保存到网盘" (Save to Netdisk)
  3. Select target folder (e.g., "我的资源")
  4. Confirm save operation

Step 5: Verify Save

Confirm the file was saved successfully by:

  • Checking target folder contents via bdpan ls
  • Or verifying in browser

Common Issues & Solutions

Issue: Share link expired or invalid

Solution: Search for alternative links from different sources.

Issue: "转存文件超过可用空间" (Insufficient space)

Solution:

  • Check current usage: bdpan quota
  • Clean up space or purchase expansion
  • Report space issue to user

Issue: CLI returns HTTP 400 error

Solution: Use browser automation instead. Some share links have restrictions that prevent API access.

Issue: Browser login required

Solution:

  • User needs to manually log in via browser first
  • Or use the already-authenticated bdpan CLI session

Commands Reference

bdpan CLI Commands

# List files
bdpan ls [path]

# Create folder
bdpan mkdir \x3Cfolder-name>

# Transfer share to netdisk
bdpan transfer \x3Cshare-link> -p \x3Cpassword> -d \x3Ctarget-folder>

# Download from share
bdpan download \x3Cshare-link> \x3Clocal-path> -p \x3Cpassword>

# Check quota
bdpan quota

Browser Commands

# Start browser
browser start

# Navigate to URL
browser navigate \x3Curl>

# Click element
browser click --ref=\x3Cref>

# Type text
browser type --ref=\x3Cref> --text=\x3Ctext>

# Get page snapshot
browser snapshot

Best Practices

  1. Always verify share links before attempting transfer - some may be expired or fake
  2. Check netdisk space before saving to avoid errors
  3. Prefer CLI methods for reliability, fallback to browser automation
  4. Save to organized folders (e.g., "我的资源/电影/", "我的资源/电视剧/")
  5. Report share information to user: link, password, file size, expiration

Example Sessions

Example 1: Search + Save Request

User: "帮我找查理和巧克力工厂的电影资源并保存到网盘"

Agent workflow:

  1. Search: 查理和巧克力工厂 2005 百度网盘 pan.baidu.com
  2. Find: Link https://pan.baidu.com/s/1RuPACBpk-1BY_fZl6DIirA, pwd: fyzv
  3. Verify via browser: File "133 查理和巧克力工厂 2005" exists
  4. Check space: 136.2GB/105GB used (full!)
  5. Report to user: Found resource but netdisk full, needs cleanup

Example 2: Direct Transfer Request

User: "请帮我转存星际穿越电影至我的百度网盘"

Agent workflow:

  1. Parse: User wants to transfer "星际穿越" movie to netdisk
  2. Search: 星际穿越 百度网盘 pan.baidu.com
  3. Find and verify available share links
  4. Attempt transfer via bdpan transfer or browser automation
  5. Report success or specific error (space full, link expired, etc.)

Example 3: English Request

User: "Save The Matrix to my netdisk"

Agent workflow:

  1. Parse: User wants "The Matrix" movie saved
  2. Search: The Matrix 百度网盘 pan.baidu.com
  3. Find share link with extraction code
  4. Transfer to user's "我的资源" folder
  5. Confirm save location and file details

References

For detailed browser automation patterns, see references/browser-patterns.md

安全使用建议
Before installing: 1) Confirm you (or your environment) have the bdpan CLI and the 'browser' automation tool the skill references — the skill does not declare these dependencies but will expect them at runtime. 2) Do not supply account credentials to the skill; instead authenticate manually in the browser or bdpan session as the SKILL.md suggests. 3) Be aware this automates finding and copying shared links; ensure you are not facilitating infringement and that saving the found content complies with your policies. 4) Because the skill interacts with external websites, test it in a controlled/sandboxed environment first. 5) If you plan to use it, ask the publisher to update metadata to declare required binaries/dependencies and to document exactly how authentication is handled.
能力评估
Purpose & Capability
The name and description (search web, find pan.baidu.com share links, and save them to Baidu Netdisk) align with the SKILL.md workflow. However, the SKILL.md repeatedly relies on two runtime tools — a 'bdpan' CLI and a 'browser' automation interface — yet the skill metadata lists no required binaries or dependencies. That omission is an inconsistency: a legitimate implementation would declare those as required.
Instruction Scope
The instructions stay within the stated purpose: they describe search queries, extraction of share links and passwords, verifying shares, and saving/transferring via CLI or browser automation. The instructions do not ask the agent to read unrelated local files or environment variables. They do assume the agent can perform web searches and automated browser actions and that a logged-in bdpan session may exist.
Install Mechanism
There is no install spec (instruction-only), which is low-risk. The included packaging script is benign and only packages directories into a zip; it does not perform network calls or privilege escalation.
Credentials
The skill declares no required environment variables or credentials, which fits the metadata. However, it implicitly depends on authenticated sessions (bdpan CLI or browser login) — the SKILL.md suggests the user must provide or already have authentication. That implicit dependence on credentials should be made explicit in metadata so users know what secrets/sessions are needed.
Persistence & Privilege
The skill does not request persistent/always-enabled privileges and uses default autonomous invocation settings. It doesn't attempt to modify other skills or system-wide settings in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bdpan-resource-saver
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bdpan-resource-saver 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Search and save resources to Baidu Netdisk
元数据
Slug bdpan-resource-saver
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Baidu Netdisk Resource Saver 是什么?

Search for resources using Bing/Baidu, find Baidu Netdisk (百度网盘) share links, and save/transfer them to your netdisk. Use when the user wants to (1) Search f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 87 次。

如何安装 Baidu Netdisk Resource Saver?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bdpan-resource-saver」即可一键安装,无需额外配置。

Baidu Netdisk Resource Saver 是免费的吗?

是的,Baidu Netdisk Resource Saver 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Baidu Netdisk Resource Saver 支持哪些平台?

Baidu Netdisk Resource Saver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Baidu Netdisk Resource Saver?

由 nameefef(@nameefef)开发并维护,当前版本 v1.0.0。

💬 留言讨论