document-storage

Read, edit, upload, and sync documents in SharePoint, OneDrive, or Google Drive.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/alectivism/organization-ai-skills --skill document-storage-alectivism
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: document-storage
Source: https://github.com/alectivism/organization-ai-skills/tree/main/org-ops/skills/document-storage
Command: npx skills add https://github.com/alectivism/organization-ai-skills --skill document-storage-alectivism

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with organizational documents scattered across SharePoint, OneDrive, and Google Drive requires knowing which access route to use, how to handle upload limits, and how to edit files without breaking formatting or overwriting others' work. This Skill provides a decision framework and operational procedures for reading, editing, uploading, and locally syncing documents once their location is known. ## Core Features & Use Cases - Two-Route Access Strategy: Uses first-party Microsoft 365 or Google Drive connectors as the default route, falling back to locally synced folders when connectors hit size or formatting limits. - Safe Write Operations: Covers upload, update, rename, move, copy, and delete with conflict handling, confirmation prompts before destructive actions, and lock-file detection to avoid clobbering open files. - Sync Setup Wizard: Step-by-step instructions for adding a SharePoint site or shared drive to a local machine via OneDrive or Google Drive for desktop. - Use Case: A team member asks to update a Word report stored on the company SharePoint site. The Skill checks the connector, finds the file size exceeds the 1 MB upload cap, switches to the synced local folder, checks for lock files, edits with python-docx, and saves a dated backup copy. ## Quick Start Update the Q3 report on our SharePoint site with the revised figures and save a backup copy before overwriting.

Frequently Asked Questions about document-storage

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

FAQPage Schema
How do I edit a document stored on SharePoint or OneDrive?▼

Use the Microsoft 365 connector to search for the file, fetch it by item ID, and update it with a replace call. For large files or formatting-preserving edits, work on the locally synced copy and save back to the same path to re-upload.

How do I sync a SharePoint site or Google shared drive to my local machine?▼

Open the site's document library or shared drive in a browser, then use Add shortcut to OneDrive or Add shortcut to Drive. The folder appears under ~/Library/CloudStorage on macOS with files as online-only placeholders that download when opened.

What is the file size limit for uploading through the Microsoft 365 connector?▼

The Microsoft 365 connector caps uploads and updates at roughly 1 MB with no chunking support. Larger files must go through a locally synced folder instead, where the sync client handles the transfer.

Why can't I upload plain text as a .docx file through the connector?▼

Office and PDF uploads must be complete binary files; plain text with a .docx extension is refused. Build the file first with python-docx, openpyxl, or python-pptx, then encode and upload the binary.

How do I avoid overwriting a file someone else has open?▼

Before editing a synced file, check its folder for an Office lock file matching the ~$ prefix pattern. If one exists, someone has the document open, so stop and notify the person rather than proceeding.

When should I use document-find instead of document-storage?▼

Use document-find when you do not yet know where a file lives, since it covers search and location in depth. Use document-storage once the location is known and you need to read, edit, upload, or sync the file.