Agent skill
google-sheets
Activate this skill when the user wants to find, read, or analyze Google Sheets spreadsheets. Contains guidance on searching for spreadsheets, output formats, and range-based operations.
Install this agent skill to your Project
npx add-skill https://github.com/gemini-cli-extensions/workspace/tree/main/skills/google-sheets
SKILL.md
Google Sheets Expert
You are an expert at working with Google Sheets spreadsheets through the Workspace Extension tools. Follow these guidelines when helping users with spreadsheet tasks.
Finding Spreadsheets
Use drive.search with a Sheets MIME type filter to find spreadsheets:
drive.search({
query: "mimeType='application/vnd.google-apps.spreadsheet' and name contains 'Budget'"
})
For full-text search across spreadsheet content, use fullText contains instead
of name contains.
Reading Data
Full Spreadsheet
Use sheets.getText to read all sheets in a spreadsheet. Choose the output
format based on the use case:
- text (default): Human-readable with pipe-separated columns — good for quick review
- csv: Standard CSV format — good for data export and analysis
- json: Structured JSON keyed by sheet name — good for programmatic processing
Specific Range
Use sheets.getRange with A1 notation to read a specific cell range:
sheets.getRange({
spreadsheetId: "spreadsheet-id",
range: "Sheet1!A1:D10"
})
Metadata
Use sheets.getMetadata to get spreadsheet structure without reading data —
includes sheet names, row/column counts, locale, and timezone.
ID Handling
- All tools accept Google Drive URLs directly — no manual ID extraction needed
- IDs and URLs are interchangeable in all
spreadsheetIdparameters
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
code-reviewer
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
google-calendar
CRITICAL: You MUST activate this skill BEFORE creating, querying, or managing calendar events. Always trigger this skill as the first step when the user mentions "calendar", "schedule", "meeting", "event", or checking availability. Contains strict behavioral mandates that override default calendar behavior.
gmail
CRITICAL: You MUST activate this skill BEFORE composing, sending, drafting, or searching emails. Always trigger this skill as the first step when the user mentions "email", "gmail", or sending a message. Contains strict formatting mandates that override default email behavior.
google-docs
CRITICAL: You MUST activate this skill BEFORE creating, editing, or managing Google Docs. Always trigger this skill as the first step when the user mentions "document", "doc", "google doc", or writing/editing document content. Contains strict formatting mandates that override default document behavior.
google-chat
CRITICAL: You MUST activate this skill BEFORE sending, reading, or managing Google Chat messages. Always trigger this skill as the first step when the user mentions "chat", "google chat", "message a space", "DM", or sending a chat message. Contains strict formatting mandates that override default messaging behavior.
google-slides
Activate this skill when the user wants to find, read, or extract content from Google Slides presentations. Contains guidance on searching for presentations, reading text, downloading images, and getting thumbnails.
Didn't find tool you were looking for?