google-drive-upload

google-drive-upload is a skill for Claude Code from MSApps-Mobile/claude-plugins. It costs 97 tokens per session (1,096 once invoked), scanned A, original, MIT.

A procedure for sending files from Claude to Google Drive, Google's online file storage service, through a Google Apps Script web app.

In plain words
What is it for?
Use it to upload documents, PDFs, spreadsheets, presentations, and other files to Google Drive.
Why use it?
It removes the need to upload documents manually and checks whether the required Drive connection is configured.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the google-drive-upload plugin — 1 skill shipped together

Good fit Use it to upload documents, PDFs, spreadsheets, presentations, and other files to Google Drive.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/msapps-mobile/claude-plugins/google-drive-upload
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MSApps-Mobile/claude-plugins --skill google-drive-upload
Clone the repo
git clone --depth 1 https://github.com/MSApps-Mobile/claude-plugins

Made for: Claude Code.

Or install google-drive-upload, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-drive-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/google-drive-upload/github.svg)](https://agentmods.dev/skills/msapps-mobile/claude-plugins/google-drive-upload)
Your own site
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/google-drive-upload"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/google-drive-upload/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-drive-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/google-drive-upload"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/google-drive-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01096
Opus 5.5 $0.00039 $0.00438
Sonnet 5.5 $0.00019 $0.00219
Haiku 4.5 $0.00010 $0.00110

Measured 2mo ago against content hash 8d2628fdfb62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

google-drive-upload scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

RESPONSE=$(curl -s -L --fail --max-time 60 \
plugins/google-drive-upload/skills/google-drive-upload/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Drive Upload

Upload files directly to Google Drive via a deployed Google Apps Script web app.

Completely free — unlimited uploads, no restrictions.

Environment note: This skill works in both Claude Code and Cowork. The only difference is how the config file is read in Step 1 — Claude Code reads it directly, Cowork uses osascript.


Step 1: Read the config

The config lives on the Mac at ~/.cowork-gdrive-config.json.

In Claude Code (direct file system access):

CONFIG=$(cat ~/.cowork-gdrive-config.json 2>/dev/null || echo "NOT_CONFIGURED")

In Cowork (VM — needs osascript to reach the Mac home):

CONFIG=$(osascript -e 'do shell script "cat ~/.cowork-gdrive-config.json 2>/dev/null || echo NOT_CONFIGURED"')

Then parse it safely in Python — never log or print the raw config string:

python3 -c "
import json, sys
raw = '''$CONFIG'''
if raw.strip() == 'NOT_CONFIGURED':
    print('STATUS:NOT_CONFIGURED')
    sys.exit(0)
try:
    cfg = json.loads(raw)
    print('STATUS:OK')
    print(f'URL:{cfg[\"url\"]}')
except Exception as e:
    print(f'STATUS:PARSE_ERROR:{e}')
"
  • If STATUS:NOT_CONFIGURED → tell the user: "The Google Drive connection isn't set up yet. Please follow the setup instructions at https://msapps.mobi/plugins to configure your Apps Script URL." Stop here.
  • If STATUS:PARSE_ERROR → tell the user the config file is malformed and ask them to check ~/.cowork-gdrive-config.json.
  • If STATUS:OK → extract URL from output. Continue.

Step 2: Identify the file

Check common output locations — use the file the user specified, or find the most recent:

ls -lt "$HOME/Documents/Claude/"*.* 2>/dev/null | head -5
ls -lt /sessions/*/mnt/outputs/ 2>/dev/null | head -5
ls -lt /sessions/*/mnt/Claude/ 2>/dev/null | head -5

Ask the user to confirm which file to upload if it's not obvious.


Step 3: Upload the file

Always use the temp file approach — it handles filenames with spaces, Hebrew characters, and special chars safely:

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 138 lines · 97 tokens per session scan A 8d2628fdfb62

Subscribe to this mod's changes

google-drive-upload is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (10 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 1,096 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.