🛠️ Google Slides Automation
Googleスライドと直接連携し、独立した認証機能
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Lightweight Google Slides integration with standalone OAuth authentication. No MCP server required. Full read/write access.
🇯🇵 日本人クリエイター向け解説
Googleスライドと直接連携し、独立した認証機能
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o google-slides-automation.zip https://jpskill.com/download/2949.zip && unzip -o google-slides-automation.zip && rm google-slides-automation.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/2949.zip -OutFile "$d\google-slides-automation.zip"; Expand-Archive "$d\google-slides-automation.zip" -DestinationPath $d -Force; ri "$d\google-slides-automation.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
google-slides-automation.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
google-slides-automationフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Google Slides Automation を使って、最小構成のサンプルコードを示して
- › Google Slides Automation の主な使い方と注意点を教えて
- › Google Slides Automation を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Google スライド
スタンドアロンの OAuth 認証による軽量な Google スライド連携です。MCP サーバーは不要です。完全な読み取り/書き込みアクセスが可能です。
Google Workspace アカウントが必要です。 個人の Gmail アカウントはサポートされていません。
使用する場面
- ローカルの自動化から Google スライドのプレゼンテーションを作成、検査、または変更する必要がある場合。
- スライドのテキストを読み取ったり、スライドを追加/削除したり、プレゼンテーションのコンテンツを一括更新したりするタスクの場合。
- MCP サーバーを使用せずに、Workspace ドキュメントの Slides 自動化を行いたい場合。
初回セットアップ
Google で認証します(ブラウザが開きます):
python scripts/auth.py login
認証ステータスを確認します:
python scripts/auth.py status
必要に応じてログアウトします:
python scripts/auth.py logout
読み取りコマンド
すべての操作は scripts/slides.py を介して行われます。ログインしていない場合、初回使用時に自動認証されます。
# プレゼンテーションからすべてのテキストコンテンツを取得します
python scripts/slides.py get-text "1abc123xyz789"
python scripts/slides.py get-text "https://docs.google.com/presentation/d/1abc123xyz789/edit"
# 検索クエリでプレゼンテーションを検索します
python scripts/slides.py find "quarterly report"
python scripts/slides.py find "project proposal" --limit 5
# プレゼンテーションのメタデータ(タイトル、スライド数、スライドオブジェクトID)を取得します
python scripts/slides.py get-metadata "1abc123xyz789"
書き込みコマンド
# 新しい空のプレゼンテーションを作成します
python scripts/slides.py create "Q4 Sales Report"
# 空のスライドを最後に追加します
python scripts/slides.py add-slide "1abc123xyz789"
# 特定のレイアウトでスライドを追加します
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE_AND_BODY
# 特定の位置(0ベースのインデックス)にスライドを追加します
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE --at 0
# すべてのスライドでテキストを検索して置換します
python scripts/slides.py replace-text "1abc123xyz789" "old text" "new text"
python scripts/slides.py replace-text "1abc123xyz789" "Draft" "Final" --match-case
# オブジェクトIDでスライドを削除します(IDを見つけるには get-metadata を使用します)
python scripts/slides.py delete-slide "1abc123xyz789" "g123abc456"
# 一括更新(高度な機能 - 書式設定、図形、画像の挿入など)
python scripts/slides.py batch-update "1abc123xyz789" '[{"replaceAllText":{"containsText":{"text":"foo"},"replaceText":"bar"}}]'
スライドレイアウト
add-slide --layout で利用可能なレイアウト:
BLANK- 空のスライド(デフォルト)TITLE- タイトルスライドTITLE_AND_BODY- タイトルと本文テキストTITLE_AND_TWO_COLUMNS- タイトルと2つのテキスト列TITLE_ONLY- タイトルバーのみSECTION_HEADER- セクション区切りONE_COLUMN_TEXT- 単一列テキストMAIN_POINT- 主要ポイントの強調BIG_NUMBER- 大きな数字の表示
プレゼンテーションID形式
以下のいずれかを使用できます:
- 直接のプレゼンテーションID:
1abc123xyz789 - 完全な Google スライドURL:
https://docs.google.com/presentation/d/1abc123xyz789/edit
スクリプトはURLからIDを自動的に抽出します。
出力形式
get-text
すべてのスライドから抽出されたテキストを返します。以下が含まれます:
- プレゼンテーションのタイトル
- 各スライド上の図形/テキストボックスからのテキスト
- セル内容を含むテーブルデータ
find
一致するプレゼンテーションのリストを返します:
{
"presentations": [
{"id": "1abc...", "name": "Q4 Report", "modifiedTime": "2024-01-15T..."}
],
"nextPageToken": "..."
}
get-metadata
プレゼンテーションの詳細を返します:
{
"presentationId": "1abc...",
"title": "My Presentation",
"slideCount": 15,
"pageSize": {"width": {...}, "height": {...}},
"hasMasters": true,
"hasLayouts": true
}
トークン管理
トークンはシステムキーリングを使用して安全に保存されます:
- macOS: キーチェーン
- Windows: Windows 資格情報マネージャー
- Linux: Secret Service API (GNOME Keyring, KDE Wallet など)
サービス名: google-slides-skill-oauth
Google のクラウド機能を使用して、期限切れのトークンを自動的に更新します。
制限事項
- このスキルは、上記で説明した範囲にタスクが明確に一致する場合にのみ使用してください。
- 出力を環境固有の検証、テスト、または専門家によるレビューの代わりとして扱わないでください。
- 必要な入力、権限、安全境界、または成功基準が不足している場合は、停止して説明を求めてください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Google Slides
Lightweight Google Slides integration with standalone OAuth authentication. No MCP server required. Full read/write access.
Requires Google Workspace account. Personal Gmail accounts are not supported.
When to Use
- You need to create, inspect, or modify Google Slides presentations from local automation.
- The task involves reading slide text, adding/removing slides, or batch updating presentation content.
- You want Slides automation for Workspace documents without using an MCP server.
First-Time Setup
Authenticate with Google (opens browser):
python scripts/auth.py login
Check authentication status:
python scripts/auth.py status
Logout when needed:
python scripts/auth.py logout
Read Commands
All operations via scripts/slides.py. Auto-authenticates on first use if not logged in.
# Get all text content from a presentation
python scripts/slides.py get-text "1abc123xyz789"
python scripts/slides.py get-text "https://docs.google.com/presentation/d/1abc123xyz789/edit"
# Find presentations by search query
python scripts/slides.py find "quarterly report"
python scripts/slides.py find "project proposal" --limit 5
# Get presentation metadata (title, slide count, slide object IDs)
python scripts/slides.py get-metadata "1abc123xyz789"
Write Commands
# Create a new empty presentation
python scripts/slides.py create "Q4 Sales Report"
# Add a blank slide to the end
python scripts/slides.py add-slide "1abc123xyz789"
# Add a slide with a specific layout
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE_AND_BODY
# Add a slide at a specific position (0-based index)
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE --at 0
# Find and replace text across all slides
python scripts/slides.py replace-text "1abc123xyz789" "old text" "new text"
python scripts/slides.py replace-text "1abc123xyz789" "Draft" "Final" --match-case
# Delete a slide by object ID (use get-metadata to find IDs)
python scripts/slides.py delete-slide "1abc123xyz789" "g123abc456"
# Batch update (advanced - for formatting, inserting shapes, images, etc.)
python scripts/slides.py batch-update "1abc123xyz789" '[{"replaceAllText":{"containsText":{"text":"foo"},"replaceText":"bar"}}]'
Slide Layouts
Available layouts for add-slide --layout:
BLANK- Empty slide (default)TITLE- Title slideTITLE_AND_BODY- Title with body textTITLE_AND_TWO_COLUMNS- Title with two text columnsTITLE_ONLY- Title bar onlySECTION_HEADER- Section dividerONE_COLUMN_TEXT- Single column textMAIN_POINT- Main point highlightBIG_NUMBER- Large number display
Presentation ID Format
You can use either:
- Direct presentation ID:
1abc123xyz789 - Full Google Slides URL:
https://docs.google.com/presentation/d/1abc123xyz789/edit
The scripts automatically extract the ID from URLs.
Output Format
get-text
Returns extracted text from all slides, including:
- Presentation title
- Text from shapes/text boxes on each slide
- Table data with cell contents
find
Returns list of matching presentations:
{
"presentations": [
{"id": "1abc...", "name": "Q4 Report", "modifiedTime": "2024-01-15T..."}
],
"nextPageToken": "..."
}
get-metadata
Returns presentation details:
{
"presentationId": "1abc...",
"title": "My Presentation",
"slideCount": 15,
"pageSize": {"width": {...}, "height": {...}},
"hasMasters": true,
"hasLayouts": true
}
Token Management
Tokens stored securely using the system keyring:
- macOS: Keychain
- Windows: Windows Credential Locker
- Linux: Secret Service API (GNOME Keyring, KDE Wallet, etc.)
Service name: google-slides-skill-oauth
Automatically refreshes expired tokens using Google's cloud function.
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.