gws-drive-upload

Upload local files to Google Drive using the gws drive +upload command.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-drive-upload-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-drive-upload
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.agent/skills/gws-drive-upload
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-drive-upload-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables uploading a local file to Google Drive via the gws drive +upload command, centralizing file transfers from local environments to Drive.

Core Features & Use Cases

  • Upload a local file to Google Drive with optional parent folder and custom name.
  • MIME type auto-detection and metadata handling for correct Drive storage.
  • Use case: back up a set of reports from your workstation to a shared Drive repository automatically.

Quick Start

Run gws drive +upload <file> to upload a local file to 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 a local file to Google Drive from the command line?

To upload a local file to Google Drive from the command line, use the gws drive +upload command with your file path. This transfers the document to Drive while automatically detecting MIME types and applying safety checks before writing.

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

Yes, you can specify a parent folder and custom name when uploading a file to Google Drive by passing the optional --parent and --name flags in the gws drive +upload command to control file placement and naming.

Does the gws drive upload command automatically detect MIME types?

Yes, the gws drive upload command automatically detects MIME types. It handles metadata automatically to ensure your local file is stored with the correct format and properties in your Google Drive repository.

What is the best way to automate backing up local reports to a shared Google Drive?

The best way to automate backing up local reports to a shared Google Drive is using the gws drive +upload command within your automation scripts to transfer files with optional parent folder controls and metadata handling.

Do I need the gws binary installed to upload files to Google Drive?

Yes, you need the gws binary installed to upload files to Google Drive. The Skill executes the gws drive +upload command, which requires this binary present in your local environment to perform the file transfer.

Are there safety checks performed before writing a file to Google Drive?

Yes, safety checks are performed before writing a file to Google Drive. The gws drive +upload command detects MIME types and validates the transfer to ensure metadata is handled correctly before writing to the repository.