openclaw / onedrive
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/onedrive && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/3639" && unzip -o skill.zip -d .claude/skills/onedrive && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/onedrive/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.
0 views
0 installs
Skill Content
---
name: onedrive
description: Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.
metadata: {"clawdbot":{"emoji":"☁️","requires":{"env":["MICROSOFT_ACCESS_TOKEN"]}}}
---
# OneDrive
Microsoft cloud storage.
## Environment
```bash
export MICROSOFT_ACCESS_TOKEN="xxxxxxxxxx"
```
## List Root Files
```bash
curl "https://graph.microsoft.com/v1.0/me/drive/root/children" -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN"
```
## Upload File
```bash
curl -X PUT "https://graph.microsoft.com/v1.0/me/drive/root:/filename.txt:/content" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
-H "Content-Type: text/plain" \
--data-binary @localfile.txt
```
## Download File
```bash
curl "https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" -o downloaded.txt
```
## Links
- Docs: https://docs.microsoft.com/en-us/graph/api/resources/onedrive