PluginBench
Skill
Pass
Audit score 90

gws-sheets-append

googleworkspace/cli

Append rows to Google Sheets spreadsheets via CLI.

What is gws-sheets-append?

Appends one or more rows to a Google Sheets spreadsheet using the gws CLI. Use this when you need to add data to an existing sheet programmatically, whether single rows or bulk inserts.

  • Append single rows with comma-separated values
  • Bulk insert multiple rows using JSON array format
  • Target specific sheet tabs using A1 notation ranges
  • Support for various data types (strings, numbers, booleans)

How to install gws-sheets-append

npx skills add null --skill gws-sheets-append
Prerequisites
  • gws CLI installed and configured
  • Google Workspace account with Sheets access
  • Spreadsheet ID of the target sheet
  • Authentication configured (see gws-shared)
Claude Code
Cursor
Windsurf
Cline

How to use gws-sheets-append

  1. 1.Obtain the Spreadsheet ID from the sheet's URL
  2. 2.Run `gws sheets +append --spreadsheet <ID> --values '<data>'` for single rows or `--json-values '[...]'` for multiple rows
  3. 3.Optionally specify `--range` to target a specific sheet tab (e.g., 'Sheet2!A1')
  4. 4.Confirm the append operation before execution

Use cases

Good for
  • Add new records to a data collection sheet
  • Log results or metrics to a tracking spreadsheet
  • Bulk import data from external sources into Sheets
  • Append timestamped entries to a log or journal sheet
Who it's for
  • Data analysts automating spreadsheet updates
  • Developers building integrations with Google Sheets
  • Teams logging or tracking data programmatically

gws-sheets-append FAQ

How do I append to a specific sheet tab?

Use the `--range` flag with the sheet name and cell reference, e.g., `--range "Sheet2!A1"`. Default is A1 (first sheet).

What's the difference between --values and --json-values?

Use `--values` for simple single-row appends with comma-separated data. Use `--json-values` for bulk multi-row inserts with a JSON array format like '[[\

Do I need authentication setup?

Yes. Read the gws-shared SKILL.md for auth configuration. Run `gws generate-skills` if the shared skill is missing.

Can I append different data types?

Yes. The command supports strings, numbers, and booleans in both --values and --json-values formats.

Is this a safe operation?

This is a write command. Always confirm with the user before executing to prevent accidental data modifications.

Full instructions (SKILL.md)

Source of truth, from googleworkspace/cli.


name: gws-sheets-append description: "Google Sheets: Append a row to a spreadsheet." metadata: version: 0.22.5 openclaw: category: "productivity" requires: bins: - gws cliHelp: "gws sheets +append --help"

sheets +append

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

Append a row to a spreadsheet

Usage

gws sheets +append --spreadsheet <ID>

Flags

FlagRequiredDefaultDescription
--spreadsheetSpreadsheet ID
--valuesComma-separated values (simple strings)
--json-valuesJSON array of rows, e.g. '[["a","b"],["c","d"]]'
--rangeA1Target range in A1 notation (e.g. 'Sheet2!A1') to select a specific tab

Examples

gws sheets +append --spreadsheet ID --values 'Alice,100,true'
gws sheets +append --spreadsheet ID --json-values '[["a","b"],["c","d"]]'
gws sheets +append --spreadsheet ID --range "Sheet2!A1" --values 'Alice,100'

Tips

  • Use --values for simple single-row appends.
  • Use --json-values for bulk multi-row inserts.
  • Use --range to append to a specific sheet tab (default: A1, i.e. first sheet).

[!CAUTION] This is a write command — confirm with the user before executing.

See Also