Jay

OneDrive Files

辦公效率v1.0.5
作者:Jay更新於 2026-06-09共 9 個版本 · 最新版本釋出於 2026-06-09onedrive-files@clawhub_hith3sh/onedrive-files
檔案處理流程自動化

據 AlphaMoat 統計,截至 2026-10,OneDrive Files 累計下載 7,473 次、獲 32 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 3,751 位,在「辦公效率」分類(909 個)中排名第 390 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
7473
星標
32
全站下載量排名
#3,751
全站前 35% · 「辦公效率」前 43%
平台累計下載星標評論
ClawHub ↗747332-
SkillHub ↗533532—

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

這個技能是做什麼的

透過 Microsoft Graph 瀏覽、搜尋、下載和共享 OneDrive 檔案,建立資料夾,上傳檔案以及管理檔案操作。當用戶需要這些功能時使用此技能。

月度資料趨勢

累計下載7473
760436579702026-05 · 累計下載 12572026-06 · 累計下載 19252026-07 · 累計下載 69282026-08 · 累計下載 71322026-09 · 累計下載 72872026-10 · 累計下載 747326-0526-0926-10
星標32
419342026-05 · 星標 62026-06 · 星標 322026-07 · 星標 322026-08 · 星標 322026-09 · 星標 322026-10 · 星標 3226-0526-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-107473—32
2026-097287—32
2026-087132+2.9%32
2026-076928+259.9%32
2026-061925+53.1%32
2026-051257—6

SKILL.md 原文

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

17 KB · ClawHub v1.0.5
---
name: onedrive-files
description: Browse, search, download, and share OneDrive files, create folders, upload files, and manage file actions via Microsoft Graph. Use this skill when users want to manage OneDrive files, SharePoint documents, sharing links, and drive metadata using the Microsoft Graph API.
---

# OneDrive Files

![OneDrive Files](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/brand-logos/onedrive.svg)

Access OneDrive and SharePoint via Microsoft Graph API with managed OAuth authentication. Browse files, search folders, inspect details, create folders, share links, upload files, and manage drive metadata.
展開全部(共 356 行)

This skill uses [ClawLink](https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=onedrive-files) for hosted connection flows and credentials so you do not need to configure Microsoft Graph access yourself.

### Setup in 3 Steps

| Step 1: Install | Step 2: Pair Account | Step 3: Connect OneDrive |
|:---:|:---:|:---:|
| ![Install](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/pairing/initialstep_1.gif) | ![Pair](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/approve_process.gif) | *App-specific connection GIF coming soon* |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect OneDrive |

## How It Works

```
┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│ Microsoft Graph  │
│   (User Chat)   │     │   (OAuth)    │     │   (OneDrive API) │
└─────────────────┘     └──────────────┘     └──────────────────┘
          │                       │                       │
          │  1. Install Plugin   │                       │
          │  2. Pair Device      │                       │
          │  3. Connect OneDrive  │                       │
          │                      │  4. Secure Token      │
          │                      │  5. Proxy Requests    │
          │                      │                       │
          ▼                      ▼                       ▼
    ┌──────────┐           ┌──────────┐           ┌──────────┐
    │  SKILL   │           │ Dashboard│           │ OneDrive│
    │  File    │           │ Auth     │           │ /SharePt│
    └──────────┘           └──────────┘           └──────────┘
```

## Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

```bash
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```

Then tell the user: "OpenClaw has been restarted. Send `/new` as a standalone message to start a fresh chat, then ask for OneDrive again."

## Quick Start

```bash
# List items in OneDrive root
clawlink_call_tool --tool "one_drive_onedrive_list_items" --params '{}'

# Search for files
clawlink_call_tool --tool "one_drive_search_items" --params '{"query": "report.xlsx"}'

# Get file metadata
clawlink_call_tool --tool "one_drive_get_item" --params '{"item_id": "FILE_ID"}'
```

## Authentication

All OneDrive tool calls are authenticated automatically by ClawLink using the user's connected Microsoft account.

**No API key is required in chat.** ClawLink stores the OAuth token securely and injects it into every Microsoft Graph request on the user's behalf.

### Getting Connected

1. Install the ClawLink plugin (see Install above).
2. Pair the plugin with `clawlink_begin_pairing` if it is not configured yet.
3. Open https://claw-link.dev/dashboard?add=onedrive and connect OneDrive.
4. Call `clawlink_list_integrations` to verify the connection is active.

## Connection Management

