luokai0/ai-agent-skills-by-luo-kai/google-sheet
Claude Code and agent skill by luokai0/ai-agent-skills-by-luo-kai
- community
Checking that the SKILL.md file is still in the repository.
Read, write, append, and manage Google Sheets via the Google Sheets API (Node.js SDK). Use when you need to interact with spreadsheets — reading data, writing/updating cells, appending rows, clearing ranges, formatting cells, managing sheets. Requires a Google Cloud service account with Sheets API enabled.
Install
npx vskill@latest install luokai0/ai-agent-skills-by-luo-kai/google-sheetSKILL.md
The same SKILL.md was published earlier as luokai0/ai-agent-skills-by-luo-kai/google-sheet.
Google Sheets Skill
Interact with Google Sheets using a service account.
Setup (One-time)
- Google Cloud Console:
- Create/select a project
- Enable "Google Sheets API"
- Create a Service Account (IAM → Service Accounts → Create)
- Download JSON key
- Configure credentials (one of these):
- Set env:
GOOGLE_SERVICE_ACCOUNT_KEY=/path/to/key.json - Place
service-account.jsonorcredentials.jsonin the skill directory - Place in
~/.config/google-sheets/credentials.json
- Share sheets with the service account email (found in JSON key as
client_email)
- Install dependencies:
``bash cd skills/google-sheets && npm install ``
Usage
Commands
Data Operations
| Command | Args | Description | |
|---|---|---|---|
read | <id> <range> | Read cells | |
write | <id> <range> <json> | Write data | |
append | <id> <range> <json> | Append rows | |
clear | <id> <range> | Clear range |
Formatting
| Command | Args | Description | |
|---|---|---|---|
format | <id> <range> <formatJson> | Format cells | |
getFormat | <id> <range> | Get cell formats | |
borders | <id> <range> [styleJson] | Add borders | |
copyFormat | <id> <source> <dest> | Copy format between ranges | |
merge | <id> <range> | Merge cells | |
unmerge | <id> <range> | Unmerge cells |
Layout
| Command | Args | Description | ||
|---|---|---|---|---|
resize | `<id> <sheet> <cols\ | rows> <start> <end> <px>` | Resize columns/rows | |
autoResize | <id> <sheet> <startCol> <endCol> | Auto-fit columns | ||
freeze | <id> <sheet> [rows] [cols] | Freeze rows/columns |
Sheet Management
| Command | Args | Description | |
|---|---|---|---|
create | <title> | Create spreadsheet | |
info | <id> | Get metadata | |
addSheet | <id> <title> | Add sheet tab | |
deleteSheet | <id> <sheetName> | Delete sheet tab | |
renameSheet | <id> <oldName> <newName> | Rename sheet tab |
Examples
Format Options
Border Style
Border styles: DOTTED, DASHED, SOLID, SOLID_MEDIUM, SOLID_THICK, DOUBLE
Finding Spreadsheet ID
From URL: https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit
Troubleshooting
- 403 Forbidden: Sheet not shared with service account email
- 404 Not Found: Wrong spreadsheet ID or sheet name
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai-agent-skills/22-clawhub-skills/google-sheet/SKILL.md
Popularity
- Repository stars
- 12
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/luokai0/ai-agent-skills-by-luo-kai/google-sheet)