a6590072

Yuque

知識管理v1.0.0
作者:a6590072更新於 2026-05-11yuque@clawhub_a6590072/yuque
知識庫問答資料整理檔案問答#Knowledge Base#Document#Personal

據 AlphaMoat 統計,截至 2026-09,Yuque 累計下載 1,094 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,984 位,在「知識管理」分類(442 個)中排名第 435 位。

累計安裝
134
累計下載
1094
星標
-
全站排名
#4,984
全站前 99% · 「知識管理」前 99%
平台累計安裝累計下載星標評論
ClawHub ↗271019--
SkillHub ↗1341094-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能支援列出倉庫、搜尋和讀取文件,以及建立或更新內容;需要 Yuque 令牌,並可能訪問個人或團隊知識庫。

資料釋出於 2026-10-29

可以用來做什麼

  • 適合需要在代理工作流中檢索或管理語雀文件與知識庫的使用者。

什麼時候用

  • 透過受保護的環境變數或金鑰管理器儲存令牌;建立、更新或刪除文件前,確認具體操作和目標倉庫。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

請查詢與專案規劃相關的語雀文件並彙總,只閱讀,不要建立、修改或刪除文件。

月度資料趨勢

累計下載1094
21968911592026-03 · 累計下載 2842026-05 · 累計下載 6242026-06 · 累計下載 7272026-07 · 累計下載 9072026-08 · 累計下載 9702026-09 · 累計下載 109426-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-091094—-
2026-08970+6.9%-
2026-07907+24.8%-
2026-06727+16.5%-
2026-05624—-
2026-03284—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.0 KB · ClawHub v1.0.0
---
name: yuque
description: Manage Yuque (语雀) knowledge base documents and repositories. Use when users need to interact with Yuque for document operations including reading documents, listing repositories, searching content, creating documents, and managing knowledge bases. Supports both personal and team spaces.
---

# Yuque Skill

Interact with Yuque (语雀) knowledge base platform via the Yuque Open API.

## Prerequisites
展開全部(共 120 行)

- Yuque API Token (stored in environment variable `YUQUE_TOKEN`)
- Base URL: `https://www.yuque.com/api/v2`

## Authentication

All API requests require an `X-Auth-Token` header with your Yuque token.

## Core Workflows

### 1. Get User Info

```bash
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/user
```

### 2. List User Repositories

```bash
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/users/<login>/repos
```

### 3. List Repository Documents

```bash
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/repos/<namespace>/docs
```

### 4. Get Document Detail

```bash
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/repos/<namespace>/docs/<slug>
```

### 5. Get Document Content (HTML/Markdown)

```bash
# Get HTML content
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/repos/<namespace>/docs/<slug>?raw=1

# Get Markdown content
curl -s -H "X-Auth-Token: $YUQUE_TOKEN" https://www.yuque.com/api/v2/repos/<namespace>/docs/<slug>?raw=1 | python scripts/parse_yuque.py --format md
```

### 6. Create Document

```bash
curl -s -X POST \
  -H "X-Auth-Token: $YUQUE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "Document Title", "body": "Document content in Markdown"}' \
  https://www.yuque.com/api/v2/repos/<namespace>/docs
```

### 7. Update Document

```bash
curl -s -X PUT \
  -H "X-Auth-Token: $YUQUE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "New Title", "body": "Updated content"}' \
  https://www.yuque.com/api/v2/repos/<namespace>/docs/<id>
```

### 8. Search Documents

Yuque API doesn't have a direct search endpoint. Use list + filter approach:

```bash
# List all docs in a repo and filter by title
python scripts/search_yuque.py --namespace <namespace> --query "keyword"
```

## Common Namespace Formats

- Personal repo: `username/repo-slug`
- Team repo: `teamname/repo-slug`

## Response Format

All API responses are JSON with this structure:

```json
{
  "data": { ... },
  "meta": { ... }
}
```

## Error Handling

Common HTTP status codes:
- `401`: Unauthorized (check token)
- `403`: Forbidden (no permission)
- `404`: Resource not found
- `429`: Rate limited (wait and retry)

## Helper Scripts

Use the provided Python scripts for common operations:

- `scripts/yuque_cli.py` - Full CLI for Yuque operations
- `scripts/parse_yuque.py` - Parse Yuque HTML to Markdown
- `scripts/search_yuque.py` - Search documents in repositories

## References

- API Documentation: See [references/api.md](references/api.md)
- Common Operations: See [references/examples.md](references/examples.md)

「知識管理」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。