### List Connections

```bash
clawlink_list_integrations
```

**Response:** Returns all connected integrations. Look for `onedrive` in the list.

### Verify Connection

```bash
clawlink_list_tools --integration onedrive
```

**Response:** Returns the live tool catalog for OneDrive.

### Reconnect

If OneDrive tools are missing or the connection shows an error:

1. Direct the user to https://claw-link.dev/dashboard?add=onedrive
2. After they confirm, call `clawlink_list_integrations` to verify
3. Then call `clawlink_list_tools --integration onedrive`

## Security& Permissions

- Access is scoped to files, folders, and drive data within the connected Microsoft account.
- **All write operations require explicit user confirmation.** Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
- Destructive actions (delete file, remove sharing permission) must be confirmed.
- Sharing link creation grants external access — confirm the recipient and permission level.

## Tool Reference

### Drive & Item Operations

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_list_drives` | List all drives accessible to the authenticated user | Read |
| `one_drive_get_drive` | Get drive properties by ID | Read |
| `one_drive_get_root` | Get the root folder of the user's OneDrive | Read |
| `one_drive_get_item` | Get file or folder metadata by ID | Read |
| `one_drive_get_item_permissions` | List permissions on a file or folder | Read |
| `one_drive_get_item_thumbnails` | Get thumbnail URLs for a file | Read |
| `one_drive_get_item_versions` | Get version history of a file | Read |
| `one_drive_list_folder_children` | List contents of a folder by ID or path | Read |
| `one_drive_list_root_drive_changes` | Track changes in the drive root via delta token | Read |
| `one_drive_search_items` | Search files and folders by keyword | Read |
| `one_drive_get_recent_items` | Get recently accessed files | Read |
| `one_drive_get_shared_items` | Get items shared with the user | Read |
| `one_drive_preview_drive_item` | Generate a short-lived preview URL for a file | Read |

### File & Folder Management

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_onedrive_list_items` | List files and folders in OneDrive root | Read |
| `one_drive_onedrive_find_file` | Find a file in a specific folder | Read |
| `one_drive_onedrive_find_folder` | Find folders by name | Read |
| `one_drive_onedrive_create_folder` | Create a new folder in OneDrive | Write |
| `one_drive_onedrive_create_text_file` | Create a text file in OneDrive | Write |
| `one_drive_onedrive_upload_file` | Upload a file to OneDrive | Write |
| `one_drive_move_item` | Move a file or folder to a new location | Write |
| `one_drive_copy_item` | Copy a file or folder to a new location | Write |
| `one_drive_update_drive_item_metadata` | Update file/folder metadata (rename, move) | Write |
| `one_drive_update_file_content` | Update file content via upload session | Write |
| `one_drive_delete_item` | Delete a file or folder (moves to recycle bin) | Write |
| `one_drive_delete_item_permanently` | Permanently delete a file or folder | Write |

### Sharing & Permissions

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_create_link` | Create a sharing link for a file or folder | Write |
| `one_drive_invite_user_to_item` | Invite a user to access a file or folder | Write |
| `one_drive_grant_share_permission` | Grant access via a sharing URL | Write |
| `one_drive_create_item_permission` | Create a permission on an item | Write |
| `one_drive_delete_item_permission` | Remove a permission from an item | Write |
| `one_drive_update_drive_items_permissions` | Update permission roles | Write |
| `one_drive_list_share_permissions` | List permissions from a sharing URL | Read |

### Check In / Check Out

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_checkout_item` | Check out a file to prevent others from editing | Write |
| `one_drive_checkin_item` | Check in a previously checked-out file | Write |
| `one_drive_discard_checkout` | Discard checkout and discard changes | Write |

### Site & SharePoint Operations

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_get_site` | Get SharePoint site metadata | Read |
| `one_drive_get_site_page_content` | Get SharePoint site page content | Read |
| `one_drive_list_site_lists` | List SharePoint lists in a site | Read |
| `one_drive_list_site_subsites` | List subsites of a SharePoint site | Read |
| `one_drive_list_site_columns` | List column definitions for a SharePoint site | Read |
| `one_drive_get_sharepoint_list_items` | Get items from a SharePoint list | Read |
| `one_drive_get_group_drive` | Get the document library for a Microsoft 365 group | Read |

### Download & Conversion

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_download_file` | Download a file by ID (returns S3 URL) | Read |
| `one_drive_download_file_by_path` | Download a file by path | Read |
| `one_drive_download_item_as_format` | Download a file converted to PDF or HTML | Read |
| `one_drive_download_item_version` | Download a specific previous version of a file | Read |

