google-sheets-skill
2
总安装量
2
周安装量
#62788
全站排名
安装命令
npx skills add https://github.com/idanbeck/claude-skills --skill google-sheets-skill
Agent 安装分布
gemini-cli
2
opencode
2
codebuddy
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Google Sheets Skill
Read, write, and manage Google Sheets.
Setup
Uses same Google OAuth as gmail-skill. If you have gmail-skill configured, this will work automatically.
Otherwise:
- Go to https://console.cloud.google.com/apis/credentials
- Create OAuth client (Desktop app)
- Enable Google Sheets API
- Download JSON to
~/.claude/skills/google-sheets-skill/credentials.json - Run:
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py login
Commands
List & Info
# List your spreadsheets
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py list [--limit N]
# Get spreadsheet info
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py get SPREADSHEET_ID
Reading Data
# Read a range
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py read SPREADSHEET_ID "Sheet1!A1:C10"
# Read entire sheet
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py read SPREADSHEET_ID "Sheet1"
Writing Data
# Write to range (overwrites)
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py write SPREADSHEET_ID "Sheet1!A1" --values '[["Header1","Header2"],["Row1","Data"]]'
# Append rows
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py append SPREADSHEET_ID "Sheet1" --values '[["New","Row"]]'
# Clear range
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py clear SPREADSHEET_ID "Sheet1!A1:C10"
Sheet Management
# Create new spreadsheet
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py create --title "My Spreadsheet"
# Add sheet to existing spreadsheet
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py add-sheet SPREADSHEET_ID --title "New Tab"
# Delete sheet
python3 ~/.claude/skills/google-sheets-skill/sheets_skill.py delete-sheet SPREADSHEET_ID --sheet-id 123456
Range Notation
Sheet1!A1:C10– Specific rangeSheet1!A:C– Entire columns A-CSheet1!1:10– Rows 1-10Sheet1– Entire sheetA1:C10– Default sheet
Spreadsheet ID
Found in the URL: https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit
Output
All commands output JSON.