google-drive

Automate Google Drive file uploads, downloads, searches, and metadata management via PyDrive2.

7|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/WarrenZhu050413/Warren-Claude-Code-Plugin-Marketplace --skill google-drive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-drive
Source: https://github.com/WarrenZhu050413/Warren-Claude-Code-Plugin-Marketplace/tree/main/claude-context-orchestrator/skills/google-drive
Command: npx skills add https://github.com/WarrenZhu050413/Warren-Claude-Code-Plugin-Marketplace --skill google-drive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pydrive2, google-api-python-client, google-auth-oauthlib, google-auth-httplib2, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of managing files in Google Drive, from simple uploads to complex search operations, giving you back control of your cloud storage.

Core Features & Use Cases

  • File Management: Upload, download, search, and organize files across your Google Drive with simple commands.
  • Smart Content Handling: Automatically detects markdown formatting and sets appropriate MIME types for optimal file handling.
  • Use Case: Imagine you need to process 50 client reports. Use this Skill to automatically search for all PDF reports, download them locally for analysis, then upload the processed versions to a dedicated client folder.

Quick Start

Use the google-drive skill to search for all PDF files containing "quarterly report" in their titles and provide a summary of what you find.

Frequently Asked Questions about google-drive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate file uploads and downloads on Google Drive?

Automate Google Drive file uploads and downloads using PyDrive2 with preconfigured credentials. The Skill exposes helper functions like upload_file, download_file, and get_file_content that handle authentication, MIME-type detection, and file transfer automatically, eliminating manual portal interactions.

Can I search and filter files across Google Drive programmatically?

Yes, search Google Drive files programmatically using the search_files function with query syntax to filter by name, type, or metadata. The Skill supports ListFile-based queries for complex searches, enabling batch retrieval of specific documents without manual browsing.

How do I manage permissions and metadata for Google Drive files?

Manage file permissions and metadata programmatically through helper functions that read and modify access controls and file properties. The Skill automates permission assignment and metadata updates across individual files or batch operations without manual Drive UI interaction.

Does this work with markdown content uploads to Google Drive?

Yes, the Skill automatically detects markdown formatting and sets appropriate MIME types when uploading string content. The upload_string function handles markdown-aware content detection, ensuring proper file type handling and optimal rendering in Google Drive.

What do I need to set up before using this Skill for Google Drive automation?

Set up Google API credentials and store them at ~/.gdrivelm/ before using the Skill. The authenticate function manages OAuth2 configuration with google-auth-oauthlib and google-auth-httplib2 libraries, establishing the connection needed for subsequent file operations.

Can I organize files into folders and perform batch operations on Google Drive?

Yes, create folders and perform batch actions using create_folder and helper functions that support bulk file operations. The Skill enables folder creation and simultaneous management of multiple files across Google Drive in single workflows.