openakita/skills@baidu-netdisk

Manage Baidu Netdisk files via the Baidu Pan Open API.

2.0k|274|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-netdisk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openakita/skills@baidu-netdisk
Source: https://github.com/openakita/openakita/tree/main/skills/baidu-netdisk
Command: npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-netdisk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Managing files on Baidu Netdisk cloud storage normally requires manual work in the web or desktop client. This Skill lets you list, search, upload, download, share, and inspect files on Baidu Netdisk directly through natural language commands and a CLI wrapper around the Baidu Pan Open API.

Core Features & Use Cases

  • File Listing and Search: List directory contents with sorting options and search files recursively by keyword across your netdisk.
  • Quota and Metadata Inspection: Check storage quota usage and retrieve file metadata including download links via fsids.
  • Transfer and Sharing: Upload, download, transfer shared files, and create share links, with all operations scoped to the /apps/bdpan/ directory.
  • Use Case: Ask the assistant to find a report stored in your Baidu Netdisk, retrieve its download link, and check remaining storage quota in one conversation.

Quick Start

Set the BAIDU_NETDISK_TOKEN environment variable after OAuth login, then ask the assistant to list the files in your Baidu Netdisk root directory.

Frequently Asked Questions about openakita/skills@baidu-netdisk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list and search files on Baidu Netdisk from the command line?

Use the bundled bdpan.py script with the ls or search subcommands, for example python3 bdpan.py ls /apps/ or python3 bdpan.py search "report". Results are returned as JSON from the Baidu Pan Open API.

How do I authenticate with the Baidu Netdisk API?

Run the bdpan login OAuth flow in a browser to authorize access, which stores the token in ~/.config/bdpan/config.json. The script reads the token from the BAIDU_NETDISK_TOKEN environment variable.

Can I check my Baidu Netdisk storage quota programmatically?

Yes, run python3 bdpan.py info to query the quota endpoint. It returns total and free storage space along with expiration details from the Baidu API.

What are the limitations of this Baidu Netdisk skill?

All operations are restricted to the /apps/bdpan/ directory imposed by the Baidu open platform app scope. The script only supports listing, searching, quota, and metadata queries; uploads and shares require the full bdpan CLI.

Why does bdpan.py fail with a token error?

The script exits with an error when the BAIDU_NETDISK_TOKEN environment variable is not set. Export a valid OAuth access token before running any command, and re-login if the token has expired.