google-drive-upload — Claude Code skill: install
google-drive-upload is a Claude Code skill that sends files to Google Drive through a deployed Google Apps Script web app. It reacts to requests to store or upload a file.
MIT 101 installs ★ 3,785 updated 2026-10-25
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-codeWhat google-drive-upload does
google-drive-upload reads ~/.cowork-gdrive-config.json, converts the selected file to Base64, and posts it to a deployed Google Apps Script web app. The agent returns the resulting Google Drive file URL. It can activate when a user asks to upload, save, or send a file to Drive, or when a workflow creates a file that belongs there.
The one-time setup requires a Google Apps Script deployed as a web app, plus ~/.cowork-gdrive-config.json containing the script URL and API key. folderPath places a file in a Drive folder, while replaceExisting: true replaces an existing copy. Google Apps Script limits uploads to about 50MB, and Hebrew filenames are supported.
What it helps with
- upload a report or presentation to Google Drive
- store a generated file under
Clients/Acme - send a file through a Google Apps Script web app
- replace an existing Drive copy instead of duplicating it
Example prompts for the agent
- Upload this report to Google Drive.
- Save the presentation in the
Clients/Acmefolder on Drive. - Replace the existing Drive file and return its URL.
How to install google-drive-upload
1Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-code2Manually: put the files in place
~/.claude/skills/google-drive-upload/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/google-drive-upload/
1Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a codex2Manually: put the files in place
.agents/skills/google-drive-upload/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a cursor2Manually: put the files in place
.cursor/skills/google-drive-upload/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davepoon/buildwithclaude plugins/all-skills/skills/google-drive-upload2Manually: put the files in place
.github/skills/google-drive-upload/SKILL.md1Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a gemini-cli2Platform CLI
gemini skills install https://github.com/davepoon/buildwithclaude --path plugins/all-skills/skills/google-drive-uploadManually: put the files in place
.devin/skills/google-drive-upload/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about google-drive-upload
How do I install google-drive-upload in Claude Code?
Run npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-code, then check ~/.claude/skills/google-drive-upload/SKILL.md.
What does google-drive-upload do?
The skill encodes a file as Base64, sends it to a deployed Google Apps Script web app, and returns the file link from Google Drive.
What does google-drive-upload need to work?
A Google Apps Script web app deployment is required, along with ~/.cowork-gdrive-config.json containing the script URL and API key. Google Apps Script allows files of about 50MB.
Source text
SKILL.md · MIT
---
name: google-drive-upload
category: automation
description: >
Upload files directly to Google Drive via a deployed Google Apps Script web app.
Trigger on: upload to Drive, save to Drive, send to Drive, put this in Drive.
Also Hebrew: "תעלה לדרייב", "שמור בדרייב", "העלה לגוגל דרייב".
Use proactively when a workflow produces a file the user might want in Drive.
---
# Google Drive Upload
Upload files directly from Claude to Google Drive using a simple Google Apps Script.
## When to Use This Skill
- User asks to upload, save, or send a file to Google Drive
- A workflow produces a file the user might want stored in Drive
- User mentions Drive in any language (English or Hebrew)
## What This Skill Does
1. Reads the user's config file (`~/.cowork-gdrive-config.json`)
2. Base64-encodes the target file
3. POSTs it to the deployed Google Apps Script
4. Returns the Google Drive file URL
## How to Use
### Prerequisites (One-Time Setup)
1. Deploy the included Google Apps Script as a web app
2. Create `~/.cowork-gdrive-config.json` with your script URL and API key
### Basic Usage
Ask Claude naturally:
- "Upload this report to Google Drive"
- "Save the presentation in Clients/Acme on Drive"
- "תעלה את זה לדרייב"
### Upload Workflow
\`\`\`bash
# Read config
cat "$HOME/.cowork-gdrive-config.json"
# Encode and upload
FILE="/path/to/file"
B64=$(base64 "$FILE" | tr -d '\n')
MIME=$(file --mime-type -b "$FILE")
curl -s -L -H "Content-Type: application/json" \
-d '{"fileName":"name","content":"'$B64'","mimeType":"'$MIME'","apiKey":"KEY"}' \
"SCRIPT_URL"
\`\`\`
## Example
**User**: "Upload this report to Google Drive"
**Output**: Claude encodes the file, uploads it via the Apps Script, and returns:
"Uploaded successfully! Here's your file: https://drive.google.com/file/d/abc123/view"
## Tips
- Use `folderPath` to organize files into folders (e.g., "Clients/Acme")
- Add `"replaceExisting": true` to overwrite instead of duplicating
- Hebrew filenames are fully supported
- Max file size is ~50MB (Google Apps Script limit)
## Source
Full plugin with setup guide and Apps Script code:
https://github.com/msmobileapps/google-drive-upload-plugin
Built by [MSApps](https://msapps.mobi) — AI Automation & Application Development
© davepoon · MIT · davepoon/buildwithclaude