Skill Press

No. 513 · gws-sheets-append

Append Rows to Google Sheets

A field guide from Google Workspace CLI

Google Workspace CLI

When to use it

Google Sheets: Append a row to a spreadsheet.

Rank
No. 513 of 971
Installs
Not listed yet
Runs in
Gemini
Length
197 words · 1 min
Files
2
License
Apache-2.0

Get this skill

Download the skill folder (.zip, 5 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "gws-sheets-append" Agent Skill by Google Workspace CLI, from https://github.com/googleworkspace/cli.

1. Fetch the whole folder skills/gws-sheets-append — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/googleworkspace/cli.git cd3697e07eb520056dcf142d0c7439bbb9ba32e9
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "gws-sheets-append":
   - Claude Code: ~/.claude/skills/gws-sheets-append/ (all projects) or .claude/skills/gws-sheets-append/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that gws-sheets-append/SKILL.md exists and its frontmatter says name: gws-sheets-append.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

Note: Many Workspace recipes use the shared gws-shared skill and a service-specific skill. Install the Workspace collection to keep those prerequisites together.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/googleworkspace/cli/tree/cd3697e07eb520056dcf142d0c7439bbb9ba32e9/skills/gws-sheets-append --skill gws-sheets-append

Contents

  1. Usage
  2. Flags
  3. Examples
  4. Tips
  5. See Also

The skill, in full

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

Flag Required Default Description
--spreadsheet ✓ — Spreadsheet ID
--values — — Comma-separated values (simple strings)
--json-values — — JSON array of rows, e.g. ‘[[“a”,“b”],[“c”,“d”]]’
--range — A1 Target 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

More in Data & Analytics

All Data & Analytics skills →

More from Google Workspace CLI

From googleworkspace/cli at cd3697e, Apache-2.0. Install counts from skills.sh.