gws-drive-upload

Uploads a specified file to Google Drive with automatic metadata detection and optional parent folder selection.

30.3k|1.8k|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/googleworkspace/cli --skill gws-drive-upload-googleworkspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-drive-upload
Source: https://github.com/googleworkspace/cli/tree/main/skills/gws-drive-upload
Command: npx skills add https://github.com/googleworkspace/cli --skill gws-drive-upload-googleworkspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of uploading files to Google Drive, automatically handling metadata and ensuring files are correctly placed.

Core Features & Use Cases

  • File Upload: Upload local files to Google Drive.
  • Automatic Metadata: Infers MIME type and filename automatically.
  • Parent Folder Specification: Option to specify the parent folder for the upload.
  • Use Case: Quickly upload a local PDF report to a specific folder in your Google Drive, ensuring it's named correctly and accessible.

Quick Start

Upload the local file named 'document.pdf' to your Google Drive.

Frequently Asked Questions about gws-drive-upload

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

FAQPage Schema
How do I upload local files to Google Drive?

Upload local files to Google Drive by specifying the target file path, with options to define a specific parent folder and custom filename. The process uses the gws CLI to transfer the file and automatically detects its metadata.

Can I specify a parent folder when uploading a file to Google Drive?

Yes, you can specify a parent folder when uploading a file to Google Drive. This ensures your uploaded files are correctly placed directly within the desired directory structure rather than the root drive.

Does the Google Drive upload process automatically detect file metadata?

Yes, the Google Drive upload process automatically detects file metadata. It infers both the MIME type and the filename automatically, simplifying the upload operation without requiring manual metadata configuration.

Do I need the gws CLI to upload files to Google Workspace?

Yes, you need the gws CLI to upload files to Google Workspace. The Skill integrates directly with the gws CLI to perform streamlined Google Drive upload operations and manage file placement.

What is the best way to upload a PDF report to a specific Google Drive folder?

The best way to upload a PDF report to a specific Google Drive folder is to use the gws CLI integration. It allows you to target a specific parent folder and apply custom naming to ensure the document is correctly placed and accessible.