This skill helps you manage Google Drive files and folders securely by simplifying upload, download, sharing, and organization.
npx playbooks add skill abdullahbeam/nexus-design-abdullah --skill google-drive
Upload, download, and manage files and folders in Google Drive via OAuth authentication.
---
python3 00-system/skills/google/google-master/scripts/google_auth.py --check --service drive
Exit codes:
python3 00-system/skills/google/google-master/scripts/google_auth.py --login---
python3 00-system/skills/google/google-drive/scripts/drive_operations.py list
python3 00-system/skills/google/google-drive/scripts/drive_operations.py list --folder <folder_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py search "report"
python3 00-system/skills/google/google-drive/scripts/drive_operations.py info <file_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <file_id> --output ./local_file.pdf
python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <doc_id> --format pdf
python3 00-system/skills/google/google-drive/scripts/drive_operations.py upload ./local_file.pdf --folder <folder_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py create-folder "New Folder" --parent <parent_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py move <file_id> <destination_folder_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py copy <file_id> --name "Copy of File"
python3 00-system/skills/google/google-drive/scripts/drive_operations.py rename <file_id> "New Name"
python3 00-system/skills/google/google-drive/scripts/drive_operations.py delete <file_id>
python3 00-system/skills/google/google-drive/scripts/drive_operations.py share <file_id> user@example.com --role writer
python3 00-system/skills/google/google-drive/scripts/drive_operations.py sharing <file_id>
---
The ID is in the URL:
https://drive.google.com/file/d/[FILE_ID]/view
https://drive.google.com/drive/folders/[FOLDER_ID]
---
For Google Docs files, use --format when downloading:
| File Type | Available Formats |
|-----------|-------------------|
| Google Docs | pdf, docx, txt, html |
| Google Sheets | pdf, xlsx, csv |
| Google Slides | pdf, pptx |
---
| Operation | Function | Description |
|-----------|----------|-------------|
| List | list_files() | List files in a folder |
| Search | search_files() | Search by name |
| Info | get_file_info() | Get file metadata |
| Download | download_file() | Download to local |
| Upload | upload_file() | Upload from local |
| Create Folder | create_folder() | Create new folder |
| Move | move_file() | Move to different folder |
| Copy | copy_file() | Duplicate a file |
| Rename | rename_file() | Change name |
| Delete | delete_file() | Move to trash |
| Share | share_file() | Share with user |
| Sharing | get_sharing_info() | Get permissions |
---
| Role | Permissions |
|------|-------------|
| reader | View only |
| commenter | View and comment |
| writer | View, comment, and edit |
---
See [../google-master/references/error-handling.md](../google-master/references/error-handling.md) for common errors and solutions.
---
First-time setup: [../google-master/references/setup-guide.md](../google-master/references/setup-guide.md)
Quick start:
pip install google-auth google-auth-oauthlib google-api-python-client.env file at Nexus root: GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_PROJECT_ID=your-project-id
python3 00-system/skills/google/google-master/scripts/google_auth.py --loginWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.