Token导航 LogoToken导航

Agent Skill · 研究检索

one-drive-automation(一驱自动化)

one-drive-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

one-drive-automation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 37,977。

总安装 1,639周安装 69GitHub Stars 57,004下载 574核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:one-drive-automation(一驱自动化)
来源仓库:https://github.com/composiohq/awesome-claude-skills
仓库路径:skills/one-drive-automation
安装命令:
npx skills add https://github.com/composiohq/awesome-claude-skills --skill one-drive-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/composiohq/awesome-claude-skills --skill one-drive-automation

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

OneDrive Automation 用于自动化文件存储与共享管理,适合在 Codex、Claude、Cursor、Gemini CLI 中高效管理微软云盘资源。适用于文件上传、权限设置和目录浏览的场景。

通过 Rube MCP 使用 Composio 的 OneDrive toolkit,需先配置 Rube MCP 并绑定 OneDrive 账户。

安装命令为 npx skills add https://github.com/composiohq/awesome-claude-skills --skill one-drive-automation。操作前应确认文件夹共享策略,避免误设公开链接或覆盖他人文件。

来源仓库内路径:skills/one-drive-automation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/composiohq/awesome-claude-skills --skill one-d…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

one-drive-automation 怎么安装?

在终端执行 npx skills add https://github.com/composiohq/awesome-claude-skills --skill one-drive-autom…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

one-drive-automation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

one-drive-automation 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

one-drive-automation 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

one-drive-automation 用的人多吗?

公开数据是累计安装 1,639 次,近一周安装 69 次,下载 574 次,GitHub 57,004 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

one-drive-automation 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 57,004 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
one-drive-automation

一驱自动化 · 本页

1,63957,004调用外部服务未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

OneDrive Automation via Rube MCP

Automate OneDrive operations including file upload/download, search, folder management, sharing links, permissions management, and drive browsing through Composio's OneDrive toolkit.

Toolkit docs: composio.dev/toolkits/one_drive

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active OneDrive connection via RUBE_MANAGE_CONNECTIONS with toolkit one_drive
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit one_drive
  3. If connection is not ACTIVE, follow the returned auth link to complete Microsoft OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Search and Browse Files

When to use: User wants to find files or browse folder contents in OneDrive

Tool sequence:

  1. ONE_DRIVE_GET_DRIVE - Verify drive access and get drive details [Prerequisite]
  2. ONE_DRIVE_SEARCH_ITEMS - Keyword search across filenames, metadata, and content [Required]
  3. ONE_DRIVE_ONEDRIVE_LIST_ITEMS - List all items in the root of a drive [Optional]
  4. ONE_DRIVE_GET_ITEM - Get detailed metadata for a specific item, expand children [Optional]
  5. ONE_DRIVE_ONEDRIVE_FIND_FILE - Find a specific file by exact name in a folder [Optional]
  6. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Find a specific folder by name [Optional]
  7. ONE_DRIVE_LIST_DRIVES - List all accessible drives [Optional]

Key parameters:

  • q: Search query (plain keywords only, NOT KQL syntax)
  • search_scope: "root" (folder hierarchy) or "drive" (includes shared items)
  • top: Max items per page (default 200)
  • skip_token: Pagination token from @odata.nextLink
  • select: Comma-separated fields to return (e.g., "id,name,webUrl,size")
  • orderby: Sort order (e.g., "name asc", "name desc")
  • item_id: Item ID for GET_ITEM
  • expand_relations: Array like ["children"] or ["thumbnails"] for GET_ITEM
  • user_id: "me" (default) or specific user ID/email

Pitfalls:

  • ONE_DRIVE_SEARCH_ITEMS does NOT support KQL operators (folder:, file:, filetype:, path:); these are treated as literal text
  • Wildcard characters (*, ?) are NOT supported and are auto-removed; use file extension keywords instead (e.g., "pdf" not "*.pdf")
  • ONE_DRIVE_ONEDRIVE_LIST_ITEMS returns only root-level contents; use recursive ONE_DRIVE_GET_ITEM with expand_relations: ["children"] for deeper levels
  • Large folders paginate; always follow skip_token / @odata.nextLink until exhausted
  • Some drive ID formats may return "ObjectHandle is Invalid" errors due to Microsoft Graph API limitations

2. Upload and Download Files

When to use: User wants to upload files to OneDrive or download files from it

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the target folder [Prerequisite]
  2. ONE_DRIVE_ONEDRIVE_UPLOAD_FILE - Upload a file to a specified folder [Required for upload]
  3. ONE_DRIVE_DOWNLOAD_FILE - Download a file by item ID [Required for download]
  4. ONE_DRIVE_GET_ITEM - Get file details before download [Optional]

