baidu-pcs-completion
为百度网盘 CLI 工具生成 shell 自动补全脚本,支持 bash/zsh/fish/powershell 等主流 shell,可安装到 shell 配置文件中。当用户需要启用命令行 Tab 补全功能时激活此技能。
Best use case
baidu-pcs-completion is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
为百度网盘 CLI 工具生成 shell 自动补全脚本,支持 bash/zsh/fish/powershell 等主流 shell,可安装到 shell 配置文件中。当用户需要启用命令行 Tab 补全功能时激活此技能。
Teams using baidu-pcs-completion 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/completion/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How baidu-pcs-completion Compares
| Feature / Agent | baidu-pcs-completion | 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?
为百度网盘 CLI 工具生成 shell 自动补全脚本,支持 bash/zsh/fish/powershell 等主流 shell,可安装到 shell 配置文件中。当用户需要启用命令行 Tab 补全功能时激活此技能。
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
# 百度网盘 Shell 补全脚本 ## 使用场景 - 启用命令行 Tab 自动补全 - 将补全脚本安装到 shell 配置文件中持久生效 ## 命令格式 ```bash baidu-pcs-cli-rs completion [-s <shell>] [-i] [-y] ``` ## 参数说明 | 参数 | 类型 | 说明 | 示例 | |------|------|------|------| | `-s` / `--shell` | 可选 | 指定 shell 类型(bash/zsh/fish/powershell/elvish),默认自动检测 | `-s zsh` | | `-i` / `--install` | 可选 | 将补全脚本安装到 shell 配置文件中 | `-i` | | `-y` / `--yes` | 可选 | 跳过确认提示,非交互模式 | `-y` | ## 注意事项 - 不指定 `--shell` 时会自动检测当前 shell 类型 - 使用 `--install` 可将补全脚本写入 shell 配置文件(如 ~/.bashrc、~/.zshrc),重启 shell 后生效 - `--yes` 配合 `--install` 使用,跳过安装确认提示 ## 示例 ```bash # 生成当前 shell 的补全脚本(输出到终端) baidu-pcs-cli-rs completion # 生成 zsh 补全脚本 baidu-pcs-cli-rs completion -s zsh # 安装补全脚本到 shell 配置文件 baidu-pcs-cli-rs completion --install # 非交互安装(跳过确认) baidu-pcs-cli-rs completion --install --yes ```
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-ls
列出百度网盘指定远程目录下的文件和子目录,支持递归展开。当用户需要查看百度网盘目录内容、浏览文件列表时激活此技能。
baidu-pcs-cp
在百度网盘内复制文件或目录(远程到远程),不涉及本地文件。当用户需要在网盘内部复制、备份文件或目录时激活此技能。
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.