google-drive-upload — скилл для Claude Code: установка
Скилл google-drive-upload для Claude Code отправляет файлы в Google Drive через веб-приложение Google Apps Script. Срабатывает по просьбе сохранить или загрузить файл.
MIT 101 установок ★ 3 785 обновлён 2026-10-25
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-codeЧто делает google-drive-upload
google-drive-upload читает настройки из ~/.cowork-gdrive-config.json, кодирует выбранный файл в Base64 и отправляет его POST-запросом в развёрнутое веб-приложение Google Apps Script. В ответ агент возвращает URL файла в Google Drive. Скилл подключается, когда пользователь просит загрузить, сохранить или отправить файл в Drive, а также когда рабочий процесс создал файл для хранения.
Для разовой настройки нужно развернуть Google Apps Script как веб-приложение и создать конфигурацию с URL скрипта и API-ключом. Папку можно задать через folderPath, а replaceExisting: true заменяет существующий файл вместо создания копии. Максимальный размер файла около 50MB из-за ограничения Google Apps Script; имена файлов на иврите поддерживаются.
Какие задачи решает
- загрузить отчёт или презентацию в Google Drive
- сохранить созданный файл в папке
Clients/Acme - передать файл через веб-приложение Google Apps Script
- заменить существующую копию файла в Drive
Примеры запросов агенту
- Загрузи этот отчёт в Google Drive.
- Сохрани презентацию в папке
Clients/Acmeна Drive. - Замени существующий файл в Drive и верни его URL.
Как установить google-drive-upload
1Через Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-code2Вручную: положить файлы
~/.claude/skills/google-drive-upload/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/google-drive-upload/
1Через Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a codex2Вручную: положить файлы
.agents/skills/google-drive-upload/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a cursor2Вручную: положить файлы
.cursor/skills/google-drive-upload/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install davepoon/buildwithclaude plugins/all-skills/skills/google-drive-upload2Вручную: положить файлы
.github/skills/google-drive-upload/SKILL.md1Через Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a gemini-cli2Командой платформы
gemini skills install https://github.com/davepoon/buildwithclaude --path plugins/all-skills/skills/google-drive-uploadВручную: положить файлы
.devin/skills/google-drive-upload/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add davepoon/buildwithclaude --skill google-drive-upload -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о google-drive-upload
Как установить google-drive-upload в Claude Code?
Выполните npx skills add davepoon/buildwithclaude --skill google-drive-upload -a claude-code, затем проверьте файл ~/.claude/skills/google-drive-upload/SKILL.md.
Что делает google-drive-upload?
Скилл кодирует файл в Base64, отправляет его в развёрнутое веб-приложение Google Apps Script и возвращает ссылку на файл в Google Drive.
Что нужно для работы google-drive-upload?
Нужно развернуть Google Apps Script как веб-приложение и создать ~/.cowork-gdrive-config.json с URL скрипта и API-ключом. Ограничение Google Apps Script составляет около 50MB на файл.
Исходный текст
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