Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-code
Open on GitHub

What 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/Acme folder 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-code

2Manually: put the files in place

~/.claude/skills/google-drive-upload/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/google-drive-upload/

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

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set235

The whole set →
x-twitter-scraper x-twitter-scraper — a skill for extracting X (Twitter) data via Xquik API: tweet search, user profiles, followers, trends, account monitoring with webhooks. 22 MCP tools included. CX Codex +1 107installs recap The recap skill for Claude Code and Cursor generates a narrative financial review for any time period using MCP tools. CX Codex +1 105installs immich-photo-manager The immich-photo-manager Claude Code skill manages a self-hosted Immich photo library through natural-language requests. It searches images and text in photos, and helps organize albums, duplicates, and metadata. CX Codex +1 105installs tidy This Claude Code skill groups uncategorized transactions and suggests categories. It starts when asked to tidy transactions or sort uncategorized activity. CX Codex +1 104installs szamlazz-invoicing The szamlazz-invoicing Claude Code skill handles Hungarian invoices through the szamlazz.hu Agent API. It activates for requests to issue, cancel, or download an invoice, or create a proforma. CX Codex +1 100installs optimize-database-performance optimize-database-performance — a slash command that works through slow queries, index strategy and schema layout for PostgreSQL and MySQL, then hands back SQL you can apply. Useful once page loads start dragging. CX Codex +1 ★ 3,785repo stars optimize-bundle-size optimize-bundle-size reads your bundle, finds the dependencies that bloat it and rewrites the build config: chunk splitting, lazy routes, tree shaking. Useful when the JS payload slows the page down. CX Codex +1 ★ 3,785repo stars implement-caching-strategy implement-caching-strategy is a Claude Code command that plans and adds caching across browser, application, and database layers. Run it to define TTL and invalidation rules for a project. CX Codex +1 ★ 3,785repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open