From agi-super-team
Upload files, create folders, list, search, share, and manage permissions on Google Drive files via CLI. Useful for automating document workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agi-super-team:google-driveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Upload files, create folders, list and search Google Drive via CLI.
Upload files, create folders, list and search Google Drive via CLI.
google-auth (if token expired)google-api-python-client, google-auth| What | Path |
|---|---|
| Script | $GOOGLE_TOOLS_PATH/drive_manager.py |
| Token | $GOOGLE_TOOLS_PATH/token.json |
| Credentials | $GOOGLE_TOOLS_PATH/credentials.json |
| Venv Python | $GOOGLE_TOOLS_PATH/.venv/bin/python3 |
| Folder | ID |
|---|---|
| Root (WeLabelData) | <YOUR_DRIVE_ROOT_ID> |
| Clients | <YOUR_CLIENTS_FOLDER_ID> |
| Templates | <YOUR_TEMPLATES_FOLDER_ID> |
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py list FOLDER_ID
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py create-folder "Folder Name" --parent FOLDER_ID
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py upload /path/to/file.pdf --folder FOLDER_ID
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py upload /path/to/file.pdf --folder FOLDER_ID --name "Custom Name.pdf"
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py search "query"
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py search "query" --folder FOLDER_ID
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py share FILE_ID --email [email protected] --role writer
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py share FILE_ID --email [email protected] --role reader --notify --message "Please review"
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py permissions FILE_ID
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py create-doc "Title" --folder FOLDER_ID
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py create-doc "Title" --folder FOLDER_ID --html /path/to/content.html
cd $GOOGLE_TOOLS_PATH && ./.venv/bin/python3 drive_manager.py info FILE_ID
| Parameter | Description | Default |
|---|---|---|
folder_id | Folder ID for list command | required |
--parent | Parent folder ID for create-folder | root |
--folder | Target folder ID for upload / search / create-doc | none |
--name | Custom filename for upload | original filename |
--email | Email to share with (share command) | required |
--role | Permission role: reader, writer, commenter | writer |
--notify | Send email notification when sharing | false |
--message | Custom notification message | none |
--html | Path to HTML file for doc content (create-doc) | empty doc |
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py list <YOUR_CLIENTS_FOLDER_ID>
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py create-folder "Acme Corp" --parent <YOUR_CLIENTS_FOLDER_ID>
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py upload ~/invoices/inv-100.pdf --folder CLIENT_FOLDER_ID --name "Invoice #100.pdf"
cd $GOOGLE_TOOLS_PATH && python3 drive_manager.py search "proposal" --folder <YOUR_CLIENTS_FOLDER_ID>
All commands output JSON array. Each entry has:
id — Google Drive file IDname — file/folder namemimeType — MIME type (application/vnd.google-apps.folder for folders)webViewLink — direct link to open in browserdrive.readonly (list/search) + drive.file (create/upload/share). Cannot modify files not created by this app.| Problem | Solution |
|---|---|
token.json expired | Run google-auth skill to refresh |
| 403 insufficient permissions | Check scopes in google_scopes.py, may need to re-auth |
| File not found on upload | Use absolute path or ~ expansion |
| Empty list result | Verify folder ID is correct, check trashed status |
google-auth — OAuth token managementinvoice-generator-agent — generates invoices that can be uploaded herenpx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-teamAutomates Google Drive file operations (search, upload, download, move, copy, rename, trash) via Python scripts with standalone OAuth. Requires Google Workspace account.
Interact with Google Drive via Python CLI scripts to search, list, download, upload, create folders, move, copy, rename, and trash files. Uses standalone OAuth authentication.
Reads, exports, uploads, renames, moves, and deletes Google Drive files via the Drive v3 REST API. Use when the user provides a Drive file ID or link.