Key parameters:

  • file: FileUploadable object with s3key, mimetype, and name for uploads
  • folder: Destination path (e.g., "/Documents/Reports") or folder ID for uploads
  • item_id: File's unique identifier for downloads
  • file_name: Desired filename with extension for downloads
  • drive_id: Specific drive ID (for SharePoint or OneDrive for Business)
  • user_id: "me" (default) or specific user identifier

Pitfalls:

  • Upload automatically renames on conflict (no overwrite option by default)
  • Large files are automatically handled via chunking
  • drive_id overrides user_id when both are provided
  • Item IDs vary by platform: OneDrive for Business uses 01... prefix, OneDrive Personal uses HASH!NUMBER format
  • Item IDs are case-sensitive; use exactly as returned from API

3. Share Files and Manage Permissions

When to use: User wants to share files/folders or manage who has access

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FILE or ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the item [Prerequisite]
  2. ONE_DRIVE_GET_ITEM_PERMISSIONS - Check current permissions [Prerequisite]
  3. ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM - Grant access to specific users [Required]
  4. ONE_DRIVE_CREATE_LINK - Create a shareable link [Optional]
  5. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Update item metadata [Optional]

Key parameters:

  • item_id: The file or folder to share
  • recipients: Array of objects with email or object_id
  • roles: Array with "read" or "write"
  • send_invitation: true to send notification email, false for silent permission grant
  • require_sign_in: true to require authentication to access
  • message: Custom message for invitation (max 2000 characters)
  • expiration_date_time: ISO 8601 date for permission expiry
  • retain_inherited_permissions: true (default) to keep existing inherited permissions

Pitfalls:

  • Using wrong item_id with INVITE_USER_TO_DRIVE_ITEM changes permissions on unintended items; always verify first
  • Write or higher roles are impactful; get explicit user confirmation before granting
  • GET_ITEM_PERMISSIONS returns inherited and owner entries; do not assume response only reflects recent changes
  • permissions cannot be expanded via ONE_DRIVE_GET_ITEM; use the separate permissions endpoint
  • At least one of require_sign_in or send_invitation must be true

4. Manage Folders (Create, Move, Delete, Copy)

When to use: User wants to create, move, rename, delete, or copy files and folders

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate source and destination folders [Prerequisite]
  2. ONE_DRIVE_ONEDRIVE_CREATE_FOLDER - Create a new folder [Required for create]
  3. ONE_DRIVE_MOVE_ITEM - Move a file or folder to a new location [Required for move]
  4. ONE_DRIVE_COPY_ITEM - Copy a file or folder (async operation) [Required for copy]
  5. ONE_DRIVE_DELETE_ITEM - Move item to recycle bin [Required for delete]
  6. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Rename or update item properties [Optional]

Key parameters:

  • name: Folder name for creation or new name for rename/copy
  • parent_folder: Path (e.g., "/Documents/Reports") or folder ID for creation
  • itemId: Item to move
  • parentReference: Object with id (destination folder ID) for moves: {"id": "folder_id"}
  • item_id: Item to copy or delete
  • parent_reference: Object with id and optional driveId for copy destination
  • @microsoft.graph.conflictBehavior: "fail", "replace", or "rename" for copies
  • if_match: ETag for optimistic concurrency on deletes

Pitfalls:

  • ONE_DRIVE_MOVE_ITEM does NOT support cross-drive moves; use ONE_DRIVE_COPY_ITEM for cross-drive transfers
  • parentReference for moves requires folder ID (not folder name); resolve with ONEDRIVE_FIND_FOLDER first
  • ONE_DRIVE_COPY_ITEM is asynchronous; response provides a URL to monitor progress
  • ONE_DRIVE_DELETE_ITEM moves to recycle bin, not permanent deletion
  • Folder creation auto-renames on conflict (e.g., "New Folder" becomes "New Folder 1")
  • Provide either name or parent_reference (or both) for ONE_DRIVE_COPY_ITEM

5. Track Changes and Drive Information

When to use: User wants to monitor changes or get drive/quota information

Tool sequence:

  1. ONE_DRIVE_GET_DRIVE - Get drive properties and metadata [Required]
  2. ONE_DRIVE_GET_QUOTA - Check storage quota (total, used, remaining) [Optional]
  3. ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA - Track changes in SharePoint site drives [Optional]
  4. ONE_DRIVE_GET_ITEM_VERSIONS - Get version history of a file [Optional]

Key parameters:

  • drive_id: Drive identifier (or "me" for personal drive)
  • site_id: SharePoint site identifier for delta tracking
  • token: Delta token ("latest" for current state, URL for next page, or timestamp)
  • item_id: File ID for version history

