onedrive-integrationCopy 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 int...
Install via ClawdBot CLI:
clawdbot install moodykong/onedrive-integrationWhen the user needs a full document / long file in Telegram/WhatsApp (where pasting is awkward), copy the file(s) into OneDrive so the user can open/share from there.
command -v python3
python3 --version
Machine-specific config lives alongside the skill:
~/.openclaw/skills/onedrive-integration/config.env.example~/.openclaw/skills/onedrive-integration/config.envKeys:
ONEDRIVE_ROOT (required) β e.g. /mnt/c/Users//OneDrive ONEDRIVE_SUBDIR (optional) β default openclawIf config is missing/unset, do not guessβask Boss to confirm the correct OneDrive folder, then write config.env.
Because the primary interface is chat (Telegram), the preferred onboarding flow is:
config.env.If you are running in a real terminal, you can use the interactive onboarding script:
~/.openclaw/skills/onedrive-integration/scripts/onboard.sh
Copy requested file(s) into:
${ONEDRIVE_ROOT}/${ONEDRIVE_SUBDIR}/ (defaults to openclaw/)During copy, rename files to include their source path to avoid collisions.
// and \\) with -[a-z0-9._-] with --Examples:
/home/miles/folder1/file1.md β wsl-home-miles-folder1-file1.md/mnt/c/Users//folder1/file1.md β c-users--folder1-file1.md Canonical executable lives inside the skill folder:
~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.pyRun:
~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.py <paths...>
(Reads config.env automatically.)
Optional overrides:
.../copy_to_onedrive.py --onedrive-root "..." --subdir "..." .../copy_to_onedrive.py --config /path/to/config.env The script:
${ONEDRIVE_ROOT}/${ONEDRIVE_SUBDIR}/ if missingONEDRIVE_ROOT is unset, do not guessβask for confirmation.mkdir -p ~/.local/bin
ln -sf ~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.py ~/.local/bin/copy-to-onedrive
Generated Mar 1, 2026
A user on Telegram needs to share a large PDF report with colleagues but cannot upload it directly due to size limits. The skill copies the file to OneDrive, renames it based on the source path, and provides a shareable link for easy access via the cloud storage.
A user receives a long video file on WhatsApp that is too large to save locally or forward. The skill transfers the file to OneDrive, preserving timestamps and organizing it in a dedicated folder, allowing the user to view and manage it from any device.
A distributed team uses Telegram for quick chats but needs to collaborate on a large spreadsheet. The skill copies the file to a shared OneDrive folder, ensuring version control and accessibility for all team members without cluttering chat histories.
A lawyer on WhatsApp receives sensitive case documents that require secure storage and easy retrieval. The skill uploads the files to OneDrive with sanitized filenames, maintaining confidentiality while enabling organized access for legal review and sharing with clients.
A teacher uses Telegram to send lengthy educational materials to students but faces file size restrictions. The skill moves the files to OneDrive, creating a structured repository where students can download resources at their convenience without overwhelming the messaging app.
Offer basic file copying to OneDrive for free, with premium features like automated backups, advanced renaming rules, and priority support for a subscription fee. Target small businesses and individual users who frequently share large files via messaging apps.
License the skill as part of a larger suite for corporate teams, integrating with existing messaging platforms and OneDrive for enhanced security and compliance. Provide customization options, analytics, and dedicated onboarding for large organizations.
Provide tailored implementations of the skill for specific industries, such as legal or healthcare, with additional features like encryption and audit trails. Offer ongoing maintenance and training services to ensure seamless integration into client workflows.
π¬ Integration Tip
Ensure the ONEDRIVE_ROOT path is correctly configured during onboarding to avoid errors; use the interactive script for terminal setups to simplify the process.
iMessage/SMS CLI for listing chats, history, watch, and sending.
Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.
Use when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).
OpenClaw skill for designing Telegram Bot API workflows and command-driven conversations using direct HTTPS requests (no SDKs).