
- Installs
- 51.1K
- Last 24h
- +106
- Trending rank
- #1921
- Security
- Pass
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/googleworkspace/cli --skill gws-drive-upload- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads gws-drive-upload automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files, each dated to when it ran.
SKILL.md
The instructions your agent reads when the skill is triggered.
drive +upload
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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 — Global flags and auth
- gws-drive — All manage files, folders, and shared drives commands
FAQ
What does the gws-drive-upload skill do?
Google Drive: Upload a file with automatic metadata.
How do I install gws-drive-upload?
Run npx skills add https://github.com/googleworkspace/cli --skill gws-drive-upload in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/gws-drive-upload/ (personal) or .claude/skills/gws-drive-upload/ (project).
Which AI agents can use gws-drive-upload?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is gws-drive-upload safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer passed; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains gws-drive-upload?
It is published by googleworkspace/cli in googleworkspace/cli. It has 51,123 recorded installs.
More from googleworkspace/cli
gws-gmail
googleworkspace/cli
Gmail: Send, read, and manage email.
gws-shared
googleworkspace/cli
gws CLI: Shared patterns for authentication, global flags, and output formatting.
gws-calendar
googleworkspace/cli
Google Calendar: Manage calendars and events.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.