gws-drive-upload
Agent skill fromgoogleworkspace/cli
Google Drive: Upload a file with automatic metadata.
How to install gws-drive-upload
install gws-drive-upload
# install the cli pack with the skills CLI
npx skills add googleworkspace/cli# or add only this skill to Claude Code: copy the folder
skills/gws-drive-upload/
# into
~/.claude/skills/gws-drive-upload/ (all projects)
.claude/skills/gws-drive-upload/ (one project)
1# drive +upload23> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.45Upload a file with automatic metadata67## Usage89```bash10gws drive +upload <file>11```1213## Flags1415| Flag | Required | Default | Description |16|------|----------|---------|-------------|17| `<file>` | ✓ | — | Path to file to upload |18| `--parent` | — | — | Parent folder ID |19| `--name` | — | — | Target filename (defaults to source filename) |2021## Examples2223```bash24gws drive +upload ./report.pdf25gws drive +upload ./report.pdf --parent FOLDER_ID26gws drive +upload ./data.csv --name 'Sales Data.csv'27```2829## Tips3031- MIME type is detected automatically.32- Filename is inferred from the local path unless --name is given.3334> [!CAUTION]35> This is a **write** command — confirm with the user before executing.3637## See Also3839- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth40- [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands
Excerpt shown under the repository's Apache-2.0 license.