### Following & Activity

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_follow_item` | Follow a file or folder | Write |
| `one_drive_unfollow_item` | Stop following a file or folder | Write |
| `one_drive_get_followed_item` | Get a followed item | Read |
| `one_drive_list_activities` | Get recent activity on the drive | Read |
| `one_drive_list_item_activities` | Get activities for a specific item | Read |

### Sharing URL Resolution

| Tool | Description | Mode |
|------|-------------|------|
| `one_drive_get_drive_item_by_sharing_url` | Resolve a sharing URL to item metadata | Read |
| `one_drive_get_share` | Get a shared item by share ID | Read |

## Code Examples

### List files in a folder

```bash
clawlink_call_tool --tool "one_drive_list_folder_children" \
  --params '{
    "item_id": "FOLDER_ID"
  }'
```

### Search for files

```bash
clawlink_call_tool --tool "one_drive_search_items" \
  --params '{
    "query": "quarterly report",
    "filter": "file neq null"
  }'
```

### Create a sharing link

```bash
clawlink_call_tool --tool "one_drive_create_link" \
  --params '{
    "item_id": "FILE_ID",
    "type": "view",
    "scope": "organization"
  }'
```

### Upload a file

```bash
clawlink_call_tool --tool "one_drive_onedrive_upload_file" \
  --params '{
    "parent_folder_id": "FOLDER_ID",
    "file_name": "document.pdf",
    "file_content": "BASE64_ENCODED_CONTENT"
  }'
```

### Move a file

```bash
clawlink_call_tool --tool "one_drive_move_item" \
  --params '{
    "item_id": "FILE_ID",
    "parent_folder_id": "NEW_FOLDER_ID"
  }'
