用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill list-docs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | list_docs |
| description | List documents and folders in a repository or folder |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["read:document"] |
| tags | ["document","list","folder","browse"] |
List all documents and folders in a repository or specific folder.
List docs, list documents, list files, list folder, 列出文档, 查看文档, 文件列表, 列出文件, 查看文件夹内容, ls, what's in this folder, show me the files, browse repository, 浏览文件夹, 查看有哪些文件, 查看仓库内容
docsys repos list to resolve name → vid. Present resolved vid to user for confirmation: "Listing documents in repository [name] (vid={resolved_vid}). Continue?"docsys doc list <vid> [pid] (pid defaults to 0 = root)docsys doc list <vid> [pid]
docsys ls <vid> [pid]
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| pid | number | no | Parent folder ID (default: 0 = root) |
User: "list documents in repository 1"
Skill triggers → calls: docsys doc list 1
Output: Folders and files at root level of repo 1
User: "列出文件夹 5 中的内容,仓库是 1"
Skill triggers → calls: docsys doc list 1 5
Output: 列出仓库 1 中文件夹 5 的内容
User: "ls in this repo"
Skill triggers → Step 1: vid=missing → Step 2: calls docsys repos list → user specifies vid=1 → Step 3: calls: docsys ls 1
Output: Folder contents at root
User: "list all files in repo 2"
Skill triggers → Step 1: vid=2 → Step 3: calls: docsys doc list 2 → Step 4: returns 150 items (>100) → shows first 50 items with note "Showing 50 of 150 items. Use pid filter or browse subfolders."
| Field | Type | Description |
|---|---|---|
| name | string | File or folder name |
| type | string | folder or file |
| size | string | File size (empty for folders) |
| modified | string | Last modified date |
| pid | number | Parent folder ID |
Success (EN): 📁 {name}/ | {size} | {modified}\n📄 {name} | {size} | {modified}
Success (中文): 📁 {name}/ | {size} | {modified}\n📄 {name} | {size} | {modified}
Paginated (EN): 📁 .../\n📄 ... | ...\n⚠️ Showing 50 of {N} items. Use subfolder PIDs to narrow results.
Paginated (中文): 📁 .../\n📄 ... | ...\n⚠️ 显示 {N} 个项目中的前 50 个。使用子文件夹 PID 缩小范围。
Not found (EN): ❌ Repository {vid} not found. Check available repos with 'docsys repos list'.
Not found (中文): ❌ 仓库 {vid} 不存在。使用 'docsys repos list' 查看可用仓库。
Permission denied (EN): ❌ Permission denied. You don't have access to this repository.
Permission denied (中文): ❌ 权限不足。您没有此仓库的访问权限。
Error: "Repository not found" | "Folder not found" | "Permission denied"
| Error | Cause |
|---|---|
| Usage: doc list [pid] | Missing vid |
| Repository not found | Invalid vid |
| Folder not found | Invalid pid |
| Permission denied | No read access |
/Repos/getDocList.do does not exist in v2.02.80 (returns 404)docsys search <vid> "." — searchDoc.do with searchWord=. returns all documents in the repository as a fallback enumeration methodpid, name, docId, and type for each itemSee references/ for related skills and API docs.