jpskill.com
📄 ドキュメント コミュニティ

google-integration

Google、Gmail、カレンダー、ドキュメント、スプレッドシート、ドライブ、タスク、スライドなど、Google Workspaceの各種サービスを連携させ、ファイル操作や予定調整などをスムーズに行えるようにするSkill。

📜 元の英語説明(参考)

Complete Google Workspace integration (Gmail, Docs, Sheets, Calendar, Drive, Tasks, Slides). Load when user mentions 'google', 'gmail', 'email', 'google docs', 'google sheets', 'spreadsheet', 'google calendar', 'schedule meeting', 'calendar', 'google drive', 'upload file', 'download file', 'google tasks', 'todo', 'google slides', 'presentation', or any Google service operation.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Google、Gmail、カレンダー、ドキュメント、スプレッドシート、ドライブ、タスク、スライドなど、Google Workspaceの各種サービスを連携させ、ファイル操作や予定調整などをスムーズに行えるようにするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o google-integration.zip https://jpskill.com/download/8816.zip && unzip -o google-integration.zip && rm google-integration.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8816.zip -OutFile "$d\google-integration.zip"; Expand-Archive "$d\google-integration.zip" -DestinationPath $d -Force; ri "$d\google-integration.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して google-integration.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → google-integration フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Google連携

統合されたOAuth認証による完全な Google Workspace 連携。一度のログインで、Gmail、Googleドキュメント、Googleスプレッドシート、Googleカレンダー、Googleドライブ、Googleタスク、Googleスライドにアクセスできます。

目的

Google Workspace サービスへの統一されたインターフェースを提供します。

  • シングル認証 - 一度ログインすれば、すべてのサービスを利用可能
  • 共有クレデンシャル - すべてのサービスで1つのOAuth設定
  • 一貫したパターン - すべてのサービスで同じエラー処理

含まれるサービス

サービス 説明 操作
Gmail メール操作 読み取り、送信、返信、転送、下書き、ラベル
Google Docs ドキュメント操作 読み取り、書き込み、作成、エクスポート、フォーマット
Google Sheets スプレッドシート操作 読み取り、書き込み、追加、作成、フォーマット
Google Calendar カレンダー操作 イベントのリスト表示、作成、更新、空き時間検索、空き状況確認
Google Drive ファイルストレージ操作 アップロード、ダウンロード、共有、フォルダ整理
Google Tasks タスク管理 作成、完了、タスクリストの整理
Google Slides プレゼンテーション操作 スライドの作成、編集、テキスト/画像の追加、エクスポート

初回セットアップ

新規ユーザー: "connect google" と言って、インタラクティブなセットアップウィザードを実行します。

ウィザードは以下の手順をガイドします。

  1. Google Cloud プロジェクトの作成
  2. 必要なAPIの有効化
  3. OAuthクレデンシャルの作成
  4. Googleアカウントでの認証

プレフライトチェック (常に最初に実行)

python3 00-system/skills/google/google-master/scripts/check_google_config.py --json

終了コード:

  • 0: 準備完了 - すべてのサービスが利用可能
  • 1: ログインが必要 - 以下のログインコマンドを実行
  • 2: クレデンシャルまたは依存関係が不足

認証するには (すべてのサービスへのアクセスを許可します):

python3 00-system/skills/google/google-master/scripts/google_auth.py --login

サービスごとのクイックスタート

Gmail

# 最近のメールをリスト表示
python3 00-system/skills/google/gmail/scripts/gmail_operations.py list --max 10

# メールを送信 (最初に下書きを作成し、確認を求めます)
python3 00-system/skills/google/gmail/scripts/gmail_operations.py send --to "user@example.com" --subject "Hello" --body "Message"

Google Docs

# ドキュメントを読み取り
python3 00-system/skills/google/google-docs/scripts/docs_operations.py read <document_id>

# ドキュメントを作成
python3 00-system/skills/google/google-docs/scripts/docs_operations.py create "My Document" --content "Initial content"

Google Sheets

# データを読み取り
python3 00-system/skills/google/google-sheets/scripts/sheets_operations.py read <spreadsheet_id> "Sheet1!A1:D10"

# 行を追加
python3 00-system/skills/google/google-sheets/scripts/sheets_operations.py append <spreadsheet_id> "Sheet1!A:D" --values '[["New", "Row", "Data"]]'

Google Calendar

# 今後のイベントをリスト表示
python3 00-system/skills/google/google-calendar/scripts/calendar_operations.py list --max 10

