← 返回 Skills 市场
🔌

Google Sheets

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
27
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-googlesheets
功能描述
Google Sheets (workspace.google.com). Use this skill for ANY Google Sheets request — reading, creating, updating, and deleting data. Whenever a task involves...
使用说明 (SKILL.md)

Google Sheets

Operate Google Sheets through your OOMOL-connected account. This skill calls the googlesheets connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Productivity, Data & Analytics. Exposes 40 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected Google Sheets. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "googlesheets" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "googlesheets" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • add_sheet — Add a new sheet through spreadsheets.batchUpdate and return stable batch replies.
  • aggregate_column_data — Aggregate numeric values from a target column, optionally filtered by another column, with stable counters.
  • append_dimension — Append rows or columns through spreadsheets.batchUpdate and return stable batch replies.
  • auto_resize_dimensions — Auto-resize rows or columns through spreadsheets.batchUpdate and return stable batch replies.
  • batch_clear_values_by_data_filter — Clear spreadsheet values through values.batchClearByDataFilter and return the cleared ranges.
  • batch_get — Read multiple spreadsheet ranges through values:batchGet and return stable valueRanges output.
  • batch_update_values_by_data_filter — Write spreadsheet values through values.batchUpdateByDataFilter and return stable aggregate counters.
  • clear_basic_filter — Clear a basic filter through spreadsheets.batchUpdate and return stable batch replies.
  • clear_values — Clear a single spreadsheet value range through values.clear and return the cleared A1 range.
  • create_chart — Create a chart through spreadsheets.batchUpdate and return stable batch replies.
  • create_google_sheet1 — Create a Google Sheets spreadsheet and return stable spreadsheet metadata for the new file.
  • create_spreadsheet_column — Insert an empty column into a sheet through spreadsheets.batchUpdate with stable top-level fields.
  • create_spreadsheet_row — Insert an empty row into a sheet through spreadsheets.batchUpdate with stable top-level fields.
  • delete_dimension — Delete rows or columns through spreadsheets.batchUpdate and return stable batch replies.
  • delete_sheet — Delete a sheet through spreadsheets.batchUpdate and return stable batch replies.
  • find_replace — Run find and replace through spreadsheets.batchUpdate and return stable batch replies.
  • format_cell — Format cells through spreadsheets.batchUpdate and return stable batch replies.
  • get_conditional_format_rules — Read spreadsheet conditional formatting rules and project them into a stable per-sheet structure.
  • get_data_validation_rules — Read spreadsheet data validation rules from the minimum necessary sheet ranges and return flattened rule entries.
  • get_sheet_names — List visible or all sheet names from a spreadsheet and include a stable name-to-sheetId map.
  • get_spreadsheet_by_data_filter — Read spreadsheet metadata through spreadsheets.getByDataFilter and return the normalized spreadsheet payload.
  • get_spreadsheet_info — Read spreadsheet metadata through spreadsheets.get with optional ranges and grid data flags.
  • insert_dimension — Insert rows or columns through spreadsheets.batchUpdate and return stable batch replies.
  • lookup_spreadsheet_row — Find the first row where a cell exactly matches the query and return a stable found/rowData payload.
  • mutate_conditional_format_rules — Mutate conditional format rules through spreadsheets.batchUpdate and return stable batch replies.
  • search_developer_metadata — Search spreadsheet developer metadata via developerMetadata:search and return matched entries only.
  • search_spreadsheets — Search Google Sheets files in Drive with spreadsheet-only filters and normalized summary output.
  • set_basic_filter — Set a basic filter through spreadsheets.batchUpdate and return stable batch replies.
  • set_data_validation_rule — Set or clear data validation through spreadsheets.batchUpdate and return stable batch replies.
  • spreadsheets_sheets_copy_to — Copy a sheet to another spreadsheet through sheets.copyTo and return a stable copiedSheet payload.
  • spreadsheets_values_append — Append values through values.append and flatten the nested updates payload into stable top-level fields.
  • spreadsheets_values_batch_clear — Clear multiple spreadsheet value ranges through values.batchClear and return cleared ranges only.
  • spreadsheets_values_batch_get_by_data_filter — Read spreadsheet values through values:batchGetByDataFilter and return matched value ranges with their filters.
  • update_dimension_properties — Update row or column properties through spreadsheets.batchUpdate and return stable batch replies.
  • update_sheet_properties — Update a sheet's properties through spreadsheets.batchUpdate and return stable batch replies.
  • update_spreadsheet_properties — Update spreadsheet-level properties through spreadsheets.batchUpdate and return stable batch replies.
  • update_values_batch — Write multiple spreadsheet value ranges through values.batchUpdate and return stable aggregate counters.
  • upsert_rows — Upsert rows by key while preserving uncovered columns, adding missing headers when needed, and returning stable counters.
  • values_get — Read a single spreadsheet value range and return a stable ValueRange without a wrapper envelope.
  • values_update — Write a single spreadsheet value range through values.update and return stable update counters.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change Google Sheets state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — Google Sheets is not connected, or the connection expired or lacks a scope. Connect once (auth type: OAuth2) at:

    https://console.oomol.com/app-connections?provider=googlesheets
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Install only if you are comfortable letting the agent use your connected OOMOL/Google Sheets account to read and change spreadsheets. Confirm the exact spreadsheet, range, and payload before append/update/create actions, and require explicit approval before clear or delete actions. Treat the one-time CLI install and OAuth connection steps as account setup, not routine action execution.
能力评估
Purpose & Capability
The skill's purpose is to operate Google Sheets through OOMOL's `googlesheets` connector, including read, create, update, append, clear, copy, formatting, and delete actions. That is high-impact spreadsheet authority, but it is coherent with the stated Google Sheets automation purpose and disclosed in the main artifact.
Instruction Scope
The skill broadly says to use it for any Google Sheets request and grants `Bash(oo *)`, but the commands are scoped to the `oo` CLI connector workflow, require fetching live schemas, and the main safety section instructs confirmation before write actions and explicit approval before destructive actions.
Install Mechanism
First-time setup includes shell and PowerShell install commands for the `oo` CLI plus OAuth connection steps, but the artifact says not to run login or connection setup proactively and to use them only after matching auth or command failures.
Credentials
The artifacts are markdown-only action references with no executable package code, local file indexing, background worker, hidden network destination, or unrelated environment access. Remote access is limited to the expected Google Sheets/OOMOL connector path.
Persistence & Privilege
The skill relies on an OOMOL-connected account with server-side credential handling and Google Sheets read/write scopes. It does not instruct storing raw tokens, creating persistence, or escalating local privileges beyond one-time CLI setup if missing.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-googlesheets
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-googlesheets 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial 1.0.0 release of `oo-googlesheets`, enabling Google Sheets operations through the OOMOL `googlesheets` connector and `oo` CLI with server-side credential handling. - Provides 40 actions for spreadsheet discovery, metadata inspection, sheet creation, sheet copying, row/column insertion, deletion, resizing, and property updates. - Supports value workflows including single-range reads and writes, batch get/update/clear, append, data-filter-based reads and writes, and stable normalized response payloads. - Adds higher-level data utilities such as row lookup, keyed row upsert, column aggregation, spreadsheet search, and sheet-name mapping. - Includes formatting and structure tools for basic filters, cell formatting, charts, data validation rules, conditional formatting rules, find/replace, and developer metadata search. - Documents safety guidance for read, write, and destructive actions, plus first-time setup and recovery steps for authentication, connection, and billing errors.
元数据
Slug oo-googlesheets
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Google Sheets 是什么?

Google Sheets (workspace.google.com). Use this skill for ANY Google Sheets request — reading, creating, updating, and deleting data. Whenever a task involves... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 27 次。

如何安装 Google Sheets?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install oo-googlesheets」即可一键安装,无需额外配置。

Google Sheets 是免费的吗?

是的,Google Sheets 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Google Sheets 支持哪些平台?

Google Sheets 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google Sheets?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论