本文へスキップ
Skillpedia
PDF・Word・スライド32k · #9187

gws-sheets

できること

このツールを使うと、Googleスプレッドシートを操作できます。データの読み取り、行の追加、新しいスプレッドシートの作成などが可能です。

使う場面

  • ✓リストに新しい情報を追加したいとき。
  • ✓表から特定のデータを取り出したいとき。
  • ✓新しいデータの記録を作成したいとき。

スキルのリンク

https://github.com/googleworkspace/cli/blob/main/skills/gws-sheets/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/googleworkspace/cli/blob/main/skills/gws-sheets/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「果物リスト」に「Apple」「Red」「Sweet」の行を追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはGoogleスプレッドシートに接続して操作を行います。読み取り、書き込み、追加などの操作内容と対象のスプレッドシートを伝えると、ツールがその操作を実行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

sheets (v4)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws sheets <resource> <method> [flags]

Helper Commands

Command Description
+append Append a row to a spreadsheet
+read Read values from a spreadsheet

API Resources

spreadsheets

  • batchUpdate — Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order.
  • create — Creates a spreadsheet, returning the newly created spreadsheet.
  • get — Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData URL parameter to true.
  • getByDataFilter — Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see Read, write, and search metadata. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified.
  • developerMetadata — Operations on the 'developerMetadata' resource
  • sheets — Operations on the 'sheets' resource
  • values — Operations on the 'values' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws sheets --help

# Inspect a method's required params, types, and defaults
gws schema sheets.<resource>.<method>

Use gws schema output to build your --params and --json flags.

よくある質問

Googleアカウントは必要ですか?

はい。Googleスプレッドシートにアクセスして編集するには、Googleアカウントにログインしている必要があります。

AIはどのスプレッドシートを使えばよいかをどうやって判断しますか?

リクエストの中で、スプレッドシートの名前またはIDを指定する必要があります。わからない場合は、AIに自分のスプレッドシートの一覧を表示するよう頼むこともできます。

スプレッドシートを一から作成できますか?

はい。このツールで新しいスプレッドシートを作成できます。

詳細

作者による元の説明

Google Sheets: Read and write spreadsheets.

repo: googleworkspace/cli

人気

GitHubのスター
32k
ランキング
#9187
ライセンス
Apache-2.0
更新日
2026/10/6

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル