Skip to main content

onedrive

Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.

Jump to install

Source facts

Repository
Kernel8901/ai-agent-skills-classification
Last source activity
April 4, 2026 at 15:26
Detected SKILL.md language
English
Stars
4
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
onedrive
description
Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.
metadata
{"clawdbot":{"emoji":"☁️","requires":{"env":"[Truncated]"}}}
# 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
View on GitHub