Pitfalls:

  • Delta queries are only available for SharePoint site drives via ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA
  • Token "latest" returns current delta token without items (useful as starting point)
  • Deep or large drives can take several minutes to crawl; use batching and resume logic

Common Patterns

ID Resolution

  • User: Use "me" for authenticated user or specific user email/GUID
  • Item ID from find: Use ONE_DRIVE_ONEDRIVE_FIND_FILE or ONE_DRIVE_ONEDRIVE_FIND_FOLDER to get item IDs
  • Item ID from search: Extract from ONE_DRIVE_SEARCH_ITEMS results
  • Drive ID: Use ONE_DRIVE_LIST_DRIVES or ONE_DRIVE_GET_DRIVE to discover drives
  • Folder path to ID: Use ONE_DRIVE_ONEDRIVE_FIND_FOLDER with path, then extract ID from response

ID formats vary by platform:

  • OneDrive for Business/SharePoint: 01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK
  • OneDrive Personal: D4648F06C91D9D3D!54927

Pagination

OneDrive uses token-based pagination:

  • Follow @odata.nextLink or skip_token until no more pages
  • Set top for page size (varies by endpoint)
  • ONE_DRIVE_ONEDRIVE_LIST_ITEMS auto-handles pagination internally
  • Aggressive parallel requests can trigger HTTP 429; honor Retry-After headers

Path vs ID

Most OneDrive tools accept either paths or IDs:

  • Paths: Start with / (e.g., "/Documents/Reports")
  • IDs: Use unique item identifiers from API responses
  • Item paths for permissions: Use :/path/to/item:/ format

Known Pitfalls

ID Formats

  • Item IDs are case-sensitive and platform-specific
  • Never use web URLs, sharing links, or manually constructed identifiers as item IDs
  • Always use IDs exactly as returned from Microsoft Graph API

Rate Limits

  • Aggressive parallel ONE_DRIVE_GET_ITEM calls can trigger HTTP 429 Too Many Requests
  • Honor Retry-After headers and implement throttling
  • Deep drive crawls should use batching with delays

Search Limitations

  • No KQL support; use plain keywords only
  • No wildcard characters; use extension keywords (e.g., "pdf" not "*.pdf")
  • No path-based filtering in search; use folder listing instead
  • q='*' wildcard-only queries return HTTP 400 invalidRequest

Parameter Quirks

  • drive_id overrides user_id when both are provided
  • permissions cannot be expanded via GET_ITEM; use dedicated permissions endpoint
  • Move operations require folder IDs in parentReference, not folder names
  • Copy operations are asynchronous; response provides monitoring URL

Quick Reference

TaskTool SlugKey Params
Search filesONE_DRIVE_SEARCH_ITEMSq, search_scope, top
List root itemsONE_DRIVE_ONEDRIVE_LIST_ITEMSuser_id, select, top
Get item detailsONE_DRIVE_GET_ITEMitem_id, expand_relations
Find file by nameONE_DRIVE_ONEDRIVE_FIND_FILEname, folder
Find folder by nameONE_DRIVE_ONEDRIVE_FIND_FOLDERname, folder
Upload fileONE_DRIVE_ONEDRIVE_UPLOAD_FILEfile, folder
Download fileONE_DRIVE_DOWNLOAD_FILEitem_id, file_name
Create folderONE_DRIVE_ONEDRIVE_CREATE_FOLDERname, parent_folder
Move itemONE_DRIVE_MOVE_ITEMitemId, parentReference
Copy itemONE_DRIVE_COPY_ITEMitem_id, parent_reference, name
Delete itemONE_DRIVE_DELETE_ITEMitem_id
Share with usersONE_DRIVE_INVITE_USER_TO_DRIVE_ITEMitem_id, recipients, roles
Create share linkONE_DRIVE_CREATE_LINKitem_id, link type
Get permissionsONE_DRIVE_GET_ITEM_PERMISSIONSitem_id
Update metadataONE_DRIVE_UPDATE_DRIVE_ITEM_METADATAitem_id, fields
Get drive infoONE_DRIVE_GET_DRIVEdrive_id
List drivesONE_DRIVE_LIST_DRIVESuser/group/site scope
Get quotaONE_DRIVE_GET_QUOTA(none)
Track changesONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTAsite_id, token
Version historyONE_DRIVE_GET_ITEM_VERSIONSitem_id

*Powered by Composio*

平台分布

Codex

36.09%
按下载量换算207

Claude

27.81%
按下载量换算160

Cursor

19.47%
按下载量换算112

Gemini CLI

8.87%
按下载量换算51

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills