
One Drive Automation
- 1 installs
- 404 repo stars
- Updated August 5, 2026
- aiskillstore/marketplace
one-drive-automation is a Claude Code skill that automates Microsoft OneDrive file management through the Rube MCP (Composio) OneDrive toolkit.
About
one-drive-automation is a Claude Code skill that automates Microsoft OneDrive file operations through the Rube MCP (Composio) OneDrive toolkit. It covers searching and browsing files, uploading and downloading, folder management, sharing links, and permission management, with documented tool sequences, parameters, and pitfalls for each workflow. A developer uses it to script OneDrive tasks from an agent after connecting Rube MCP.
- Automates OneDrive file ops via Rube MCP (Composio) OneDrive toolkit
- Covers search, upload/download, folder management, sharing links, and permissions
- Documents ONE_DRIVE_* tool sequences, key parameters, and API pitfalls
One Drive Automation by the numbers
- 1 all-time installs (skills.sh)
- Ranked #1,983 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
one-drive-automation capabilities & compatibility
Free endpoint; no API keys needed, add https://rube.app/mcp as an MCP server per the docs
- Capabilities
- file automation · cloud storage ops · sharing permissions
- Works with
- sharepoint
- Use cases
- orchestration
- Runs
- Remote server
- Pricing
- Free
What one-drive-automation says it does
Automate OneDrive file management, search, uploads, downloads, sharing, permissions, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.
Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed
npx skills add https://github.com/aiskillstore/marketplace --skill one-drive-automationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 404 |
| Last updated | August 5, 2026 |
| Repository | aiskillstore/marketplace ↗ |
What it does
Automate OneDrive file search, upload/download, sharing, and permissions through the Rube MCP OneDrive toolkit.
Who is it for?
Developers automating OneDrive file, folder, sharing, and permission workflows from an agent
Skip if: Storage providers other than OneDrive, or setups without Rube MCP connected
When should I use this skill?
automating OneDrive file management, search, uploads, downloads, sharing, or permissions
What you get
OneDrive files are searched, uploaded, downloaded, shared, and permissioned via correct Rube MCP tool sequences.
By the numbers
- Core workflows for search, upload/download, and sharing/permissions
- 7-tool search-and-browse sequence
Files
OneDrive Automation via Rube MCP
Automate OneDrive operations including file upload/download, search, folder management, sharing links, permissions management, and drive browsing through Composio's OneDrive toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active OneDrive connection via
RUBE_MANAGE_CONNECTIONSwith toolkitone_drive - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds 2. Call RUBE_MANAGE_CONNECTIONS with toolkit one_drive 3. If connection is not ACTIVE, follow the returned auth link to complete Microsoft OAuth 4. Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Search and Browse Files
When to use: User wants to find files or browse folder contents in OneDrive
Tool sequence: 1. ONE_DRIVE_GET_DRIVE - Verify drive access and get drive details [Prerequisite] 2. ONE_DRIVE_SEARCH_ITEMS - Keyword search across filenames, metadata, and content [Required] 3. ONE_DRIVE_ONEDRIVE_LIST_ITEMS - List all items in the root of a drive [Optional] 4. ONE_DRIVE_GET_ITEM - Get detailed metadata for a specific item, expand children [Optional] 5. ONE_DRIVE_ONEDRIVE_FIND_FILE - Find a specific file by exact name in a folder [Optional] 6. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Find a specific folder by name [Optional] 7. ONE_DRIVE_LIST_DRIVES - List all accessible drives [Optional]
Key parameters:
q: Search query (plain keywords only, NOT KQL syntax)search_scope:"root"(folder hierarchy) or"drive"(includes shared items)top: Max items per page (default 200)skip_token: Pagination token from@odata.nextLinkselect: Comma-separated fields to return (e.g.,"id,name,webUrl,size")orderby: Sort order (e.g.,"name asc","name desc")item_id: Item ID forGET_ITEMexpand_relations: Array like["children"]or["thumbnails"]forGET_ITEMuser_id:"me"(default) or specific user ID/email
Pitfalls:
ONE_DRIVE_SEARCH_ITEMSdoes NOT support KQL operators (folder:,file:,filetype:,path:); these are treated as literal text- Wildcard characters (
*,?) are NOT supported and are auto-removed; use file extension keywords instead (e.g.,"pdf"not"*.pdf") ONE_DRIVE_ONEDRIVE_LIST_ITEMSreturns only root-level contents; use recursiveONE_DRIVE_GET_ITEMwithexpand_relations: ["children"]for deeper levels- Large folders paginate; always follow
skip_token/@odata.nextLinkuntil exhausted - Some drive ID formats may return "ObjectHandle is Invalid" errors due to Microsoft Graph API limitations
2. Upload and Download Files
When to use: User wants to upload files to OneDrive or download files from it
Tool sequence: 1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the target folder [Prerequisite] 2. ONE_DRIVE_ONEDRIVE_UPLOAD_FILE - Upload a file to a specified folder [Required for upload] 3. ONE_DRIVE_DOWNLOAD_FILE - Download a file by item ID [Required for download] 4. ONE_DRIVE_GET_ITEM - Get file details before download [Optional]
Key parameters:
file: FileUploadable object withs3key,mimetype, andnamefor uploadsfolder: Destination path (e.g.,"/Documents/Reports") or folder ID for uploadsitem_id: File's unique identifier for downloadsfile_name: Desired filename with extension for downloadsdrive_id: Specific drive ID (for SharePoint or OneDrive for Business)user_id:"me"(default) or specific user identifier
Pitfalls:
- Upload automatically renames on conflict (no overwrite option by default)
- Large files are automatically handled via chunking
drive_idoverridesuser_idwhen both are provided- Item IDs vary by platform: OneDrive for Business uses
01...prefix, OneDrive Personal usesHASH!NUMBERformat - Item IDs are case-sensitive; use exactly as returned from API
3. Share Files and Manage Permissions
When to use: User wants to share files/folders or manage who has access
Tool sequence: 1. ONE_DRIVE_ONEDRIVE_FIND_FILE or ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the item [Prerequisite] 2. ONE_DRIVE_GET_ITEM_PERMISSIONS - Check current permissions [Prerequisite] 3. ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM - Grant access to specific users [Required] 4. ONE_DRIVE_CREATE_LINK - Create a shareable link [Optional] 5. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Update item metadata [Optional]
Key parameters:
item_id: The file or folder to sharerecipients: Array of objects withemailorobject_idroles: Array with"read"or"write"send_invitation:trueto send notification email,falsefor silent permission grantrequire_sign_in:trueto require authentication to accessmessage: Custom message for invitation (max 2000 characters)expiration_date_time: ISO 8601 date for permission expiryretain_inherited_permissions:true(default) to keep existing inherited permissions
Pitfalls:
- Using wrong
item_idwithINVITE_USER_TO_DRIVE_ITEMchanges permissions on unintended items; always verify first - Write or higher roles are impactful; get explicit user confirmation before granting
GET_ITEM_PERMISSIONSreturns inherited and owner entries; do not assume response only reflects recent changespermissionscannot be expanded viaONE_DRIVE_GET_ITEM; use the separate permissions endpoint- At least one of
require_sign_inorsend_invitationmust betrue
4. Manage Folders (Create, Move, Delete, Copy)
When to use: User wants to create, move, rename, delete, or copy files and folders
Tool sequence: 1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate source and destination folders [Prerequisite] 2. ONE_DRIVE_ONEDRIVE_CREATE_FOLDER - Create a new folder [Required for create] 3. ONE_DRIVE_MOVE_ITEM - Move a file or folder to a new location [Required for move] 4. ONE_DRIVE_COPY_ITEM - Copy a file or folder (async operation) [Required for copy] 5. ONE_DRIVE_DELETE_ITEM - Move item to recycle bin [Required for delete] 6. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Rename or update item properties [Optional]
Key parameters:
name: Folder name for creation or new name for rename/copyparent_folder: Path (e.g.,"/Documents/Reports") or folder ID for creationitemId: Item to moveparentReference: Object withid(destination folder ID) for moves:{"id": "folder_id"}item_id: Item to copy or deleteparent_reference: Object withidand optionaldriveIdfor copy destination@microsoft.graph.conflictBehavior:"fail","replace", or"rename"for copiesif_match: ETag for optimistic concurrency on deletes
Pitfalls:
ONE_DRIVE_MOVE_ITEMdoes NOT support cross-drive moves; useONE_DRIVE_COPY_ITEMfor cross-drive transfersparentReferencefor moves requires folder ID (not folder name); resolve withONEDRIVE_FIND_FOLDERfirstONE_DRIVE_COPY_ITEMis asynchronous; response provides a URL to monitor progressONE_DRIVE_DELETE_ITEMmoves to recycle bin, not permanent deletion- Folder creation auto-renames on conflict (e.g., "New Folder" becomes "New Folder 1")
- Provide either
nameorparent_reference(or both) forONE_DRIVE_COPY_ITEM
5. Track Changes and Drive Information
When to use: User wants to monitor changes or get drive/quota information
Tool sequence: 1. ONE_DRIVE_GET_DRIVE - Get drive properties and metadata [Required] 2. ONE_DRIVE_GET_QUOTA - Check storage quota (total, used, remaining) [Optional] 3. ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA - Track changes in SharePoint site drives [Optional] 4. ONE_DRIVE_GET_ITEM_VERSIONS - Get version history of a file [Optional]
Key parameters:
drive_id: Drive identifier (or"me"for personal drive)site_id: SharePoint site identifier for delta trackingtoken: Delta token ("latest"for current state, URL for next page, or timestamp)item_id: File ID for version history
Pitfalls:
- Delta queries are only available for SharePoint site drives via
ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA - Token
"latest"returns current delta token without items (useful as starting point) - Deep or large drives can take several minutes to crawl; use batching and resume logic
Common Patterns
ID Resolution
- User: Use
"me"for authenticated user or specific user email/GUID - Item ID from find: Use
ONE_DRIVE_ONEDRIVE_FIND_FILEorONE_DRIVE_ONEDRIVE_FIND_FOLDERto get item IDs - Item ID from search: Extract from
ONE_DRIVE_SEARCH_ITEMSresults - Drive ID: Use
ONE_DRIVE_LIST_DRIVESorONE_DRIVE_GET_DRIVEto discover drives - Folder path to ID: Use
ONE_DRIVE_ONEDRIVE_FIND_FOLDERwith path, then extract ID from response
ID formats vary by platform:
- OneDrive for Business/SharePoint:
01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK - OneDrive Personal:
D4648F06C91D9D3D!54927
Pagination
OneDrive uses token-based pagination:
- Follow
@odata.nextLinkorskip_tokenuntil no more pages - Set
topfor page size (varies by endpoint) ONE_DRIVE_ONEDRIVE_LIST_ITEMSauto-handles pagination internally- Aggressive parallel requests can trigger HTTP 429; honor
Retry-Afterheaders
Path vs ID
Most OneDrive tools accept either paths or IDs:
- Paths: Start with
/(e.g.,"/Documents/Reports") - IDs: Use unique item identifiers from API responses
- Item paths for permissions: Use
:/path/to/item:/format
Known Pitfalls
ID Formats
- Item IDs are case-sensitive and platform-specific
- Never use web URLs, sharing links, or manually constructed identifiers as item IDs
- Always use IDs exactly as returned from Microsoft Graph API
Rate Limits
- Aggressive parallel
ONE_DRIVE_GET_ITEMcalls can trigger HTTP 429 Too Many Requests - Honor
Retry-Afterheaders and implement throttling - Deep drive crawls should use batching with delays
Search Limitations
- No KQL support; use plain keywords only
- No wildcard characters; use extension keywords (e.g.,
"pdf"not"*.pdf") - No path-based filtering in search; use folder listing instead
q='*'wildcard-only queries return HTTP 400 invalidRequest
Parameter Quirks
drive_idoverridesuser_idwhen both are providedpermissionscannot be expanded viaGET_ITEM; use dedicated permissions endpoint- Move operations require folder IDs in
parentReference, not folder names - Copy operations are asynchronous; response provides monitoring URL
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| Search files | ONE_DRIVE_SEARCH_ITEMS | q, search_scope, top |
| List root items | ONE_DRIVE_ONEDRIVE_LIST_ITEMS | user_id, select, top |
| Get item details | ONE_DRIVE_GET_ITEM | item_id, expand_relations |
| Find file by name | ONE_DRIVE_ONEDRIVE_FIND_FILE | name, folder |
| Find folder by name | ONE_DRIVE_ONEDRIVE_FIND_FOLDER | name, folder |
| Upload file | ONE_DRIVE_ONEDRIVE_UPLOAD_FILE | file, folder |
| Download file | ONE_DRIVE_DOWNLOAD_FILE | item_id, file_name |
| Create folder | ONE_DRIVE_ONEDRIVE_CREATE_FOLDER | name, parent_folder |
| Move item | ONE_DRIVE_MOVE_ITEM | itemId, parentReference |
| Copy item | ONE_DRIVE_COPY_ITEM | item_id, parent_reference, name |
| Delete item | ONE_DRIVE_DELETE_ITEM | item_id |
| Share with users | ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM | item_id, recipients, roles |
| Create share link | ONE_DRIVE_CREATE_LINK | item_id, link type |
| Get permissions | ONE_DRIVE_GET_ITEM_PERMISSIONS | item_id |
| Update metadata | ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA | item_id, fields |
| Get drive info | ONE_DRIVE_GET_DRIVE | drive_id |
| List drives | ONE_DRIVE_LIST_DRIVES | user/group/site scope |
| Get quota | ONE_DRIVE_GET_QUOTA | (none) |
| Track changes | ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA | site_id, token |
| Version history | ONE_DRIVE_GET_ITEM_VERSIONS | item_id |
{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-02-24T17:49:23.558Z",
"slug": "sickn33-one-drive-automation",
"source_url": "https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/one-drive-automation",
"source_ref": "main",
"model": "claude",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "dc909a01c2b65dd5e60189ebbc1b826f4e0c867b6f1fb6a1062451f88b11cbbd",
"tree_hash": "aa82fa18db3fda7680d1bfda2f23c6536dc539de0c3572ed432ca9f4b9c02d7e"
},
"skill": {
"name": "one-drive-automation",
"description": "Automate OneDrive file management, search, uploads, downloads, sharing, permissions, and folder operations via Rube MCP (Composio).",
"summary": "Complete OneDrive automation through Rube MCP with file operations, sharing, permissions, and folder management.",
"icon": "📦",
"version": "1.0.1",
"author": "sickn33",
"license": "MIT",
"category": "office",
"tags": [
"onedrive",
"file-management",
"microsoft",
"cloud-storage",
"automation"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": []
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"summary": "This skill is purely documentation (SKILL.md, 244 lines) describing OneDrive automation via Rube MCP. All 237 static analysis findings are false positives: backticks are Markdown code formatting around tool names (not shell execution), URLs are documentation references (not network code), and crypto patterns are ID format examples (not actual cryptography). No executable code present. Safe for publication.",
"risk_factor_evidence": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 244,
"audit_model": "claude",
"audited_at": "2026-02-24T17:49:23.558Z"
},
"content": {
"user_title": "Automate OneDrive file operations and sharing",
"value_statement": "Managing OneDrive files manually is time-consuming. This skill automates uploads, downloads, sharing, permissions, and folder operations through Rube MCP.",
"seo_keywords": [
"OneDrive automation",
"Claude skills",
"Codex tools",
"Claude Code MCP",
"file management",
"Rube MCP",
"Composio",
"Microsoft 365",
"cloud storage",
"OneDrive API"
],
"actual_capabilities": [
"Search and browse OneDrive files using keyword queries or folder navigation",
"Upload files to specific folders and download files by item ID",
"Share files and folders with specific users or create shareable links",
"Manage permissions including read and write access grants",
"Create, move, copy, rename, and delete files and folders",
"Track file changes and monitor storage quota usage"
],
"limitations": [
"Requires active Rube MCP connection with OneDrive toolkit configured",
"Microsoft OAuth authentication required before any operations can run",
"Search does not support KQL syntax or wildcard characters",
"Copy operations are asynchronous and require progress monitoring"
],
"use_cases": [
{
"title": "Business document management",
"description": "Automate routine OneDrive tasks like uploading reports, organizing files into folders, and sharing documents with team members. Reduces manual file management overhead.",
"target_user": "Office workers and team coordinators"
},
{
"title": "Automated backup workflows",
"description": "Set up automated file uploads to OneDrive for important documents, with organized folder structures and version tracking for compliance purposes.",
"target_user": "System administrators and IT professionals"
},
{
"title": "Collaborative file sharing",
"description": "Streamline sharing workflows by granting permissions to multiple users, creating shareable links with appropriate access levels, and managing invitation notifications.",
"target_user": "Project managers and collaborators"
}
],
"prompt_templates": [
{
"title": "Beginner: Search for files",
"prompt": "Search my OneDrive for files containing the keyword \"quarterly report\" and show me the top 10 results with their names and web URLs.",
"scenario": "Finding specific documents in OneDrive"
},
{
"title": "Intermediate: Upload and organize",
"prompt": "Upload the file at \"s3://bucket/report.pdf\" to my OneDrive folder \"/Documents/Reports\" and then create a shareable link with read-only access.",
"scenario": "Uploading files and sharing with team"
},
{
"title": "Advanced: Bulk permission management",
"prompt": "Find the folder named \"Project Alpha\" in my Documents, check current permissions, then grant read access to alice@example.com and write access to bob@example.com with invitation emails sent.",
"scenario": "Managing folder permissions for team collaboration"
},
{
"title": "Expert: Automated folder structure",
"prompt": "Create a folder hierarchy under \"/Clients\" with subfolders for each client name I provide. For each client folder, create three subfolders: \"Contracts\", \"Invoices\", and \"Deliverables\". Then move the corresponding files from my root directory into the appropriate folders.",
"scenario": "Setting up organized client folder structures"
}
],
"output_examples": [
{
"input": "Search for PDF files about budget in my OneDrive",
"output": "Found 5 files matching 'budget': 1) Q4_Budget_2025.pdf (2.3 MB, last modified Jan 15), 2) Annual_Budget_Summary.pdf (1.8 MB, last modified Dec 20), 3) Budget_Template.xlsx (450 KB, last modified Nov 8), 4) Department_Budgets.pdf (3.1 MB, last modified Oct 30), 5) Budget_Forecast_2026.pdf (1.2 MB, last modified Jan 3)."
},
{
"input": "Upload report.pdf to /Documents and share with john@company.com",
"output": "Successfully uploaded report.pdf to /Documents (item ID: 01ABCDEF123456). Created sharing invitation for john@company.com with read access. Invitation email sent. John can access the file at: https://onedrive.live.com/view.aspx?resid=ABC123"
}
],
"best_practices": [
"Always call RUBE_SEARCH_TOOLS first to get current tool schemas before any operation",
"Verify OneDrive connection status is ACTIVE before running workflows",
"Use specific item IDs from API responses rather than constructing identifiers manually"
],
"anti_patterns": [
"Do not use KQL syntax or wildcard characters in search queries - use plain keywords only",
"Do not assume folder IDs from names - always resolve with ONEDRIVE_FIND_FOLDER first",
"Do not ignore pagination tokens - follow skip_token or nextLink until exhausted for complete results"
],
"faq": [
{
"question": "What do I need before using this skill?",
"answer": "You need Rube MCP connected as an MCP server (https://rube.app/mcp) and an active OneDrive connection established through RUBE_MANAGE_CONNECTIONS with Microsoft OAuth authentication completed."
},
{
"question": "Can this skill search inside file contents?",
"answer": "Yes, ONE_DRIVE_SEARCH_ITEMS searches across filenames, metadata, and file contents. However, it uses plain keyword search only - KQL operators and wildcards are not supported."
},
{
"question": "How do I handle large folders with many files?",
"answer": "Use token-based pagination by following the @odata.nextLink or skip_token from responses. Set the 'top' parameter for page size and iterate until no more pages remain."
},
{
"question": "What happens if a file with the same name already exists?",
"answer": "Upload operations automatically rename conflicting files (e.g., 'report.pdf' becomes 'report 1.pdf'). There is no built-in overwrite option by default."
},
{
"question": "Can I copy files between different OneDrive accounts?",
"answer": "Direct move operations do not support cross-drive transfers. Use ONE_DRIVE_COPY_ITEM for cross-drive copies, noting that copy operations are asynchronous and provide a monitoring URL."
},
{
"question": "Why do item IDs look different for different files?",
"answer": "Item ID formats vary by platform. OneDrive for Business uses formats like '01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK' while OneDrive Personal uses formats like 'D4648F06C91D9D3D!54927'. Always use IDs exactly as returned from the API."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 244
}
]
}
Related skills
FAQ
What is required to run it?
Rube MCP must be connected with an active OneDrive connection via RUBE_MANAGE_CONNECTIONS using toolkit one_drive.
Does it support KQL search syntax?
No, ONE_DRIVE_SEARCH_ITEMS does not support KQL operators; they are treated as literal text.