# 利用可能な時間枠を検索
python3 00-system/skills/google/google-calendar/scripts/calendar_operations.py find-slots --duration 30 --from "2025-12-16" --to "2025-12-20"

Google Drive

# ルートのファイルをリスト表示
python3 00-system/skills/google/google-drive/scripts/drive_operations.py list

# ファイルをアップロード
python3 00-system/skills/google/google-drive/scripts/drive_operations.py upload ./local_file.pdf

# ファイルをダウンロード
python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <file_id> --output ./downloaded.pdf

Google Tasks

# タスクをリスト表示
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py tasks

# タスクを作成
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py create "Call John" --due 2025-12-20

# タスクを完了
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py complete <task_id>

Google Slides

# プレゼンテーションをリスト表示
python3 00-system/skills/google/google-slides/scripts/slides_operations.py list

# プレゼンテーションを作成
python3 00-system/skills/google/google-slides/scripts/slides_operations.py create "Q4 Report"

# PDFにエクスポート
python3 00-system/skills/google/google-slides/scripts/slides_operations.py export <presentation_id> ./report.pdf

構造

google/
├── SKILL.md                          # このファイル (バンドルの概要)
├── google-connect/                   # セットアップウィザード (say "connect google")
│   └── SKILL.md                      # インタラクティブなセットアップワークフロー
├── google-master/                    # 共有リソース (直接ロードしないでください)
│   ├── SKILL.md                      # 共有リソースのドキュメント
│   ├── scripts/
│   │   ├── google_auth.py            # すべてのサービスに対する統一されたOAuth
│   │   └── check_google_config.py    # プレフライト検証
│   └── references/
│       ├── setup-guide.md            # 完全なセットアップ手順
│       └── error-handling.md         # 一般的なエラーと解決策
├── gmail/
│   ├── SKILL.md                      # Gmail固有のドキュメント
│   └── scripts/gmail_operations.py
├── google-docs/
│   ├── SKILL.md                      # Docs固有のドキュメント
│   └── scripts/docs_operations.py
├── google-sheets/
│   ├── SKILL.md                      # Sheets固有のドキュメント
│   └── scripts/sheets_operations.py
├── google-calendar/
│   ├── SKILL.md                      # Calendar固有のドキュメント
│   └── scripts/calendar_operations.py
├── google-drive/
│   ├── SKILL.md                      # Drive固有のドキュメント
│   └── scripts/drive_operations.py
├── google-tasks/
│   ├── SKILL.md                      # Tasks固有のドキュメント
│   └── scripts/tasks_operations.py
└── google-slides/
    ├── SKILL.md                      # Slides固有のドキュメント
    └── scripts/slides_operations.py

セットアップ

前提条件

pip install google-auth google-auth-oauthlib google-api-python-client

1. Google Cloud プロジェクトの作成

  1. Google Cloud Console にアクセスします。

(原文がここで切り詰められています)

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Google Integration

Complete Google Workspace integration with unified OAuth authentication. One login grants access to Gmail, Google Docs, Google Sheets, Google Calendar, Google Drive, Google Tasks, and Google Slides.

Purpose

Provides a unified interface to Google Workspace services with:

  • Single authentication - Login once, use all services
  • Shared credentials - One OAuth setup for everything
  • Consistent patterns - Same error handling across all services

Included Services

Service Description Operations
Gmail Email operations Read, send, reply, forward, drafts, labels
Google Docs Document operations Read, write, create, export, format
Google Sheets Spreadsheet operations Read, write, append, create, format
Google Calendar Calendar operations List events, create, update, find slots, check availability
Google Drive File storage operations Upload, download, share, organize folders
Google Tasks Task management Create, complete, organize task lists
Google Slides Presentation operations Create, edit slides, add text/images, export

First-Time Setup

New users: Say "connect google" to run the interactive setup wizard.

The wizard guides you through:

  1. Creating a Google Cloud project
  2. Enabling required APIs
  3. Creating OAuth credentials
  4. Authenticating with your Google account

Pre-Flight Check (ALWAYS RUN FIRST)

python3 00-system/skills/google/google-master/scripts/check_google_config.py --json

Exit codes:

  • 0: Ready - all services available
  • 1: Need login - run the login command below
  • 2: Missing credentials or dependencies

To authenticate (grants access to ALL services):

python3 00-system/skills/google/google-master/scripts/google_auth.py --login

Quick Start by Service

Gmail

# List recent emails
python3 00-system/skills/google/gmail/scripts/gmail_operations.py list --max 10

# Send email (creates draft first, asks for confirmation)
python3 00-system/skills/google/gmail/scripts/gmail_operations.py send --to "user@example.com" --subject "Hello" --body "Message"

