Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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 int...
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 int...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
When 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: Example (do not edit): ~/.openclaw/skills/onedrive-integration/config.env.example Real (machine-specific): ~/.openclaw/skills/onedrive-integration/config.env Keys: ONEDRIVE_ROOT (required) β e.g. /mnt/c/Users/<windows_user>/OneDrive ONEDRIVE_SUBDIR (optional) β default openclaw If 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: Ask Boss to confirm the correct OneDrive root folder. Write the real config file: config.env. Run a smoke test by copying a small temp file.
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.
Convert absolute path into a safe filename: strip leading / replace path separators (/ and \\) with - lowercase replace any non [a-z0-9._-] with - collapse multiple - Examples: /home/miles/folder1/file1.md β wsl-home-miles-folder1-file1.md /mnt/c/Users/<user>/folder1/file1.md β c-users-<user>-folder1-file1.md
Canonical executable lives inside the skill folder: ~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.py Run: ~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.py <paths...> (Reads config.env automatically.) Optional overrides: .../copy_to_onedrive.py --onedrive-root "..." --subdir "..." <paths...> .../copy_to_onedrive.py --config /path/to/config.env <paths...> The script: creates ${ONEDRIVE_ROOT}/${ONEDRIVE_SUBDIR}/ if missing copies files (preserve timestamps) prints the destination paths (no secrets)
If the request is a browser-only document (no local file), download it to a temp path first, then copy. If ONEDRIVE_ROOT is unset, do not guessβask for confirmation.
Keep the canonical script inside the skill folder. Optional: symlink into a common PATH dir (only if you want a short command): mkdir -p ~/.local/bin ln -sf ~/.openclaw/skills/onedrive-integration/scripts/copy_to_onedrive.py ~/.local/bin/copy-to-onedrive
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.