OpenParable
Skip to content
← Back to skills

Gog Sheets

Documents
gog-sheets

Gog Sheets is an Agent Skill for documents published in the openclaw/gogcli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Google Sheets operations through gog.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/openclaw/gogcli/blob/HEAD/.agents/skills/gog-sheets/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gog-sheets, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Google Sheets

Use gog for Google Sheets operations. Read ../gog/SKILL.md first for shared auth, output, safety, and live-write rules.

Safe start

gog auth list --check --json --no-input
gog schema sheets --json
gog --readonly --account [email protected] sheets get SHEET_ID 'Sheet1!A1:D20' --json --wrap-untrusted
  • Select the account explicitly with --account.
  • Use --json --wrap-untrusted for agent-readable Google content.
  • Use --readonly when the task must not mutate Google data.
  • Use --no-input in automation and --dry-run before supported writes.
  • Confirm the exact account, object, and mutation before any write or delete.

Commands

CommandPurpose
add-tabAdd a new tab/sheet to a spreadsheet
appendAppend values to a range
bandingManage alternating color banding
batch-updateUpdate values in multiple ranges with one API request
chartManage spreadsheet charts
clearClear values in a range
conditional-formatManage conditional formatting rules
copyCopy a Google Sheet
copy-pasteCopy a range's values/formulas/format to another range (tiles to fill down/across)
createCreate a new spreadsheet
delete-dimensionDelete rows or columns while preserving intersecting tables
delete-tabDelete a tab/sheet from a spreadsheet (use --force to skip confirmation)
exportExport a Google Sheet (pdf|xlsx|csv) via Drive
filterManage basic filters
find-replaceFind and replace text across a spreadsheet
formatApply cell formatting to a range
freezeFreeze rows and columns on a sheet
getGet values from a range
insertInsert empty rows or columns into a sheet
linksGet or set cell hyperlinks
mergeMerge cells in a range
metadataGet spreadsheet metadata
named-rangesManage named ranges
notesGet cell notes from a range
number-formatApply number format to a range
rawDump raw Google Sheets API response as JSON (Spreadsheets.Get; lossless; for scripting and LLM consumption)
read-formatRead cell formatting from a range
rename-tabRename a tab/sheet in a spreadsheet
reorder-tabMove a tab/sheet to a specific 0-based position in the spreadsheet
resize-columnsResize sheet columns
resize-rowsResize sheet rows
tableManage Google Sheets tables
unmergeUnmerge cells in a range
updateUpdate values in a range
update-noteSet or clear a cell note
validationManage cell data validation rules

Run gog sheets <command> --help for flags and gog schema sheets <command> --json for the machine-readable contract. Do not guess command syntax.