Google Docs

# Read document
python3 00-system/skills/google/google-docs/scripts/docs_operations.py read <document_id>

# Create document
python3 00-system/skills/google/google-docs/scripts/docs_operations.py create "My Document" --content "Initial content"

Google Sheets

# Read data
python3 00-system/skills/google/google-sheets/scripts/sheets_operations.py read <spreadsheet_id> "Sheet1!A1:D10"

# Append rows
python3 00-system/skills/google/google-sheets/scripts/sheets_operations.py append <spreadsheet_id> "Sheet1!A:D" --values '[["New", "Row", "Data"]]'

Google Calendar

# List upcoming events
python3 00-system/skills/google/google-calendar/scripts/calendar_operations.py list --max 10

# Find available slots
python3 00-system/skills/google/google-calendar/scripts/calendar_operations.py find-slots --duration 30 --from "2025-12-16" --to "2025-12-20"

Google Drive

# List files in root
python3 00-system/skills/google/google-drive/scripts/drive_operations.py list

# Upload file
python3 00-system/skills/google/google-drive/scripts/drive_operations.py upload ./local_file.pdf

# Download file
python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <file_id> --output ./downloaded.pdf

Google Tasks

# List tasks
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py tasks

# Create task
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py create "Call John" --due 2025-12-20

# Complete task
python3 00-system/skills/google/google-tasks/scripts/tasks_operations.py complete <task_id>

Google Slides

# List presentations
python3 00-system/skills/google/google-slides/scripts/slides_operations.py list

# Create presentation
python3 00-system/skills/google/google-slides/scripts/slides_operations.py create "Q4 Report"

# Export to PDF
python3 00-system/skills/google/google-slides/scripts/slides_operations.py export <presentation_id> ./report.pdf

Structure

google/
├── SKILL.md                          # This file (bundle overview)
├── google-connect/                   # Setup wizard (say "connect google")
│   └── SKILL.md                      # Interactive setup workflow
├── google-master/                    # Shared resources (DO NOT load directly)
│   ├── SKILL.md                      # Documentation for shared resources
│   ├── scripts/
│   │   ├── google_auth.py            # Unified OAuth for all services
│   │   └── check_google_config.py    # Pre-flight validation
│   └── references/
│       ├── setup-guide.md            # Complete setup instructions
│       └── error-handling.md         # Common errors and solutions
├── gmail/
│   ├── SKILL.md                      # Gmail-specific docs
│   └── scripts/gmail_operations.py
├── google-docs/
│   ├── SKILL.md                      # Docs-specific docs
│   └── scripts/docs_operations.py
├── google-sheets/
│   ├── SKILL.md                      # Sheets-specific docs
│   └── scripts/sheets_operations.py
├── google-calendar/
│   ├── SKILL.md                      # Calendar-specific docs
│   └── scripts/calendar_operations.py
├── google-drive/
│   ├── SKILL.md                      # Drive-specific docs
│   └── scripts/drive_operations.py
├── google-tasks/
│   ├── SKILL.md                      # Tasks-specific docs
│   └── scripts/tasks_operations.py
└── google-slides/
    ├── SKILL.md                      # Slides-specific docs
    └── scripts/slides_operations.py

Setup

Prerequisites

pip install google-auth google-auth-oauthlib google-api-python-client

1. Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable APIs: Gmail, Docs, Sheets, Calendar, Drive, Tasks, Slides

2. Create OAuth Credentials

  1. Go to APIs & Services > Credentials
  2. Create OAuth 2.0 Client ID (Desktop app)
  3. Copy the Client ID and Client Secret
  4. Add to .env file (at Nexus root):
    GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
    GOOGLE_CLIENT_SECRET=your-client-secret
    GOOGLE_PROJECT_ID=your-project-id

3. Authenticate

python3 00-system/skills/google/google-master/scripts/google_auth.py --login

This opens a browser to grant permissions for all services at once.

For detailed setup: google-master/references/setup-guide.md


Error Handling

See google-master/references/error-handling.md for:

  • Authentication errors (401, 403)
  • Rate limiting (429)
  • Permission issues
  • Token refresh problems

File Locations

File Path Purpose
OAuth credentials .env (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_PROJECT_ID) App identity
Access token 01-memory/integrations/google-token.json User's auth token

Both .env and token file are in .gitignore and will not be committed.


Security Notes

  • Credentials (.env file) - in .gitignore, never committed
  • Token file (google-token.json) - in .gitignore, never committed
  • Each user authenticates with their own Google account