google-drive

Automate OAuth token management and file operations for Google Drive API.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/leessju/claude-skills --skill google-drive-leessju
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-drive
Source: https://github.com/leessju/claude-skills/tree/main/google-drive
Command: npx skills add https://github.com/leessju/claude-skills --skill google-drive-leessju

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires keyring, and includes scripts (resource) components.

What problem does it solve?

This skill enables direct Google Drive API communication by issuing OAuth tokens without cloud functions and performing file operations, simplifying serverless integration.

Core Features & Use Cases

  • Direct Google OAuth 2.0 flow with keyring-backed token storage to securely persist credentials.
  • Upload and download files to Google Drive, with folder creation and navigation.
  • Automatic token refresh and long-lived authentication suitable for serverless or local automation.

Quick Start

Run python3 ~/.claude/skills/google-drive/scripts/auth.py to start OAuth authentication and store credentials in the system keyring.

Frequently Asked Questions about google-drive

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

FAQPage Schema
How do I automate Google Drive file uploads without using cloud functions?

You can automate Google Drive file uploads without cloud functions by using a direct Google OAuth 2.0 flow with Python scripts. This approach handles browser-based consent, token exchange, and file operations locally, making it suitable for serverless or local automation scenarios.

What is the best way to manage Google Drive OAuth tokens for serverless automation?

The best way to manage Google Drive OAuth tokens for serverless automation is using a keyring-backed token store. This method securely persists credentials locally and supports automatic token refresh for long-lived authentication without requiring cloud function infrastructure.

Can I use Python to handle Google Drive API authentication and folder creation locally?

Yes, you can use Python scripts to handle Google Drive API authentication and folder creation locally. The scripts manage the direct OAuth authorization flow, token exchange, and programmatic file upload, download, and folder navigation without relying on cloud platforms.

How does the keyring dependency work with Google Drive API token storage?

The keyring dependency works with Google Drive API token storage by providing a secure system-level credential store. After completing the browser-based OAuth consent and token exchange, the Python scripts save the issued tokens directly into the keyring for long-term automated access.

Does direct Google OAuth token management support automatic refresh for long-lived access?

Yes, direct Google OAuth token management supports automatic refresh for long-lived access. The Python scripts handle token refresh internally, ensuring that your serverless or local automation workflows maintain continuous Google Drive API communication without requiring manual re-authentication.