gws-sheets
できること
このツールを使うと、Googleスプレッドシートを操作できます。データの読み取り、行の追加、新しいスプレッドシートの作成などが可能です。
使う場面
- ✓リストに新しい情報を追加したいとき。
- ✓表から特定のデータを取り出したいとき。
- ✓新しいデータの記録を作成したいとき。
スキルのリンク
https://github.com/googleworkspace/cli/blob/main/skills/gws-sheets/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“「果物リスト」に「Apple」「Red」「Sweet」の行を追加してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはGoogleスプレッドシートに接続して操作を行います。読み取り、書き込み、追加などの操作内容と対象のスプレッドシートを伝えると、ツールがその操作を実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
sheets (v4)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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 thefieldsURL 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' resourcesheets— Operations on the 'sheets' resourcevalues— 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に自分のスプレッドシートの一覧を表示するよう頼むこともできます。
スプレッドシートを一から作成できますか?
はい。このツールで新しいスプレッドシートを作成できます。
詳細
人気
- GitHubのスター
- 32k
- ランキング
- #9187
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/6
コメント
- …
このリポジトリの他のスキル
gws-admin-reports
32kエージェントがGoogle Workspaceのアクティビティレポートを取得できるようにします。監査データや利用データを収集します。
gws-calendar-agenda
32kエージェントがすべてのカレンダーの今後の予定を確認できるようにします。スケジュールを整理し、これからの予定を把握するのに役立ちます。
gws-calendar-insert
32kエージェントがGoogle Calendarに新しい予定を作成できるようにします。打ち合わせや予約の登録に役立ちます。
gws-calendar
32kエージェントがカレンダーと予定を管理できるようにします。仕事やプライベートの予定を整理するのに役立ちます。
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。