Skip to main content

google-sheets

Read and write Google Sheets data. Create spreadsheets, update cells, and manage worksheets via Sheets API.

ソース情報

リポジトリ
ThinkfleetAI/thinkfleet-engine
ソースの最終更新活動
2026年2月1日 16:21
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
google-sheets
description
Read and write Google Sheets data. Create spreadsheets, update cells, and manage worksheets via Sheets API.
metadata
{"thinkfleetbot":{"emoji":"📊","requires":{"env":"[Truncated]"}}}
# Google Sheets Spreadsheet automation. ## Environment ```bash export GOOGLE_ACCESS_TOKEN="ya29.xxxxxxxxxx" ``` ## Read Sheet Data ```bash curl "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/Sheet1!A1:D10" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" ``` ## Write to Cells ```bash curl -X PUT "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/Sheet1!A1:B2?valueInputOption=USER_ENTERED" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"values": [["Name", "Score"], ["Alice", 95]]}' ``` ## Append Rows ```bash curl -X POST "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/Sheet1!A:D:append?valueInputOption=USER_ENTERED" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"values": [["New", "Row", "Data", "Here"]]}' ``` ## Create Spreadsheet ```bash curl -X POST "https://sheets.googleapis.com/v4/spreadsheets" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"properties": {"title": "My New Sheet"}}' ``` ## Get Spreadsheet Metadata ```bash curl "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" ``` ## Clear Range ```bash curl -X POST "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/Sheet1!A1:Z100:clear" \ -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" ``` ## Links - Console: https://console.cloud.google.com/apis/library/sheets.googleapis.com - Docs: https://developers.google.com/sheets/api/reference/rest
GitHubで見る