google-drive

Automate Google Drive file operations via the gws CLI with JSON outputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Google Drive management via the gws CLI is tedious when performing routine actions like listing, searching, uploading, downloading, and sharing files. This Skill provides a consolidated workflow to streamline these tasks with parseable JSON outputs.

Core Features & Use Cases

  • List files in Drive using the gws drive files list command with --format json and sensible defaults.
  • Search, get metadata, upload, download, and share files, including managing folder structures and permissions.
  • Use cases include locating documents, sharing assets with collaborators, and exporting Drive items when needed.

Quick Start

Use the gws CLI to list Drive files today and identify the IDs for subsequent actions.

Frequently Asked Questions about google-drive

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

FAQPage Schema
How do I search and list Google Drive files using the command line?

You can list Google Drive files with the command line by using the gws drive files list command. This method applies sensible defaults and returns JSON-formatted responses for easy parsing of file IDs and metadata.

Can I upload and download Google Drive files from a CLI?

Yes, you can upload and download Google Drive files from a CLI using the gws tool. This Skill automates file transfers and exports, returning parseable JSON outputs to confirm the completion of your file management operations.

How do I automate Google Drive file sharing via a command line interface?

Automating Google Drive file sharing via a command line interface is possible by executing sharing commands through the gws CLI. This approach manages folder permissions and collaborator access while outputting structured JSON results.

Do I need special authentication to manage Drive files with the gws CLI?

Yes, managing Drive files with the gws CLI requires specific Drive authentication. You must configure your gws CLI environment with valid credentials before executing any file management, search, or sharing operations.

What is the best way to get parseable JSON output for Google Drive file management?

The best way to get parseable JSON output for Google Drive file management is using the gws CLI with the --format json flag. This ensures all file searches, uploads, and sharing actions return structured data for automation.

Can I locate specific documents across Google Drive without using the web interface?

You can locate specific documents across Google Drive without the web interface by running search commands through the gws CLI. It queries your stored files and returns matching document IDs in a JSON format.