skills/one-drive-automation/SKILL.md
Automate OneDrive file management, search, uploads, downloads, sharing, permissions, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.
npx skillsauth add ranbot-ai/awesome-skills one-drive-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automate OneDrive operations including file upload/download, search, folder management, sharing links, permissions management, and drive browsing through Composio's OneDrive toolkit.
RUBE_MANAGE_CONNECTIONS with toolkit one_driveRUBE_SEARCH_TOOLS first to get current tool schemasGet 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.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit one_driveWhen to use: User wants to find files or browse folder contents in OneDrive
Tool sequence:
ONE_DRIVE_GET_DRIVE - Verify drive access and get drive details [Prerequisite]ONE_DRIVE_SEARCH_ITEMS - Keyword search across filenames, metadata, and content [Required]ONE_DRIVE_ONEDRIVE_LIST_ITEMS - List all items in the root of a drive [Optional]ONE_DRIVE_GET_ITEM - Get detailed metadata for a specific item, expand children [Optional]ONE_DRIVE_ONEDRIVE_FIND_FILE - Find a specific file by exact name in a folder [Optional]ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Find a specific folder by name [Optional]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 for GET_ITEMexpand_relations: Array like ["children"] or ["thumbnails"] for GET_ITEMuser_id: "me" (default) or specific user ID/emailPitfalls:
ONE_DRIVE_SEARCH_ITEMS does NOT support KQL operators (folder:, file:, filetype:, path:); these are treated as literal text*, ?) are NOT supported and are auto-removed; use file extension keywords instead (e.g., "pdf" not "*.pdf")ONE_DRIVE_ONEDRIVE_LIST_ITEMS returns only root-level contents; use recursive ONE_DRIVE_GET_ITEM with expand_relations: ["children"] for deeper levelsskip_token / @odata.nextLink until exhaustedWhen to use: User wants to upload files to OneDrive or download files from it
Tool sequence:
ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the target folder [Prerequisite]ONE_DRIVE_ONEDRIVE_UPLOAD_FILE - Upload a file to a specified folder [Required for upload]ONE_DRIVE_DOWNLOAD_FILE - Download a file by item ID [Required for download]ONE_DRIVE_GET_ITEM - Get file details before download [Optional]Key parameters:
file: FileUploadable object with s3key, mimetype, and name for 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 identifierPitfalls:
drive_id overrides user_id when both are provided01... prefix, OneDrive Personal uses HASH!NUMBER formatWhen to use: User wants to share files/folders or manage who has access
Tool sequence:
ONE_DRIVE_ONEDRIVE_FIND_FILE or ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the item [Prerequisite]ONE_DRIVE_GET_ITEM_PERMISSIONS - Check current permissions [Prerequisite]ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM - Grant access to specific users [Required]ONE_DRIVE_CREATE_LINK - Create a shareable link [Optional]ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Update item metadata [Optional]Key parameters:
item_id: The file or folder to sharerecipients: Array of objects with email or object_idroles: Array with "read" or "write"send_invitation: true to send notification email, false for silent permission grantrequire_sign_in: true to require autools
Use when a user asks to mine or update a private, evidence-backed work profile from local Claude Code, Codex, Copilot CLI, or OpenCode sessions.
data-ai
Use when diagnosing Android overheating, idle heat, thermal throttling, charging or radio heat, or abnormal battery drain with read-only ADB evidence and approval gates.
research
Research public competitor ads, analyze creative patterns and landing pages, and produce an evidence-labeled strategic teardown.
tools
Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.