alanalvestech/hitank/google-sheets
Claude Code and agent skill by alanalvestech/hitank
- community
Checking that the SKILL.md file is still in the repository.
Read and write data on Google Sheets
Install
npx vskill@latest install alanalvestech/hitank/google-sheetsSKILL.md
/google-sheets
Connect to Google Sheets to read, analyze and write data. Pure Ruby, zero gems — stdlib only.
Structure
Setup (check before using)
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next. Use simple, non-technical language.
Step 1 — Ask the user to open this link and create a new project (or use an existing one):
Abra este link e crie um projeto no Google Cloud com o nome Hitank:https://console.cloud.google.com/projectcreate
Step 2 — After the user confirms, ask them to enable the Sheets API:
Agora abra este link e clique no botão azul "Ativar" (ou "Enable"):https://console.cloud.google.com/apis/library/sheets.googleapis.com
Step 3 — After the user confirms, guide them to create a Service Account:
Abra este link e clique em "Criar conta de serviço" (ou "Create Service Account"):https://console.cloud.google.com/iam-admin/serviceaccountsNo campo "Nome da conta de serviço", escreva: Hitank PlanilhaClique em "Concluir" (ou "Done").
Step 4 — After the user confirms, guide them to download the key:
Na lista que apareceu, clique em Hitank Planilha (a conta que você acabou de criar).Vá na aba Chaves (ou "Keys").Clique em Adicionar chave → Criar nova chave → escolha JSON → Criar.Um arquivo vai ser baixado automaticamente. Abra esse arquivo, copie TODO o conteúdo e cole aqui.
Step 5 — When the user pastes the JSON, save it:
The script outputs the client_email. Tell the user:
Última etapa! Abra sua planilha no Google Sheets, clique em Compartilhar (canto superior direito), e cole este email:<client_email>Escolha a permissão Editor e clique em Enviar.Isso permite que a gente acesse a planilha.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS contains the Google Sheets URL.
Step 1: Extract the spreadsheet ID
From the Google Sheets URL, extract the ID (the segment between /d/ and /edit or the next /).
Step 2: List tabs
Present the tabs to the user and ask which one to access (or access the first one by default).
Step 3: Read data
Entire tab (first by default):
Specific range:
Output is JSON (array of arrays). Parse and present to the user in a readable format.
If the spreadsheet is large (>100 rows), read only the relevant range.
Step 4: Analyze
After reading the data, present a summary to the user:
- How many rows/columns
- Headers (columns)
- Data sample
- Ask what the user wants to know or do
Step 5: Write (with confirmation)
ALL writes require explicit user confirmation before executing.
Show exactly what will be written and where (cell, range, tab). Only execute after a "yes".
Write to a range:
Append rows at the end:
For formulas and dates interpreted by Sheets, pass USER_ENTERED as the last argument:
Notes
- Pure Ruby, zero gems — stdlib only (openssl, base64, json, net/http)
- Auth via Service Account JWT → Bearer access token (valid for 1h)
- Key file:
~/.config/gcloud/sheets-sa-key.json(outside the repo, never commit) - All writes require user confirmation — reads are free
- If the spreadsheet is not shared with the Service Account, you'll get a 403 error
- Rate limits: Google Sheets API has a limit of 60 requests/minute per user
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 repositoryCheckingskills/google-sheets/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
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/alanalvestech/hitank/google-sheets)