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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/moodykong/onedrive-integrationWhat 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
- "OpenClaw, copy the document /home/user/reports/q4_analysis.pdf to my OneDrive so I can share it with the team."
- "I need to send this local logs file to my WhatsApp contact; move it to the openclaw folder in OneDrive."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-moodykong-onedrive-integration": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
skill-father
Authoritative skill-creation standards (Boss). Use when creating or updating OpenClaw skills so they are portable, reproducible, include prerequisites checks, and have a guided installation/onboarding flow that persists machine-specific config in skill-local config files.
ssh-op
Use the ssh-op helper script to load an SSH private key from 1Password (op) into an in-memory ssh-agent and then run ssh. Use when connecting to hosts that require the 1Password-managed key, troubleshooting ssh-op, or onboarding a new machine by configuring the 1Password vault/item and adding SSH host aliases to ~/.ssh/config.
secure-shopper
Asynchronous shopping research + checkout using secure-autofill (1Password-backed browser filling) with results recorded to workspace artifacts.
secure-autofill
1Password-backed credential filling via vault_suggest/vault_fill (plugin tools).
queue-task
Durable queue-task helper for resumable, idempotent batch jobs in task-father task folders.