graph-files-write

Automate file write operations on OneDrive and SharePoint via the graph_files_write endpoint.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/tluisguereroItesm/agentec-skills --skill graph-files-write
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-files-write
Source: https://github.com/tluisguereroItesm/agentec-skills/tree/main/skills/graph-files-write
Command: npx skills add https://github.com/tluisguereroItesm/agentec-skills --skill graph-files-write

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates file write operations on OneDrive and SharePoint to simplify document management and reduce manual errors when handling uploads, folder creation, renaming, moving, copying, deletion, and sharing.

Core Features & Use Cases

  • Upload files to OneDrive
  • Create folders and organize structure
  • Rename, move, and copy items
  • Share documents via links with configurable scope
  • Authentication flow using device code when needed

Quick Start

Upload a local file to OneDrive at Documents/Reports/recent.pdf and confirm when the upload finishes.

Frequently Asked Questions about graph-files-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate uploading files to OneDrive or SharePoint?

You can automate uploading files to OneDrive or SharePoint by using the graph_files_write endpoint, which handles file placement and organization automatically. This Skill targets the graph_files_write endpoint to automate file write operations.

Do I need special authentication to move or rename files in SharePoint?

Yes, moving or renaming files in SharePoint requires a device-code authentication flow before executing write operations. The Skill initiates this device-code authentication flow automatically when needed.

Can I share OneDrive documents with configurable permissions?

Yes, you can share OneDrive documents via links with configurable scope. The Skill automates sharing documents through links and supports configurable scope settings for access control.

Are there safeguards when automating file deletion in OneDrive?

Yes, the Skill includes safeguards for destructive actions like file deletion in OneDrive. Safeguards are built into the graph_files_write endpoint to prevent accidental data loss during automation.

What's the best way to organize folder structure in OneDrive automatically?

The best way to organize folder structure in OneDrive is to automate folder creation and file management through Graph API write operations. The Skill automates creating folders and organizing structure on OneDrive.

Does graph-files-write support copying and moving items between locations?

Yes, graph-files-write supports copying and moving items between locations on OneDrive and SharePoint. It automates renaming, moving, copying, deleting, and sharing documents using the Graph API.