AI Agent Hub
Back to skills
Baidu NetDisk File Manager icon

Baidu NetDisk File Manager

Knowledge Management Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @zcwl/baidu-netdisk-skills into your AI assistant.

About this skill

Problem

When an agent operates a cloud drive directly, it may trigger the wrong service, treat writes as reads, or expose credentials and absolute paths in logs. This skill constrains Baidu NetDisk to /apps/bdpan/ and turns login, upload, download, sharing, search, and memory backup into explicit, confirmable steps.

How It Works

  • Trigger control: execution requires explicit Baidu NetDisk keywords such as 百度网盘, bdpan, or pan.baidu.com and a clear intent; generic “cloud drive” prompts clarification.
  • Operation gating: read-only commands like ls, search, and whoami may run directly; high-risk actions like rm, overwriting upload/download, and ambiguous writes must list impact and wait for confirmation.
  • Download strategy: use bdpan ls --json to get file size; download directly under 50MB with a longer Bash timeout, or run nohup in the background and poll progress for larger files.
  • Transfer and search: validate share links and extraction codes before transferring to NetDisk; search by category such as video, documents, or images, with --no-dir and --dir-only mutually exclusive.
  • Sharing and paths: choose --period 0/1/7/30 from user intent; use relative paths in commands while showing user-facing names such as “My App Data” instead of /apps/bdpan/.
  • Memory backup: in supported Claw environments, memory-backup.sh backs up files like AGENTS.md and MEMORY.md; restore previews overwritten files, requires confirmation, and writes a safety-net backup first.

Use Cases

  • Upload a local project directory to Baidu NetDisk docs from an agent session, checking remote name conflicts first.
  • Transfer a shared NetDisk link into /apps/bdpan/ target directory without downloading large files locally.
  • Locate and download a log archive over 50MB, start a nohup background job, and poll progress.
  • Back up AGENTS.md and MEMORY.md in a supported Claw environment, then review the restore overwrite list.

Best For

  • Engineers maintaining agent workspaces: upload local configs, logs, and memory files to Baidu NetDisk and restore them safely.
  • Ops staff handling large artifacts: let the agent download large NetDisk log archives in the background and report progress.
  • Researchers archiving knowledge bases: transfer shared NetDisk documents into /apps/bdpan/ and search by category.
  • Claw environment app developers: back up and restore AGENTS.md, MEMORY.md, and related memory files.