Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill get-doc명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | get_doc |
| description | Get document details or preview content |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["read:document"] |
| tags | ["document","get","view","metadata","preview","cat"] |
Retrieve document details, metadata, or preview content. For text files shows content; binary files show metadata only.
Get doc, view doc, cat doc, 查看文档, 获取文档, 文档详情, 查看文档内容, show document, view this file, what's in this doc, 文档信息, 文件内容查看
docsys repos list to resolve. If docId missing but user says "this doc" → call docsys docs list <vid> to locate it.docsys doc get <vid> <docId> or docsys cat <vid> <docId>docsys doc get <vid> <docId>
docsys cat <vid> <docId>
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID |
User: "show details of document 123 in repo 1"
Skill triggers → calls: docsys doc get 1 123
Output: Document metadata (and content for text files)
User: "cat doc 456"
Skill triggers → Step 1: docId=456, vid=missing → Step 2: calls docsys repos list → user specifies vid=2 → calls: docsys cat 2 456
Output: Document details or content
User: "查看文档 789 的内容"
Skill triggers → Step 1: docId=789, vid=missing → Step 2: calls docsys repos list → user specifies vid=3 → Step 3: (file size unknown yet) → calls: docsys doc get 3 789 → if large → offer preview → calls: docsys cat 3 789
Output: 文档详情或内容预览
| Field | Type | Description |
|---|---|---|
| name | string | Document name |
| docId | number | Document ID |
| vid | number | Repository ID |
| size | string | File size (bytes/KB/MB) |
| type | string | MIME type (text/binary) |
| updated | string | Last modified date |
| content | string | Full content (text files only) |
Text file (EN): ✅ {name} ({size}) | Last modified: {updated}\n{content preview}
Text file (中文): ✅ {name}({size})| 修改时间: {updated}\n{内容预览}
Binary file (EN): ✅ {name} ({size}) | Type: {type} | Updated: {updated}\n⚠️ Binary — metadata only, content not displayed.
Binary file (中文): ✅ {name}({size})| 类型: {type} | 修改时间: {updated}\n⚠️ 二进制文件 — 仅显示元数据,内容不可预览。
Large file (EN): ⚠️ File is large ({size}). Show preview (first 100 lines)? [y/N]
Large file (中文): ⚠️ 文件较大({size})。显示预览(前 100 行)?[y/N]
Not found (EN): ❌ Document {docId} not found in repo {vid}. Verify the docId and try again.
Not found (中文): ❌ 文档 {docId} 在仓库 {vid} 中不存在。请检查 docId 是否正确。
Permission denied (EN): ❌ Permission denied. You don't have read access to this document.
Permission denied (中文): ❌ 权限不足。您没有此文档的读取权限。
Error: "Document not found" | "Permission denied" | "Usage: doc get " |
See references/ for related skills and API docs.