Generated banner for Gws Drive Upload
Generated logo for Gws Drive Upload

Gws Drive Upload

Google WorkspaceOfficialPublished by Google Workspace

  • Skill
  • Tool integration
  • Automation and integrations
  • Apache-2.0
  • No issues found

From the author

Google Drive: Upload a file with automatic metadata.
— the description by Google Workspace

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The gws-drive-upload skill provides a streamlined interface for uploading local files to Google Drive. It automatically detects the appropriate MIME type for the file and allows users to specify target folders or custom filenames during the upload process.

What it does

  • Uploads local files directly to Google Drive.
  • Automatically detects and assigns the correct MIME type.
  • Allows specification of a parent folder ID for organized storage.
  • Supports renaming files during the upload process.

When to use it

  • When you need to automate the transfer of local documents or data files to Google Drive.
  • When you want to ensure files are uploaded with correct metadata without manual intervention.

Advantages

  • Simplifies Google Drive file management via command line.
  • Reduces manual effort by automating MIME type detection.
  • Provides flexible options for file naming and destination management.

Usage examples

“Upload report.pdf to my Google Drive.”
The agent executes the upload command, automatically detecting the PDF MIME type and saving the file to the default location.
“Upload data.csv to the folder with ID 12345 and name it Sales Data.csv.”
The agent uploads the file to the specified folder and updates the filename to Sales Data.csv.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/googleworkspace/gws-drive-upload/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip gws-drive-upload.zip -d .agents/skills

Documentation by Google Workspace

drive +upload

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Upload a file with automatic metadata

Usage

gws drive +upload <file>

Flags

FlagRequiredDefaultDescription
<file>✓—Path to file to upload
--parent——Parent folder ID
--name——Target filename (defaults to source filename)

Examples

gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'

Tips

  • MIME type is detected automatically.

  • Filename is inferred from the local path unless --name is given.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth

  • gws-drive — All manage files, folders, and shared drives commands

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google Workspace
Publisher
Google Workspace (Official)
Source
googleworkspace/cli · skills/gws-drive-upload · commit cd3697e
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google Workspace or Google Workspace.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gws-drive-upload.zip