```

## Discovery Workflow

1. Call `clawlink_list_integrations` to confirm OneDrive is connected.
2. Call `clawlink_list_tools --integration onedrive` to see the live catalog.
3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
4. If the user describes a capability but the exact tool is unclear, call `clawlink_search_tools` with a short query and integration `onedrive`.
5. If no OneDrive tools appear, direct the user to https://claw-link.dev/dashboard?add=onedrive.

## Execution Workflow

```
┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → search → describe → call                      │
│                                                             │
│  Example: List folder → Get file → Show metadata           │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                     │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Describe tool → Preview changes → User approves   │
│           → Execute update                                  │
└─────────────────────────────────────────────────────────────┘
```

1. For unfamiliar tools, ambiguous requests, or any write action, call `clawlink_describe_tool` first.
2. Use the returned guidance, schema, `whenToUse`, `askBefore`, `safeDefaults`, `examples`, and `followups` to shape the call.
3. Prefer read, list, search, and get operations before writes when that reduces ambiguity.
4. For writes or anything marked as requiring confirmation, call `clawlink_preview_tool` first.
5. Execute with `clawlink_call_tool`. Pass confirmation only after the preview matches the user's intent.
6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

## Notes

- Item IDs containing `{` and `}` must be URL-encoded (`%7B` and `%7D`) in raw Graph URLs. ClawLink handles this automatically.
- Large file uploads (>4 MB) use chunked upload sessions — do not assume the upload is complete immediately.
- Deleted items are moved to the recycle bin, not permanently deleted, unless using `delete_item_permanently`.
- Sharing links have independent availability — thumbnail URLs are external HTTP endpoints.
- Rate limit errors (HTTP 429) include a `Retry-After` header — use exponential backoff.

## Error Handling

| Status / Error | Meaning |
|----------------|---------|
| Tool not found | The tool name does not exist in the current catalog. Verify with `clawlink_list_tools --integration onedrive`. |
| Missing connection | OneDrive is not connected. Direct the user to https://claw-link.dev/dashboard?add=onedrive. |
| `ItemNotFound` | File or folder does not exist. Check the `item_id` or path. |
| `nameAlreadyExists` | A file or folder with that name already exists at the destination. |
| `InvalidArgument` | Invalid parameter or missing required field. Review the tool schema with `clawlink_describe_tool`. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |

### Troubleshooting: Tools Not Visible

1. Check that the ClawLink plugin is installed:
   ```bash
   openclaw plugins list
   ```
2. If the plugin is installed but tools are missing, tell the user to send `/new` as a standalone message to reload the catalog.
3. If a fresh chat does not help, run:
   ```bash
   openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
   openclaw gateway restart
   ```
4. After restart, tell the user to send `/new` again and retry.

### Troubleshooting: Invalid Tool Call

1. Ensure the integration slug is exactly `onedrive`.
2. Use `clawlink_describe_tool` to verify parameter names and types before calling.
3. For write operations, always call `clawlink_preview_tool` first.

## Resources

- [Microsoft Graph OneDrive API Overview](https://learn.microsoft.com/en-us/graph/api/resources/onedrive)
- [DriveItem Resource](https://learn.microsoft.com/en-us/graph/api/resources/driveitem)
- [SharePoint REST API](https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service)
- ClawLink: https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=onedrive-files
- ClawLink Docs: https://docs.claw-link.dev/openclaw
- ClawLink Verification: https://claw-link.dev/verify

## Related Skills

- [Microsoft Excel](https://clawhub.ai/hith3sh/microsoft-excel-spreadsheets) — For Excel workbook operations
- [Outlook Inbox](https://clawhub.ai/hith3sh/outlook-inbox) — For Outlook email and calendar
- [OneNote Notes](https://clawhub.ai/hith3sh/onenote-notes) — For OneNote notebook operations
- [SharePoint Sites](https://clawhub.ai/hith3sh/sharepoint-sites) — For SharePoint site operations

---

**Powered by [ClawLink](https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=onedrive-files)** — an integration hub for OpenClaw

![ClawLink Logo](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/logo/link_logo_black_small.png)

「辦公效率」分類下的熱門技能

騰訊文件 TENCENT DOCS辦公效率

透過 MCP 在騰訊文件裡新建、編輯與管理線上文件的完整操作手冊。

↓ 218.4萬★ 327u_b0de8114
WPS Office 全家桶辦公效率

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/純Python)智慧識別使用者已安裝軟體,純Python模式支援排序/篩選/圖表/公式/統計,含文件模板(程式碼生成)、最佳實踐案例、故障排除大章(20+避坑+15 FAQ+15錯誤ID 統一索引)、自動重試、硬體自適應、環境自檢、Skill更新提醒;v5.1新增:kingdoc雲端橋接(白名單探測+配置預檢+subprocess上傳+差異檢查)、條件格式/資料驗證跨引擎IO(JSON中間格式保真往返)、會議紀要三段式要素化(待辦清單+決策記錄+風險異議)+說話人標註(MFCC聚類);v5.2新增:公文一鍵排版(GB/T 9704 規則庫約束+結構識別套版+紅頭預留位+聯合行文)、批次水印與敏感資訊打碼(身份證/手機號/銀行卡/電子郵件雙軌識別+黑色矩形覆蓋+打碼清單)、跨文件知識檢索與問答(本地TF-IDF零依賴+跳轉+可選zwjh記憶橋接);刪除:與contract-review重複的輕量合同審查模組,改為文件互鏈引導;v5.2.5修復:MS Office引擎下Excel/PPT建立必然失敗(錯用Word COM物件),新增get_ms_excel/get_ms_ppt及三槽位統一釋放release_ms,MS Office路徑透傳filepath引數;v5.3.5修復:SKILL.md frontmatter 修復 tags 塊序列誤混入聯絡方式行導致標準 YAML 解析失敗;v5.4.0新增:留存型功能——定時任務與報告中心(schedule_register 升級為三平台統一排程層 schtasks/cron/launchd,錯過策略 skip/run_once,登錄檔 JSON 可匯出匯入;新建 report_center.py 報告中心,templates/reports/*.json 引數化模板 + ECharts 單檔案 HTML 輸出(圖表內聯、無服務端、雙擊即開);report_generator 升級支援 --format html;wps.py CLI 統一埋點 SQLite,自動供 report_center 生成周度使用摘要附在報告末尾;watch.py 職責收窄為純事件採集);v5.3.0新增:統一CLI入口 wps(registry.json登錄檔分發,office --app/--action 與 convert 子命令、--list 一屏列出全部命令,薄路由層不改指令碼內部邏輯)、全命令 --json 機器可讀輸出(固定 ok/error_id/elapsed/data 四欄位,對齊 E001-E015,wps_error.py 新增 emit_json 統一齣口)、_worker 啟動最佳化(wps_pure 改惰性載入,pywin32/python-docx/openpyxl 經核查已惰性匯入,ENGINE_CACHE 程序級單例複用,COM 釋放統一走 release_ms 三槽位)、轉換三入口合併為 convert(format_converter/md_converter/wps_docx_to_ppt 內部按目標格式路由,舊指令碼保留為相容別名並提示新命令,v6.0.0 移除)

↓ 76.7萬★ 159user_1a470ba8
ppt-generator-skill辦公效率

按主題與風格自動生成 PPT 檔案的技能。

↓ 59.3萬★ 346user_3b34947d
秘書材料星公文寫作-妙筆skill辦公效率

體制內資深辦公室主任+管理學博士,自學程式設計開發的智慧公文寫作Skill,讓所有辦公室同仁少掉頭髮、少加無用的班,材料一稿過關,省下的時間留給自己、享受生活!————————我們能給你帶來的核心價值:1、顛覆傳統寫作:邏輯建模38類公文全鏈條,特有模板化引導問答模式,分分鐘省心生成高質量大稿。--------2、替你“向上管理”:獨有審稿人畫像機制,文稿一鍵結構性修改,精準匹配審稿人畫像,過稿率提升至少10倍!----------3、‌杜絕AI編造:缺失的數字、文號、人名、日期一律用[待補]標註,絕不杜撰,守住公文底線。-----------4、‌演算法格式托底:數十萬全量智控知識庫+6500行前沿核心控制程式碼,格式精準對齊GB/T 9704,出稿零失誤。——————————————————本skill歷史版本開放了5%知識庫的免費試用版,下載即可使用,但需注意:知識庫有著作權,僅用於個人使用,不可用於其他任何目的。有興趣的可以試試。——————————————————————單次付費版skill已釋出,2元一次使用全量知識庫。具體在釋出者“熵衍資訊”主頁skill裡。

↓ 57.8萬★ 46u_70fc650d
WPS Office 全家桶辦公效率

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/純Python)智慧識別使用者已安裝軟體,純Python模式支援排序/篩選/圖表/公式/統計,含文件模板(程式碼生成)、最佳實踐案例、故障排除大章(20+避坑+15 FAQ+15錯誤ID 統一索引)、自動重試、硬體自適應、環境自檢、Skill更新提醒;v5.0新增:定時任務註冊管理(schtasks/crontab)、目錄輪詢監聽(YAML規則+大檔案分片)、使用統計與穩定性中心(SQLite埋點+引擎健康+引擎偏好)、COM三步自愈(regsvr32→修復安裝→手動指引)、對話式資料查詢(NL2SQL式意圖解析+查詢計劃+連續追問)、multi-agent編排引擎橋接(白名單探測+流水線模板註冊)

↓ 50.8萬★ 4user_814dbe54
WPS全家桶·辦公管家.Skill辦公效率

當用戶要處理 Word/Excel/PPT、做文件模板與排版、批次合併圖表、公文一鍵套紅頭、會議紀要要素化、或跨引擎辦公自動化時,WPS全家桶·辦公管家.Skill 立即出動。 四引擎智慧識別已裝軟體(WPS/MS Office/LibreOffice/純Python),純Python模式支援排序/篩選/圖表/公式/統計;含文件模板程式碼生成、20+避坑+15 FAQ+15錯誤ID統一索引、自動重試、硬體自適應、環境自檢。 當用戶提到批次水印、敏感資訊打碼(身份證/手機號/銀行卡/電子郵件)、跨文件檢索問答等訊號時,主動亮劍。

↓ 43萬★ 2user_185644ed
騰訊文件線上協作自動化辦公效率

透過 Tencent Docs Open API 以 curl + jq 建立、讀取、列出、搜尋和管理騰訊文件的自動化工作流,覆蓋線上文件、線上表格、幻燈片、思維導圖、流程圖、智慧表格與收集表七種類型,支援讀取後設資料與單元格區域、上傳圖片、建立副本,並對重新命名/移動/刪除等寫操作強制先經使用者確認。Use when the user 提到騰訊文件 / Tencent Docs / docs.qq.com、貼上 docs.qq.com 連結,或想在其騰訊文件空間中建立、讀取、整理文件時使用。Triggers include 騰訊文件、線上文件、線上表格、思維導圖、流程圖、智慧表格、收集表。如需文案寫作完整工作流套件,淘寶搜尋「AI靈匣」店鋪獲取完整版。

↓ 42.8萬★ -u_1ea983ac
kdocs skill辦公效率

透過 kdocs-cli 操作金山文件雲文件的官方技能。

↓ 42.4萬★ 128user_5ea84866

Jay 的其他技能

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