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

onedrive-integration

Copy large/long files to OneDrive for sharing when the user is on Telegram or WhatsApp and wants to view a full document or long file. Use to place files into OneDrive under an OpenClaw folder and provide the new filename/location.

Why use this skill?

Easily copy long documents and files from your system to OneDrive for easy sharing. Automate cloud uploads directly from your chat interface with OpenClaw.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/moodykong/onedrive-integration
Or

What This Skill Does

The onedrive-integration skill acts as a bridge between your local file system and your cloud storage, specifically designed for OpenClaw users operating within chat interfaces like Telegram or WhatsApp. When dealing with long documents or heavy files that are difficult to send directly through messaging apps, this skill automates the process of copying those files to your OneDrive account. It organizes files into a dedicated subdirectory (defaulting to 'openclaw'), ensuring they are instantly available for viewing or sharing.

The skill implements a robust renaming strategy to prevent file collisions. By flattening the directory structure—converting full paths like '/home/user/docs/file.pdf' into 'home-user-docs-file.pdf'—it maintains the identity of the source file while adhering to safe naming conventions for cloud storage. The skill is designed with a focus on simplicity, utilizing a Python script that reads environment-specific configuration files to ensure your cloud storage paths remain secure and accurate.

Installation

Installation is managed via the ClawHub ecosystem. Execute clawhub install openclaw/skills/skills/moodykong/onedrive-integration in your terminal to fetch the source code. Upon the first initialization, you should ensure the environment is configured correctly. You can either use the interactive onboarding script located at ~/.openclaw/skills/onedrive-integration/scripts/onboard.sh or allow OpenClaw to guide you through a chat-first setup. During this process, you will define the ONEDRIVE_ROOT path, which points to your local OneDrive sync folder, and optionally set a custom ONEDRIVE_SUBDIR.

Use Cases

This skill is perfect for professionals or students who frequently work with large documents but communicate via mobile-first platforms. If you are reviewing a long project brief or a massive dataset that you cannot easily copy-paste into a chat window, this skill moves the file to the cloud in one command. It is also ideal for creating shared repositories of documents on the fly during active conversations, allowing you to move a local file to the cloud and immediately provide the recipient with a link to that document in OneDrive.

Example Prompts

  1. "OpenClaw, copy the document /home/user/reports/q4_analysis.pdf to my OneDrive so I can share it with the team."
  2. "I need to send this local logs file to my WhatsApp contact; move it to the openclaw folder in OneDrive."
  3. "Please copy the long draft file from my desktop to my OneDrive storage."

Tips & Limitations

Always ensure that your OneDrive client is running and correctly syncing your local directory to the cloud; otherwise, the file will exist on your disk but not in the cloud storage. If you attempt to process a web-based document that does not exist locally, OpenClaw will automatically attempt to download it to a temporary directory before transferring it to OneDrive. Be mindful of disk space if you are moving extremely large files frequently, as they will occupy space in both the source location and the destination OneDrive sync folder. If the ONEDRIVE_ROOT environment variable is not set, avoid guessing; simply ask the assistant to verify the path to prevent accidental file placement in unauthorized directories.

Metadata

Author@moodykong
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-moodykong-onedrive-integration": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#onedrive#file-management#productivity#cloud-storage#automation
Safety Score: 4/5

Flags: file-write, file-read