К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

google-drive-automation — скилл для Claude Code: установка и команды

Даёт агенту читать и записывать файлы в Google Drive через два локальных скрипта и отдельную OAuth-авторизацию. MCP-сервер не нужен.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sickn33/agentic-awesome-skills --skill google-drive-automation -a claude-code
Открыть на GitHub

Что делает google-drive-automation

Скилл открывает агенту Google Drive через два локальных скрипта. python scripts/auth.py login проводит авторизацию в браузере и кладёт токен в системное хранилище, а дальше python scripts/drive.py ищет файлы, скачивает их, заливает новые, создаёт папки, переносит, копирует и отправляет в корзину. MCP-сервер для этого не требуется.

Поиск принимает несколько форм: обычный текст смотрит по именам и содержимому, префикс title: сужает до названий, ссылка на файл в Drive разбирается в ID сама. Есть search --shared-with-me, find-folder по точному имени и list с лимитом на страницу. Доступ на запись полный, и уровень риска в манифесте — critical.

Google Docs, Sheets и Slides скилл не скачивает, для них нужен экспорт. И главное: самих скриптов в поставке нет. scripts/auth.py и scripts/drive.py придётся взять из исходной установки и просмотреть перед запуском, потому что токены проходят через облачную функцию обновления, а её адресата и права стоит проверить по коду. Перед любой записью сверь точные ID файлов и папок: перенос в корзину задевает соавторов.

Какие задачи решает

  • найти файл по названию, а не по длинному ID
  • скачать PDF из папки проекта на локальную машину
  • залить отчёт в конкретную папку под новым именем
  • перенести или переименовать файл, не открывая браузер
  • создать дерево папок под вложения

Примеры запросов агенту

  • найди в Drive файл с квартальным отчётом и скачай его в `./downloads/report.pdf`
  • залей `~/Documents/report.pdf` в папку `1ABC123xyz` с именем «Q4 Report.pdf»
  • покажи, что лежит в корне Drive, первые 20 файлов

Как установить google-drive-automation

1Через Skills CLI (Vercel)

npx skills add sickn33/agentic-awesome-skills --skill google-drive-automation -a claude-code

2Вручную: положить файлы

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

Папка скилла целиком; для одного проекта — .claude/skills/google-drive-automation/

Из того же набора80

Весь набор →
docker-expert sickn33 Скилл для ИИ-агента, который разбирает Dockerfile, multi-stage сборки и безопасность контейнеров. Пригодится, когда нужно навести порядок в образах и Compose. Claude Code CX Codex Cursor +1 27 200установок typescript-expert sickn33 Скилл для работы с TypeScript и JavaScript: разбирает типы, ускоряет проверку и помогает с миграциями. Пригодится, когда проект на TS растёт и компилятор начинает тормозить. Claude Code CX Codex Cursor +1 12 600установок browser-automation sickn33 Скилл помогает проверять браузерные сценарии по состоянию интерфейса и результату операции. Подходит для UI-тестов, диагностики таймингов и разрешённого сбора данных. Claude Code CX Codex Cursor +1 6 700установок nextjs-supabase-auth sickn33 Скилл настраивает Supabase Auth в Next.js App Router: клиенты, middleware, OAuth callback и Server Actions. Пригодится для защиты маршрутов и работы с сессиями. Claude Code CX Codex Cursor +1 6 500установок 3d-web-experience sickn33 Помогает создавать и отлаживать 3D-сцены, конфигураторы товаров и портфолио для веба. Разбирает выбор стека, загрузку моделей и производительность. Claude Code CX Codex Cursor +1 5 200установок prisma-expert sickn33 Скилл помогает разбирать схемы Prisma, миграции и запросы. Пригодится, когда нужно найти причину ошибки или проверить изменения перед деплоем. Claude Code CX Codex Cursor +1 4 200установок playwright-skill sickn33 Скилл для написания и запуска тестов браузера через Playwright: проверка вёрстки на разных экранах, скриншоты, тесты логина и заполнения форм. Код выполняется локально через Node. Claude Code CX Codex Cursor +1 3 900установок game-development sickn33 Координирует структуру игры: задаёт базовые принципы архитектуры и перенаправляет агента к подскиллам для веба, ПК, мобильных платформ или VR. Claude Code CX Codex Cursor +1 3 800установок

Похожие

mod-any-game rehan-remade Скилл для создания модов к ПК-играм: от разведки движка и резервных копий сейвов до генерации ассетов и сборки первого рабочего прототипа. Claude Code CX Codex Cursor +1 1 500установок cost-budget-check ruvnet Считает, сколько проект уже потратил, сравнивает с лимитом и называет уровень тревоги: от INFO на 50% до HARD_STOP на 100%. Пригодится перед запуском новой пачки агентов. Claude Code CX Codex Cursor +1 692установок skill-review sanyuan0704 Проверяет структуру, описания и расход токенов в скиллах Claude Code. Находит антипаттерны и даёт точечные правки. Claude Code CX Codex Cursor +1 2 200установок adr-verify ruvnet Читает сохранённый граф ADR из памяти и находит битые ссылки, циклы замены и несовпадения статусов. Пригодится сразу после adr-index и как гейт в CI. Claude Code CX Codex Cursor +1 688установок cli-anything-inkscape HKUDS Скилл даёт агенту интерфейс командной строки для редактирования векторной графики Inkscape через JSON-проекты и манипуляции с SVG. Claude Code CX Codex Cursor +1 599установок godot-nodes-scenes gamedev-skills Учит агента собирать проект Godot 4.7 из узлов и сцен: делать переиспользуемые .tscn, ставить инстансы в рантайме и не падать на удалённых узлах. Claude Code CX Codex Cursor +1 6 200установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. Claude Code 1 052 851установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. Claude Code 711 230установок

