Loading...
Loading...
This skill should be used when the user asks to "read spreadsheet", "write to sheet", "create spreadsheet", "list spreadsheets", "google sheets", "read cells", "write cells", "append rows", "sheet data", or mentions Google Sheets operations. Provides Google Sheets API integration for reading, writing, and managing spreadsheets.
npx skill4agent add the-focus-ai/google-skill gsheetsnpx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gmail.ts auth.claude/google-skill.local.json~/.config/google-skill/credentials.json# List your spreadsheets
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts list
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts list --max=50
# Get spreadsheet metadata (title, sheets, etc.)
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts get <spreadsheetId>
# Read cell values (A1 notation)
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts read <spreadsheetId> "Sheet1!A1:D10"
# Write values to cells
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts write <spreadsheetId> "Sheet1!A1" \
--values='[["Hello","World"],["Row 2","Data"]]'
# Append rows to end of sheet
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts append <spreadsheetId> "Sheet1!A:D" \
--values='[["New","Row","Data"]]'
# Clear a range
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts clear <spreadsheetId> "Sheet1!A1:D10"
# Create new spreadsheet
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts create --title="My Spreadsheet"
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts create --title="Project Data" --sheets="Q1,Q2,Q3,Q4"
# Add new sheet/tab to existing spreadsheet
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts add-sheet <spreadsheetId> --title="New Tab"| Notation | Meaning |
|---|---|
| Single cell A1 in Sheet1 |
| Range from A1 to D10 |
| Columns A through D (all rows) |
| Rows 1 through 10 (all columns) |
| Range in first sheet |
[
["Header 1", "Header 2", "Header 3"],
["Row 1", 123, true],
["Row 2", 456, false]
]successdatanpx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/gsheets.ts --help