google-drive

Manage Google Drive files and permissions using the gws CLI.

1.7k|523|Updated May 5, 2026
One-click install
npx skills add https://github.com/Lilac-Labs/gini-agent --skill google-drive-lilac-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-drive
Source: https://github.com/Lilac-Labs/gini-agent/tree/main/skills/google/google-drive
Command: npx skills add https://github.com/Lilac-Labs/gini-agent --skill google-drive-lilac-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of manually searching for files, uploading/downloading documents, and managing sharing and permissions in Google Drive.

Core Features & Use Cases

  • File search, listing, and metadata lookup: Find files and folders by name fragment, MIME type, parent folder, or modification time.
  • Upload and download: Upload local files (with MIME detection) and download files by ID, including exporting Docs to other formats.
  • Sharing and permission management: List current permissions and grant access at the desired role, including shared-drive workflows.

Quick Start

Ask an AI agent to upload your report.pdf to the specified Drive folder and share it with [email protected] as a writer.

Frequently Asked Questions about google-drive

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

FAQPage Schema
How do I upload files to Google Drive and share them with specific users?

To upload files to Google Drive and share them, you can use an AI agent to upload local files with MIME detection and grant access to specific emails at the desired role. This removes the friction of manually searching, uploading, and managing sharing permissions.

How can I search for Google Drive files by name or modification time?

You can search for Google Drive files by name fragment, MIME type, parent folder, or modification time. This allows you to quickly find files and folders and retrieve their metadata without manually navigating the Drive interface.

Do I need authenticated gws with Drive scopes to manage shared drives?

Yes, managing shared drives requires authenticated gws with Drive scopes. Keeping operations scoped to the user’s selected OAuth scopes ensures secure administration of shared drives, permissions updates, and file revisions via Drive v3 endpoints.

Can I export Google Docs to other formats when downloading files by ID?

Yes, you can export Google Docs to other formats when downloading files by ID. This functionality is part of the Drive v3-based file endpoints, enabling you to retrieve and convert documents directly through the gws CLI.

What is the best way to manage Google Drive permissions for shared drive workflows?

The best way to manage Google Drive permissions is by listing current permissions and granting access at the desired role. This approach supports shared-drive workflows and ensures file sharing operations remain scoped to your authenticated OAuth permissions.

Why does my Google Drive upload fail without proper MIME detection?

Google Drive uploads require proper MIME detection to correctly format local files. Using the gws CLI ensures local files are uploaded with the correct MIME types, preventing upload failures and ensuring files are accessible via Drive v3 endpoints.