Communityコーディング&開発github.com

googleworkspace/gws-drive

Google Drive:ファイル、フォルダ、共有ドライブを管理します。

gws-drive とは?

このスキル「googleworkspace/gws-drive」は、Google Drive上のファイル、フォルダ、共有ドライブを管理するためのツールです。開発者やAIエージェントが、Drive APIを介してファイルのアップロード、ダウンロード、検索、整理、共有設定の変更などの操作をコードから直接実行できるようにします。主にClaude CodeやCursork、CodexといったAIエージェントプラットフォームで利用され、自然言語の指示を実際のDrive操作に変換することで、ファイル管理作業を大幅に自動化・効率化します。例えば、「先週作成されたスプレッドシートを探してチームに共有する」といった複雑な指示も、このスキルが適切なAPI呼び出しに分解して実行します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/googleworkspace/cli/tree/main/skills/gws-drive

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

gws-drive は何をしますか?

Google Drive:ファイル、フォルダ、共有ドライブを管理します。

概要

このスキルを使用すると、AIエージェントがGoogle Driveに対して以下の操作を実行できます。

  • ファイルの一覧表示、検索、作成、更新、削除
  • フォルダの作成、操作
  • 共有ドライブの管理とファイル操作
  • ファイルのアップロード、ダウンロード
  • 権限と共有設定の管理

対応プラットフォーム

  • Claude Code
  • Cursor
  • Codex
  • その他のAIエージェント(OpenAI Functions互換)

使い方

スキルの詳細な使用方法については、各プラットフォームのドキュメントを参照してください。

必要な環境変数

  • GOOGLE_DRIVE_API_KEY - Google Drive APIキー
  • GOOGLE_DRIVE_CLIENT_ID - OAuth 2.0クライアントID
  • GOOGLE_DRIVE_CLIENT_SECRET - OAuth 2.0クライアントシークレット
  • GOOGLE_DRIVE_REFRESH_TOKEN - リフレッシュトークン

主な機能

機能説明
ファイル操作ファイルの作成、読み取り、更新、削除
フォルダ管理フォルダの作成、ツリー構造の操作
検索ファイル名、タイプ、日付などで検索
共有権限の追加、変更、削除
共有ドライブ共有ドライブ内のファイル操作

制限事項

  • Google Drive APIのレート制限が適用されます。
  • 大容量ファイルのアップロード・ダウンロードには時間がかかる場合があります。
  • 一部の操作には適切な権限スコープが必要です。

関連リソース

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

googleworkspace/gws-admin-reports

Google Workspace Admin SDK: Audit logs and usage reports.

googleworkspace/gws-calendar

Google Calendar: Manage calendars and events.

googleworkspace/gws-calendar-agenda

Google Calendar: Show upcoming events across all calendars.

googleworkspace/gws-calendar-insert

Google Calendar: Create a new event.

googleworkspace/gws-chat

Google Chat: Manage Chat spaces and messages.

googleworkspace/gws-chat-send

Google Chat: Send a message to a space.

googleworkspace/gws-classroom

Google Classroom: Manage classes, rosters, and coursework.

googleworkspace/gws-docs

Read and write Google Docs.

googleworkspace/gws-docs-write

Google Docs: Append text to a document.

googleworkspace/gws-drive-upload

Google Drive: Upload a file with automatic metadata.

googleworkspace/gws-events

Subscribe to Google Workspace events.

googleworkspace/gws-events-renew

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

googleworkspace/gws-events-subscribe

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.

googleworkspace/gws-forms

Read and write Google Forms.

googleworkspace/gws-gmail

Gmail: Send, read, and manage email.

googleworkspace/gws-gmail-forward

Gmail: Forward a message to new recipients.

googleworkspace/gws-gmail-read

Gmail: Read a message and extract its body or headers.

googleworkspace/gws-gmail-reply

Gmail: Reply to a message (handles threading automatically).

googleworkspace/gws-gmail-reply-all

Gmail: Reply-all to a message (handles threading automatically).

googleworkspace/gws-gmail-send

Gmail: Send an email.

関連スキル