用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill download-doc命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | download_doc |
| description | Download a document to local filesystem |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["read:document"] |
| tags | ["document","download","file-transfer","export","get"] |
Download a document from a repository to the local filesystem.
Download, 下载, download doc, download file, 下载文档, 下载文件, export file, get file, 下载这个文件, save to local, retrieve document, 下载到本地
docsys repos list to find available repos. If docId missing but user says "this document" → call to locate it. If still unresolvable → ask user directly. Do not guess IDs.docsys docs list <vid>docsys download <vid> <docId>docsys download <vid> <docId>
docsys get <vid> <docId>
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID |
User: "download document 123 from repo 1"
Skill triggers → calls: docsys download 1 123
Output: Download confirmation with saved path
User: "下载文档 456 from repo 1"
Skill triggers → Step 1: vid=1, docId=456 → Step 4: calls: docsys download 1 456
Output: 下载结果
User: "save file 789 to local"
Skill triggers → Step 1: docId=789, vid=missing → Step 2: calls docsys repos list to find available repos → user specifies vid=2 → Step 4: calls: docsys download 2 789
Output: File saved to local disk
| Field | Type | Description |
|---|---|---|
| filename | string | Original document filename |
| local_path | string | Absolute path where file was saved |
| size | string | File size (bytes/KB/MB) |
| vid | number | Repository ID |
| docId | number | Document ID |
Success (EN): ✅ Downloaded | {filename} ({size}) → {local_path}
Success (中文): ✅ 已下载 | {filename} ({size}) → {local_path}
Overwrite warning: ⚠️ File already exists at {local_path}. Overwrite? [y/N]
Error: "Document not found" | "Permission denied" | "Disk full — file not written"
| Error | Cause |
|---|---|
| Usage: download | Missing arguments |
| Repository not found | Invalid vid |
| Document not found | Invalid docId |
| Permission denied | No read access |
| File not writable | Disk full or path permissions |
See references/ for related skills and API docs.