baidu-pcs-ls
列出百度网盘指定远程目录下的文件和子目录,支持递归展开。当用户需要查看百度网盘目录内容、浏览文件列表时激活此技能。
Best use case
baidu-pcs-ls is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
列出百度网盘指定远程目录下的文件和子目录,支持递归展开。当用户需要查看百度网盘目录内容、浏览文件列表时激活此技能。
Teams using baidu-pcs-ls should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ls/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How baidu-pcs-ls Compares
| Feature / Agent | baidu-pcs-ls | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
列出百度网盘指定远程目录下的文件和子目录,支持递归展开。当用户需要查看百度网盘目录内容、浏览文件列表时激活此技能。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 百度网盘目录列表 ## 使用场景 - 查看远程目录中有哪些文件 - 确认文件是否已存在于网盘 - 浏览远程目录树结构 ## 命令格式 ```bash baidu-pcs-cli-rs ls <远程路径> [-r] # 别名 baidu-pcs-cli-rs list <远程路径> [-r] ``` ## 参数说明 | 参数 | 类型 | 说明 | 示例 | |------|------|------|------| | `<远程路径>` | 必填 | 百度网盘上的目录路径 | `/我的文件/照片` | | `-r` / `--recursive` | 可选 | 递归列出所有子目录内容 | `-r` | ## 输出格式 每行输出格式为: ``` <类型> <大小(字节)> <文件名> <完整路径> <文件ID> ``` - 类型:`d` 表示目录,`-` 表示文件 ## 示例 ```bash # 列出根目录 baidu-pcs-cli-rs ls / # 列出指定目录 baidu-pcs-cli-rs ls /我的文件/项目 # 递归列出目录及所有子目录 baidu-pcs-cli-rs ls /我的文件 -r ```
Related Skills
baidu-pcs-wget
下载百度网盘分享链接中的文件到本地,支持需要提取码的分享链接,可指定本地保存目录。当用户需要从百度网盘分享链接下载文件时激活此技能。
baidu-pcs-version
显示百度网盘 CLI 工具的版本信息。当用户需要确认当前安装的版本号时激活此技能。
baidu-pcs-tx
将本地文件或目录上传到百度网盘(本地 → 远程),支持递归上传目录和上传后删除本地源文件。当用户需要上传文件到网盘时激活此技能。
baidu-pcs-self
管理百度网盘 CLI 工具自身,包括查看配置文件路径、检查更新和自动下载最新版本。当用户需要查看配置文件位置、检查或升级工具版本时激活此技能。
baidu-pcs-rx
从百度网盘下载文件或目录到本地(远程 → 本地),支持递归下载整个目录。当用户需要从网盘下载文件或目录到本机时激活此技能。
baidu-pcs-mv
在百度网盘内移动或重命名文件/目录(远程到远程)。当用户需要在网盘中移动文件位置或对文件/目录重命名时激活此技能。
baidu-pcs-mkdir
在百度网盘中创建一个或多个远程目录,支持自动创建父目录。当用户需要在网盘中新建目录、组织文件结构时激活此技能。
baidu-pcs-cp
在百度网盘内复制文件或目录(远程到远程),不涉及本地文件。当用户需要在网盘内部复制、备份文件或目录时激活此技能。
baidu-pcs-completion
为百度网盘 CLI 工具生成 shell 自动补全脚本,支持 bash/zsh/fish/powershell 等主流 shell,可安装到 shell 配置文件中。当用户需要启用命令行 Tab 补全功能时激活此技能。
baidu-pcs-backup
将本地文件/目录增量备份到百度网盘,仅上传网盘中尚不存在的文件,已存在且一致的文件自动跳过。当用户需要定期备份本地数据到网盘、避免重复上传时激活此技能。
baidu-pcs-auth
对百度网盘 CLI 工具(baidu-pcs-cli-rs)执行 OAuth 设备码授权登录,或检查当前登录状态是否有效。当用户需要登录百度网盘、切换账号或授权认证时激活此技能。
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.