gws-drive
Google Drive内のファイル、フォルダ、共有ドライブを操作し、ドキュメントの検索や編集、ファイルのアップロードやダウンロードなどを効率的に行うことを支援するSkill。
📜 元の英語説明(参考)
Google Drive: Manage files, folders, and shared drives.
🇯🇵 日本人クリエイター向け解説
Google Drive内のファイル、フォルダ、共有ドライブを操作し、ドキュメントの検索や編集、ファイルのアップロードやダウンロードなどを効率的に行うことを支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o gws-drive.zip https://jpskill.com/download/19177.zip && unzip -o gws-drive.zip && rm gws-drive.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19177.zip -OutFile "$d\gws-drive.zip"; Expand-Archive "$d\gws-drive.zip" -DestinationPath $d -Force; ri "$d\gws-drive.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
gws-drive.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
gws-driveフォルダができる - 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-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
drive (v3)
前提条件: 認証、グローバルフラグ、およびセキュリティルールについては、
../gws-shared/SKILL.mdをお読みください。ファイルがない場合は、gws generate-skillsを実行して作成してください。
gws drive <resource> <method> [flags]
ヘルパーコマンド
| コマンド | 説明 |
|---|---|
+upload |
メタデータを自動的に付与してファイルをアップロードします |
APIリソース
about
get— ユーザー、ユーザーのDrive、およびシステム機能に関する情報を取得します。詳細については、ユーザー情報の返却をご覧ください。必須:fieldsパラメータを設定する必要があります。必要なフィールドを正確に返すには、特定のフィールドの返却をご覧ください。
accessproposals
get— IDでアクセス提案を取得します。詳細については、保留中のアクセス提案の管理をご覧ください。list— ファイル上のアクセス提案を一覧表示します。詳細については、保留中のアクセス提案の管理をご覧ください。注: 承認者のみがファイル上のアクセス提案を一覧表示できます。ユーザーが承認者でない場合、403エラーが返されます。resolve— アクセス提案を承認または拒否します。詳細については、保留中のアクセス提案の管理をご覧ください。
approvals
get— IDで承認を取得します。list— ファイル上の承認を一覧表示します。
apps
get— 特定のアプリを取得します。詳細については、ユーザー情報の返却をご覧ください。list— ユーザーがインストールしたアプリを一覧表示します。詳細については、ユーザー情報の返却をご覧ください。
changes
getStartPageToken— 今後の変更を一覧表示するための開始pageTokenを取得します。詳細については、変更の取得をご覧ください。list— ユーザーまたは共有ドライブの変更を一覧表示します。詳細については、変更の取得をご覧ください。watch— ユーザーの変更を購読します。詳細については、リソース変更の通知をご覧ください。
channels
stop— このチャネルを介したリソースの監視を停止します。詳細については、リソース変更の通知をご覧ください。
comments
create— ファイルにコメントを作成します。詳細については、コメントと返信の管理をご覧ください。必須:fieldsパラメータを設定する必要があります。必要なフィールドを正確に返すには、特定のフィールドの返却をご覧ください。delete— コメントを削除します。詳細については、コメントと返信の管理をご覧ください。get— IDでコメントを取得します。詳細については、コメントと返信の管理をご覧ください。必須:fieldsパラメータを設定する必要があります。必要なフィールドを正確に返すには、特定のフィールドの返却をご覧ください。list— ファイルのコメントを一覧表示します。詳細については、コメントと返信の管理をご覧ください。必須:fieldsパラメータを設定する必要があります。必要なフィールドを正確に返すには、特定のフィールドの返却をご覧ください。update— パッチセマンティクスでコメントを更新します。詳細については、コメントと返信の管理をご覧ください。必須:fieldsパラメータを設定する必要があります。必要なフィールドを正確に返すには、特定のフィールドの返却をご覧ください。
drives
create— 共有ドライブを作成します。詳細については、共有ドライブの管理をご覧ください。get— IDで共有ドライブのメタデータを取得します。詳細については、共有ドライブの管理をご覧ください。hide— 共有ドライブをデフォルトビューから非表示にします。詳細については、共有ドライブの管理をご覧ください。list— ユーザーの共有ドライブを一覧表示します。このメソッドは、1つ以上の検索語を組み合わせた検索クエリであるqパラメータを受け入れます。詳細については、共有ドライブの検索ガイドをご覧ください。unhide— 共有ドライブをデフォルトビューに復元します。詳細については、共有ドライブの管理をご覧ください。update— 共有ドライブのメタデータを更新します。詳細については、共有ドライブの管理をご覧ください。
files
copy— ファイルのコピーを作成し、要求された更新をパッチセマンティクスで適用します。詳細については、ファイルの作成と管理をご覧ください。create— ファイルを作成します。詳細については、ファイルの作成と管理をご覧ください。このメソッドは /upload URIをサポートし、以下の特性を持つアップロードされたメディアを受け入れます: - 最大ファイルサイズ: 5,120 GB - 受け入れられるメディアMIMEタイプ:*/*(Speci
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
drive (v3)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws drive <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+upload |
Upload a file with automatic metadata |
API Resources
about
get— Gets information about the user, the user's Drive, and system capabilities. For more information, see Return user info. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.
accessproposals
get— Retrieves an access proposal by ID. For more information, see Manage pending access proposals.list— List the access proposals on a file. For more information, see Manage pending access proposals. Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.resolve— Approves or denies an access proposal. For more information, see Manage pending access proposals.
approvals
get— Gets an Approval by ID.list— Lists the Approvals on a file.
apps
get— Gets a specific app. For more information, see Return user info.list— Lists a user's installed apps. For more information, see Return user info.
changes
getStartPageToken— Gets the starting pageToken for listing future changes. For more information, see Retrieve changes.list— Lists the changes for a user or shared drive. For more information, see Retrieve changes.watch— Subscribes to changes for a user. For more information, see Notifications for resource changes.
channels
stop— Stops watching resources through this channel. For more information, see Notifications for resource changes.
comments
create— Creates a comment on a file. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.delete— Deletes a comment. For more information, see Manage comments and replies.get— Gets a comment by ID. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.list— Lists a file's comments. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.update— Updates a comment with patch semantics. For more information, see Manage comments and replies. Required: Thefieldsparameter must be set. To return the exact fields you need, see Return specific fields.
drives
create— Creates a shared drive. For more information, see Manage shared drives.get— Gets a shared drive's metadata by ID. For more information, see Manage shared drives.hide— Hides a shared drive from the default view. For more information, see Manage shared drives.list— Lists the user's shared drives. This method accepts theqparameter, which is a search query combining one or more search terms. For more information, see the Search for shared drives guide.unhide— Restores a shared drive to the default view. For more information, see Manage shared drives.update— Updates the metadata for a shared drive. For more information, see Manage shared drives.
files
copy— Creates a copy of a file and applies any requested updates with patch semantics. For more information, see Create and manage files.create— Creates a file. For more information, see Create and manage files. This method supports an /upload URI and accepts uploaded media with the following characteristics: - Maximum file size: 5,120 GB - Accepted Media MIME types:*/*(Specify a valid MIME type, rather than the literal*/*value. The literal*/*is only used to indicate that any valid MIME type can be uploaded.download— Downloads the content of a file. For more information, see Download and export files. Operations are valid for 24 hours from the time of creation.export— Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see Download and export files. Note that the exported content is limited to 10 MB.generateIds— Generates a set of file IDs which can be provided in create or copy requests. For more information, see Create and manage files.get— Gets a file's metadata or content by ID. For more information, see Search for files and folders. If you provide the URL parameteralt=media, then the response includes the file contents in the response body. Downloading content withalt=mediaonly works if the file is stored in Drive. To download Google Docs, Sheets, and Slides usefiles.exportinstead.list— Lists the user's files. For more information, see Search for files and folders. This method accepts theqparameter, which is a search query combining one or more search terms. This method returns all files by default, including trashed files. If you don't want trashed files to appear in the list, use thetrashed=falsequery parameter to remove trashed files from the results.listLabels— Lists the labels on a file. For more information, see List labels on a file.modifyLabels— Modifies the set of labels applied to a file. For more information, see Set a label field on a file. Returns a list of the labels that were added or modified.update— Updates a file's metadata, content, or both. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such asmodifiedDate. This method supports patch semantics. This method supports an /upload URI and accepts uploaded media with the following characteristics: - Maximum file size: 5,120 GB - Accepted Media MIME types:*/*(Specify a valid MIME type, rather than the literal*/*value.watch— Subscribes to changes to a file. For more information, see Notifications for resource changes.
operations
get— Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
permissions
create— Creates a permission for a file or shared drive. For more information, see Share files, folders, and drives. Warning: Concurrent permissions operations on the same file aren't supported; only the last update is applied.delete— Deletes a permission. For more information, see Share files, folders, and drives. Warning: Concurrent permissions operations on the same file aren't supported; only the last update is applied.get— Gets a permission by ID. For more information, see Share files, folders, and drives.list— Lists a file's or shared drive's permissions. For more information, see Share files, folders, and drives.update— Updates a permission with patch semantics. For more information, see Share files, folders, and drives. Warning: Concurrent permissions operations on the same file aren't supported; only the last update is applied.
replies
create— Creates a reply to a comment. For more information, see Manage comments and replies.delete— Deletes a reply. For more information, see Manage comments and replies.get— Gets a reply by ID. For more information, see Manage comments and replies.list— Lists a comment's replies. For more information, see Manage comments and replies.update— Updates a reply with patch semantics. For more information, see Manage comments and replies.
revisions
delete— Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see Manage file revisions.get— Gets a revision's metadata or content by ID. For more information, see Manage file revisions.list— Lists a file's revisions. For more information, see Manage file revisions. Important: The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision.update— Updates a revision with patch semantics. For more information, see Manage file revisions.
teamdrives
create— Deprecated: Usedrives.createinstead.get— Deprecated: Usedrives.getinstead.list— Deprecated: Usedrives.listinstead.update— Deprecated: Usedrives.updateinstead.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws drive --help
# Inspect a method's required params, types, and defaults
gws schema drive.<resource>.<method>
Use gws schema output to build your --params and --json flags.