← 返回 Skills 市场
byungkyu

Microsoft OneDrive

作者 byungkyu · GitHub ↗ · v1.2.5 · MIT-0
cross-platform ✓ 安全检测通过
8680
总下载
10
收藏
0
当前安装
15
版本数
在 OpenClaw 中安装
/install one-drive
功能描述
OneDrive API integration with managed OAuth via Microsoft Graph. Manage files, folders, and sharing. Use this skill when users want to upload, download, organize, or share files in OneDrive. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn an OneDrive connection into automation, in the order they are used: the connection (the first step), a hosted function that runs an OneDrive action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with OneDrive examples; they add no OneDrive capability - OneDrive is not an event source, a trigger cannot read OneDrive data, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe).
安全使用建议
Install only if you intend to let Maton mediate access to your OneDrive account. Prefer OAuth over API keys, approve only the specific account and scopes needed, review every write/share/delete operation before it runs, and be especially careful with anonymous sharing links or persistent triggers that forward data automatically.
能力评估
✓ Credentials
Network access, OAuth browser login, OS credential-store use, and Microsoft Graph access are proportionate for a OneDrive API integration and are disclosed.
ℹ Install Mechanism
The skill installs a pinned Maton CLI via npm or Homebrew and also documents optional SDK packages and a raw HTTPS fallback; this is purpose-aligned but users should verify they trust Maton and the pinned versions before installing.
✓ Instruction Scope
The instructions repeatedly require explicit user approval for new connections, writes, deletions, sharing links, hosted functions, trigger destinations, and local --exec automation; fetched third-party content is treated as untrusted data.
ℹ Persistence & Privilege
The skill can create persistent hosted functions, triggers, destinations, and stored OAuth/API credentials, but it documents these as non-default or approval-gated workflows with cleanup and least-privilege guidance.
✓ Purpose & Capability
The stated purpose is OneDrive file, folder, drive, and sharing management; the documented OAuth, CRUD, upload/download, search, and sharing capabilities match that purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install one-drive
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /one-drive 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.5
Simplify the login instructions to the code flow (maton login prints a link; finish with maton login --code <CODE>), drop the API Key subsection, and pin the Maton CLI install to 0.4.0.
v1.2.4
Switch the login instructions to the device flow (maton login prints a link and a user code; the --oauth flag is gone) and pin the Maton CLI install to 0.3.5.
v1.2.3
Pin the Maton CLI install to 0.3.4, the current release.
v1.2.2
Add this skill's own trigger policy to the shared Triggers section: the only destination it sets up is its own hosted function inside the platform, it does not forward events to third-party hosts, and it does not use event watch --exec; each trigger reference now also says this skill configures no trigger from that source on its own.
v1.2.1
Bring the skill to the current api-gateway baseline and tell the connection-to-function-to-trigger story: the shared Functions and Triggers sections open with an example for this app (a hosted function that performs one action for it through the Maton SDK, and the trigger that runs it - its own event source where it has one, otherwise a time schedule), the description says these constructs turn the connection into automation and add no capability of their own, the passthrough is described by its enforced boundary, CLI and SDK installs are pinned to 0.3.1, absolute API URLs are placeholders, and multipart uploads use mktemp.
v1.2.0
CLI-first rewrite with the Maton SDK examples; clarify that the CLI and SDKs keep separate credential stores, and reword webhook egress warnings
v1.1.1
## one-drive v1.1.1 - Removed the skill-card.md file. - No user-facing feature or functionality changes.
v1.1.0
CLI-first rewrite: the maton CLI with OAuth login is the documented path, every example is a maton command, SDK examples added, and the raw HTTP fallback feeds the key on stdin instead of reading it from the environment
v1.0.6
- Removed the file skill-card.md. - No other files were modified in this release.
v1.0.5
- Added CLI usage examples throughout the documentation, including commands for listing, creating, viewing, and deleting items and connections. - Expanded installation section with NPM and Homebrew methods for the Maton CLI. - Provided explicit separation and examples for CLI, Python, and API usage for each main operation. - Improved connection management instructions, including how to specify connections in CLI commands. - Enhanced API reference with corresponding CLI commands for every endpoint example. - Clarified authentication steps and ways to manage API keys for both CLI and manual integration.
v1.0.4
- Updated all endpoint references from gateway.maton.ai and ctrl.maton.ai to api.maton.ai. - Improved connection management instructions and URLs for a simpler user experience. - Added a Security & Permissions section clarifying access scope and the need for explicit user approval for write operations. - Clarified use of the Maton-Connection header when handling multiple connections. - Removed LICENSE.txt file.
v1.0.3
Version 1.0.3 of the OneDrive skill - No file changes were detected in this release. - All features and documentation remain unchanged from the previous version.
v1.0.2
- Added a new `clawdbot` metadata section indicating requirements and emoji in SKILL.md. - Declared `MATON_API_KEY` as a required environment variable for the skill. - No functional or interface changes to the OneDrive API documentation.
v1.0.1
- Version bump to 1.0.1 with no content or code changes. - No modifications detected in source files or documentation.
v1.0.0
Initial release – OneDrive integration via Microsoft Graph API with managed OAuth. - Upload, download, organize, and share OneDrive files and folders through a unified API gateway. - Full support for file, folder, and drive management, including CRUD operations. - Managed OAuth flow and multiple OneDrive connection handling via Maton control panel. - Authentication via a Maton API key, with clear setup instructions. - Example code snippets provided for all major operations, such as listing files, uploading, and downloading. - Supports advanced features like large file uploads, special folders, recent/shared items, and granular connection selection.
元数据
Slug one-drive
版本 1.2.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 15
常见问题

Microsoft OneDrive 是什么?

OneDrive API integration with managed OAuth via Microsoft Graph. Manage files, folders, and sharing. Use this skill when users want to upload, download, organize, or share files in OneDrive. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn an OneDrive connection into automation, in the order they are used: the connection (the first step), a hosted function that runs an OneDrive action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with OneDrive examples; they add no OneDrive capability - OneDrive is not an event source, a trigger cannot read OneDrive data, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 8680 次。

如何安装 Microsoft OneDrive?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install one-drive」即可一键安装,无需额外配置。

Microsoft OneDrive 是免费的吗?

是的,Microsoft OneDrive 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Microsoft OneDrive 支持哪些平台?

Microsoft OneDrive 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Microsoft OneDrive?

由 byungkyu(@byungkyu)开发并维护,当前版本 v1.2.5。

💬 留言讨论