Вопросы о google-drive-automation

Как установить google-drive-automation в Claude Code?

Выполни npx skills add sickn33/agentic-awesome-skills --skill google-drive-automation -a claude-code. Файл скилла окажется по пути ~/.claude/skills/google-drive-automation/SKILL.md.

Что делает google-drive-automation?

Ищет, скачивает, заливает, перемещает, копирует и переименовывает файлы в Google Drive, а также создаёт папки. Всё через локальные скрипты, без MCP-сервера: авторизация отдельная, по OAuth.

Какие файлы не получится скачать?

Google Docs, Sheets и Slides этот скилл не выгружает, для них нужен экспорт средствами Workspace. Обычные файлы вроде PDF и картинок скачиваются напрямую.

Исходный текст

SKILL.md · Apache-2.0
---
name: google-drive-automation
description: "Lightweight Google Drive integration with standalone OAuth authentication. No MCP server required. Full read/write access."
license: Apache-2.0
risk: critical
source: community
date_added: "2026-02-05"
metadata:
  author: sanjay3290
  version: "1.0"
---
## Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

- `<support-root>/scripts/auth.py`
- `<support-root>/scripts/drive.py`

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.


# Google Drive

Lightweight Google Drive integration with standalone OAuth authentication. No MCP server required. Full read/write access.

> Account support and OAuth scopes depend on the missing upstream scripts; verify the actual OAuth application before login. This entry does not establish a general restriction on personal Google accounts.

## When to Use
- You need to search, list, upload, download, move, or organize Google Drive files and folders.
- The task requires direct Drive read/write automation through local scripts in a Workspace account.
- You want file-level Drive operations without introducing an MCP server dependency.

## First-Time Setup

Authenticate with Google (opens browser):
```bash
python scripts/auth.py login
```

Check authentication status:
```bash
python scripts/auth.py status
```

Logout when needed:
```bash
python scripts/auth.py logout
```

## Read Commands

All operations via `scripts/drive.py`. Auto-authenticates on first use if not logged in.

```bash
# Search for files (full-text search)
python scripts/drive.py search "quarterly report"

# Search by title only
python scripts/drive.py search "title:budget"

# Search using Google Drive URL (extracts ID automatically)
python scripts/drive.py search "https://drive.google.com/drive/folders/1ABC123..."

# Search files shared with you
python scripts/drive.py search --shared-with-me

# Search with pagination
python scripts/drive.py search "report" --limit 5 --page-token "..."

# Find a folder by exact name
python scripts/drive.py find-folder "Project Documents"

# List files in root Drive
python scripts/drive.py list

# List files in a specific folder
python scripts/drive.py list 1ABC123xyz --limit 20

# Download a file
python scripts/drive.py download 1ABC123xyz ./downloads/report.pdf
```

Resolve scripts relative to the reviewed `<support-root>`, not an unrelated repository `scripts/` folder. Before writes, confirm exact file/folder IDs, destination and permissions; moving/trashing content may affect collaborators. A read request does not authorize changes, sharing or broader OAuth scopes.

## Write Commands

```bash
# Upload a file to Drive root
python scripts/drive.py upload ~/Documents/report.pdf

# Upload to a specific folder
python scripts/drive.py upload ~/Documents/report.pdf --folder 1ABC123xyz

# Upload with a custom name
python scripts/drive.py upload ~/Documents/report.pdf --name "Q4 Report.pdf"

# Create a new folder
python scripts/drive.py create-folder "Project Documents"

# Create a folder inside another folder
python scripts/drive.py create-folder "Attachments" --parent 1ABC123xyz

# Move a file to a different folder
python scripts/drive.py move FILE_ID DESTINATION_FOLDER_ID

# Copy a file
python scripts/drive.py copy FILE_ID
python scripts/drive.py copy FILE_ID --name "Report Copy" --folder 1ABC123xyz

# Rename a file or folder
python scripts/drive.py rename FILE_ID "New Name.pdf"

# Move a file to trash
python scripts/drive.py trash FILE_ID
```

## Search Query Formats

The search command supports multiple query formats:

| Format | Example | Description |
|--------|---------|-------------|
| Full-text | `"quarterly report"` | Searches file contents and names |
| Title | `"title:budget"` | Searches file names only |
| URL | `https://drive.google.com/...` | Extracts and uses file/folder ID |
| Folder ID | `1ABC123...` | Lists folder contents (25+ char IDs) |
| Native query | `mimeType='application/pdf'` | Pass-through Drive query syntax |

## File ID Format

Google Drive uses long IDs like `1ABC123xyz_-abc123`. Get IDs from:
- `search` results
- `find-folder` results
- `list` results
- Google Drive URLs

## Download Limitations

- Regular files (PDFs, images, etc.) download directly
- Google Docs/Sheets/Slides cannot be downloaded via this tool
- For Google Workspace files, use export or dedicated tools

## Token Management

Upstream describes token storage using the system keyring; verify actual implementation and fallback behavior before relying on it:
- **macOS**: Keychain
- **Windows**: Windows Credential Locker
- **Linux**: Secret Service API (GNOME Keyring, KDE Wallet, etc.)

Service name: `google-drive-skill-oauth`

The upstream integration describes a cloud-function refresh flow. Verify its operator, destination, scopes and token handling from the actual scripts before transmitting tokens; do not assume Google operates an endpoint because it is hosted on its infrastructure.

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

© sanjay3290 · Apache-2.0 · sickn33/agentic-awesome-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой