{"id":"76209b2d-e312-4fe4-a9a8-053e257ea534","shortId":"mDtZaU","kind":"skill","title":"gws-drive-upload","tagline":"Google Drive: Upload a file with automatic metadata.","description":"# drive +upload\n\n> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.\n\nUpload a file with automatic metadata\n\n## Usage\n\n```bash\ngws drive +upload <file>\n```\n\n## Flags\n\n| Flag | Required | Default | Description |\n|------|----------|---------|-------------|\n| `<file>` | ✓ | — | Path to file to upload |\n| `--parent` | — | — | Parent folder ID |\n| `--name` | — | — | Target filename (defaults to source filename) |\n\n## Examples\n\n```bash\ngws drive +upload ./report.pdf\ngws drive +upload ./report.pdf --parent FOLDER_ID\ngws drive +upload ./data.csv --name 'Sales Data.csv'\n```\n\n## Tips\n\n- MIME type is detected automatically.\n- Filename is inferred from the local path unless --name is given.\n\n> [!CAUTION]\n> This is a **write** command — confirm with the user before executing.\n\n## See Also\n\n- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth\n- [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands","tags":["gws","drive","upload","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin","google-api"],"capabilities":["skill","source-googleworkspace","skill-gws-drive-upload","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-drive-upload","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 26371 github stars · SKILL.md body (1,037 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:29.626Z","embedding":null,"createdAt":"2026-04-18T20:24:27.735Z","updatedAt":"2026-05-18T18:52:29.626Z","lastSeenAt":"2026-05-18T18:52:29.626Z","tsv":"'/data.csv':83 '/gws-drive/skill.md':129 '/gws-shared/skill.md':17,121 '/report.pdf':72,76 'also':117 'auth':19,125 'automat':11,39,92 'bash':42,68 'caution':104 'command':109,137 'confirm':110 'creat':33 'data.csv':86 'default':49,63 'descript':50 'detect':91 'drive':3,6,13,44,70,74,81,128,136 'exampl':67 'execut':115 'file':9,37,53,132 'filenam':62,66,93 'flag':21,46,47,123 'folder':58,78,133 'generat':30 'generate-skil':29 'given':103 'global':20,122 'googl':5 'gws':2,28,43,69,73,80,119,127 'gws-drive':126 'gws-drive-upload':1 'gws-share':118 'id':59,79 'infer':95 'local':98 'manag':131 'metadata':12,40 'mime':88 'miss':26 'name':60,84,101 'parent':56,57,77 'path':51,99 'prerequisit':15 'read':16 'requir':48 'rule':24 'run':27 'sale':85 'secur':23 'see':116 'share':120,135 'skill':31 'skill-gws-drive-upload' 'sourc':65 'source-googleworkspace' 'target':61 'tip':87 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'type':89 'unless':100 'upload':4,7,14,35,45,55,71,75,82 'usag':41 'user':113 'write':108","prices":[{"id":"91b00b70-59d1-4660-8340-d6bd7e595d74","listingId":"76209b2d-e312-4fe4-a9a8-053e257ea534","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:24:27.735Z"}],"sources":[{"listingId":"76209b2d-e312-4fe4-a9a8-053e257ea534","source":"github","sourceId":"googleworkspace/cli/gws-drive-upload","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-drive-upload","isPrimary":false,"firstSeenAt":"2026-04-18T21:51:50.212Z","lastSeenAt":"2026-05-18T18:52:29.626Z"},{"listingId":"76209b2d-e312-4fe4-a9a8-053e257ea534","source":"skills_sh","sourceId":"googleworkspace/cli/gws-drive-upload","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-drive-upload","isPrimary":true,"firstSeenAt":"2026-04-18T20:24:27.735Z","lastSeenAt":"2026-05-07T22:40:14.524Z"}],"details":{"listingId":"76209b2d-e312-4fe4-a9a8-053e257ea534","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-drive-upload","github":{"repo":"googleworkspace/cli","stars":26371,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-05-12T16:46:11Z","description":"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","skill_md_sha":"fe2b4017e3a2865132b89a75792d5f02f3ad2ffc","skill_md_path":"skills/gws-drive-upload/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/gws-drive-upload"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"gws-drive-upload","description":"Google Drive: Upload a file with automatic metadata."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-drive-upload"},"updatedAt":"2026-05-18T18:52:29.626Z"}}