googleworkspace/cli · Official

gws-drive-upload

Google Drive: Upload a file with automatic metadata.

All-time #570 Trending #1091 Hot #5937 First seen Mar 4, 2026
8-week activity · all time api

Installation

$ npx skills add googleworkspace/cli --skill gws-drive-upload

Summary

  • Upload files to Google Drive with automatic MIME type detection and metadata.
  • Accepts a local file path and uploads it to Google Drive, with optional parent folder targeting and custom filename override Automatically detects MIME type based on file extension; filename defaults to source filename unless specified with --name Requires Google Workspace authentication via the shared gws module; treat as a write command and confirm with users before execution

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Apr 1, 2026

The skill provides instructions for uploading files to Google Drive using the 'gws' CLI tool. It follows security best practices by requiring user confirmation for write operations and referencing centralized authentication and security rules.

snyk LOW

Analyzed Apr 1, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Apr 1, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from googleworkspace/cli · top by installs.

npx skills add googleworkspace/cli

Browse all from googleworkspace/cli

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 30.8K
License LICENSE
Default branch main
Open issues 129
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.22.5
Declared agents clawdbot
More metadata
version
0.22.5
openclaw
{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws drive +upload --help"}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,305 B
  • docs SUMMARY.md 76 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 44,000 installs

SKILL.md

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

Flag Required Default Description
<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](../gws-shared/SKILL.md) — Global flags and auth
  • [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands