Agent skill

onedrive

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

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/onedrive

Metadata

Additional technical details for this skill

thinkfleet
{
    "emoji": "\u2601\ufe0f",
    "requires": {
        "env": [
            "MICROSOFT_ACCESS_TOKEN"
        ]
    }
}

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results