google-drive
Interact with Google Drive - search files, find folders, list contents, download files, upload files, create folders, move, copy, rename, and trash files. Use when user asks to: search Google Drive, find a file/folder, list Drive contents, download or upload files, create folders, move files, or org
By sanjay3290 · 835 installs
npx skills add sanjay3290/ai-skills --skill google-drive
Source repository · Upstream listing
Google Drive
Lightweight Google Drive integration with standalone OAuth authentication. No MCP server required. Full read/write access.
Requires Google Workspace account. Personal Gmail accounts are not supported.
First Time Setup
Authenticate with Google (opens browser):
Check authentication status:
Logout when needed:
Read Commands
All operations via scripts/drive.py . Auto authenticates on first use if not logged in.
Write Commands
Search Query Formats
The search command supports multiple query formats:
Format Example Description
Full text "quarterly report" Searches file contents and names
Title "title:budget" Searches file names only
URL https://drive.google.com/... Extracts and uses file/folder ID
Folder ID 1ABC123... Lists folder contents (25+ char IDs)
Native query mimeType='application/pdf' Pass through Drive query syntax
File ID Format
Google Drive uses long IDs like 1ABC123xyz abc123 . Get IDs from:
search results
find folder results
list results
Google Drive URLs
Download Limitations
Regular files (PDFs, images, etc.) download directly
Google Docs/Sheets/Slides cannot be downloaded via this tool
For Google Workspace files, use export or dedicated tools
Token Management
Tokens stored securely using the system keyring:
macOS : Keychain
Windows : Windows Credential Locker
Linux : Secret Service API (GNOME Keyring, KDE Wallet, etc.)
Service name: google drive skill oauth
Automatically refreshes expired tokens using Google's cloud function.