google_drive

Manages Google Drive files via OAuth 2.0 with listing, search, read, write, and export.

9|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/flaz78/9Lives --skill google-drive-flaz78
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google_drive
Source: https://github.com/flaz78/9Lives/tree/main/workspace/skills/google_drive
Command: npx skills add https://github.com/flaz78/9Lives --skill google-drive-flaz78

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of manually browsing, downloading, editing, and uploading files in Google Drive by providing a single toolset for automated file operations through OAuth 2.0.

Core Features & Use Cases

  • File discovery and browsing: List folder contents and search Drive using Drive query syntax.
  • Content retrieval and export: Read Google Docs/Sheets/Slides as text/CSV and handle binary files (base64) or export formats.
  • Automation of uploads and updates: Upload from local filesystem paths or base64, update existing files, and create or move folders.
  • Use Case: Generate a daily report by searching for the latest “briefing” document, reading its contents, and then uploading the generated report back to a chosen Drive folder.

Quick Start

Use the google_drive skill to read a document by asking: "Read file with ID 'YOUR_FILE_ID' as 'text/plain' and return the first 10000 characters."

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 management without manual browsing?

Automated Google Drive file management uses OAuth 2.0 toolsets to handle listing, searching, downloading, and uploading files. You provide Drive client credentials and a refresh token to integrate document operations into local-first agent workflows.

Can I export Google Docs and Sheets to CSV or text via automation?

Exporting Google Docs and Sheets to text or CSV is supported by retrieving file contents via specific export formats. The toolset reads Google Docs, Sheets, and Slides as text or CSV, and handles binary files using base64 encoding.

What do I need to connect to Google Drive using OAuth 2.0?

Connecting to Google Drive via OAuth 2.0 requires Drive client credentials and a refresh token. This local-first automation approach bypasses manual UI browsing by enforcing per-tool input schemas for direct file operations.

How do I search Google Drive folders using query syntax?

Searching Google Drive folders uses standard Drive query syntax to filter files. You can list folder contents by specifying parameters like folderId, pageSize, orderBy, and trashed status to find specific documents.

How do I upload and update files in Google Drive from a local path?

Uploading and updating Google Drive files accepts local filesystem paths or base64 content. You can automate creating folders, moving files, updating existing documents, and uploading new files directly through the OAuth 2.0 API.