跳到正文
TakoAPI
返回技能列表

onedrive-integration

由 moodykong 提供

Coding Agents & IDEs
361下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Copy large/long files to OneDrive for sharing when the user is on Telegram or WhatsApp and wants to view a full.

描述

该技能的功能

Copies local files into a OneDrive folder so they can be accessed or shared via Telegram or WhatsApp. Files are renamed to include their source path, avoiding collisions. Configuration is stored in a per-machine config.env file alongside the skill.

Avoids the file size and formatting limitations of Telegram and WhatsApp by routing files through OneDrive instead.

何时使用

  • Sharing a long PDF over Telegram without file size issues
  • Moving a WSL file into OneDrive for a Windows user to open
  • Uploading a downloaded browser document to OneDrive for sharing
  • Archiving work files into an organized OneDrive subfolder
  • Providing a colleague a OneDrive link instead of pasting raw content

示例工作流

输入

User asks: can you put /home/miles/report.pdf into OneDrive so I can share it on Telegram?

智能体
  1. 1

    Reads config.env to get ONEDRIVE_ROOT and ONEDRIVE_SUBDIR

  2. 2

    Runs copy_to_onedrive.py with /home/miles/report.pdf as argument

  3. 3

    Script renames file to wsl-home-miles-report.pdf and copies it to OneDrive folder

  4. 4

    Prints destination path to confirm placement

输出

File copied to /mnt/c/Users/<user>/OneDrive/openclaw/wsl-home-miles-report.pdf

前置要求

  • ONEDRIVE_ROOT path configured in ~/.openclaw/skills/onedrive-integration/config.env
  • Access to a OneDrive folder mounted or accessible on the local filesystem

安装

clawhub install moodykong/onedrive-integration

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接