← Back to Skills Marketplace
nameefef

Baidu Netdisk Resource Saver

by nameefef · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
87
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bdpan-resource-saver
Description
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...
README (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

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bdpan-resource-saver
  3. After installation, invoke the skill by name or use /bdpan-resource-saver
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Search and save resources to Baidu Netdisk
Metadata
Slug bdpan-resource-saver
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 87 downloads so far.

How do I install Baidu Netdisk Resource Saver?

Run "/install bdpan-resource-saver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Baidu Netdisk Resource Saver free?

Yes, Baidu Netdisk Resource Saver is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Baidu Netdisk Resource Saver support?

Baidu Netdisk Resource Saver is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Baidu Netdisk Resource Saver?

It is built and maintained by nameefef (@nameefef); the current version is v1.0.0.

💬 Comments