ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

onedrive

Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.

Why use this skill?

Seamlessly manage your Microsoft OneDrive files with OpenClaw. Upload, download, and organize cloud storage via Microsoft Graph API integration.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/mrgoodb/onedrive
Or

What This Skill Does

The OneDrive skill for OpenClaw provides a robust interface for interacting with Microsoft's cloud storage platform using the Microsoft Graph API. It empowers users to automate file lifecycle management directly from their terminal or AI workflow. Whether you need to list directory contents, upload local documents for cloud backup, or download specific items to your local environment, this skill abstracts the complex API authentication and formatting requirements into simple, executable commands. By leveraging this skill, you can treat your OneDrive storage as an extension of your local file system, facilitating seamless synchronization and data handling.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/mrgoodb/onedrive

Ensure that your environment variables are configured correctly by setting the MICROSOFT_ACCESS_TOKEN with a valid token generated via your Azure portal or OAuth flow. Failure to provide a valid token will result in unauthorized requests to the Microsoft Graph API.

Use Cases

This skill is ideal for developers and power users who need to streamline document workflows. Common use cases include:

  • Automating daily reports: Automatically upload generated CSV or PDF files from your machine to a specific OneDrive folder.
  • Remote access: Quickly fetch specific configuration files or documentation stored in the cloud without navigating through a web browser.
  • Backup automation: Regularly push local logs or sensitive project files to your OneDrive root directory for disaster recovery.
  • Collaborative integration: Share links to uploaded files with team members by programmatically interacting with file metadata.

Example Prompts

  1. "OpenClaw, list all the files in the root folder of my OneDrive so I can see what I have uploaded."
  2. "Please upload my local 'project_report.docx' to the root directory of my OneDrive account."
  3. "Download the file with the ID '01AB34CD' from my OneDrive and save it to my current working directory."

Tips & Limitations

  • Token Expiry: Always ensure your access token is fresh. The skill does not currently handle automatic token refreshing; if your request fails, regenerate the token.
  • File Size: Be mindful of file size limits imposed by Microsoft Graph for direct PUT uploads. For extremely large files, you may need to use upload sessions.
  • Security: Store your access token securely. Do not commit scripts containing raw tokens to version control systems like GitHub.
  • Permissions: Ensure your Microsoft Azure App registration has the appropriate 'Files.ReadWrite' permissions to perform all described actions successfully.

Metadata

Author@mrgoodb
Stars1401
Views1
Updated2026-02-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-mrgoodb-onedrive": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#onedrive#cloud-storage#microsoft-graph#automation#file-sync
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api