gogcli-ops
/gogcli-ops
Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files.
- Author
- tim-hub ↗
- Repository
- powerball-harness ↗
- Licence
- MIT
- Last repository change
- 05.08.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 05.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/gog_parse_url.py
What it does and when to use it
Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files.
Original author description
Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files.
How it works
- Overview
- Quick start
- Workflow decision tree
- Core tasks
- Error handling
- Resources
SKILL.md preview
---
name: gogcli-ops
description: "Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files."
when_to_use: "Google Drive, Google Docs, Google Sheets, Slides, export doc, read spreadsheet, parse Google URL"
allowed-tools: ["Read", "Bash", "Grep", "Glob"]
---
# Gogcli Ops
Operates Google Workspace files via the `gogcli` CLI — Drive, Sheets, Docs, and Slides.
## Overview
Standardize gogcli usage: verify auth, resolve IDs from URLs, default to read-only checks, then run the minimum command needed.
## Quick start
- Confirm gogcli is available: `gog --version`
- List accounts and pick one explicitly if more than one: `gog auth list`
- Resolve URL to ID with `python3 "${CLAUDE_SKILL_DIR}/scripts/gog_parse_url.py" "<url-or-id>"`
- Run a read-only metadata command first (Drive/Sheets/Docs/Slides)
## Workflow decision tree
1. Identify target type: `sheet | doc | slide | file | folder | id | unknown` via `"${CLAUDE_SKILL_DIR}/scripts/gog_parse_url.py"`. # skill-local
2. Choose the smallest read-only command to confirm access:
- Sheets: `gog sheets metadata <spreadsheetId>`
- Docs: `gog docs info <docId>`
- Slides: `gog slides info <presentationId>`
- Drive file/folder: `gog drive get <fileId>` or `gog drive permissions <fileId>`
3. Only proceed to write operations (update/append/move/share/delete) after explicit user confirmation.
## Core tasks
### Auth and account selection
- Show stored accounts: `gog auth list`
- Show auth configuration: `gog auth status`
- Add/authorize account: `gog auth add <email>`
- Always use `--account <email>` when multiple accounts exist.
### Resolve IDs from URLs
- Parse a URL or ID:
- `python3 "${CLAUDE_SKILL_DIR}/scripts/gog_parse_url.py" "<url-or-id>"` # skill-local
- If output type is `unknown`, ask for a direct ID or a different URL.
### Drive (files/folders)
- List root or a folder: `gog drive ls`
- Search by query: `gog drive search "<query>"`
- Get metadata: `gog drive get <fileId>`
- Download/export: `gog drive download <fileId>`
- Permissions check: `gog drive permissions <fileId>`
### Sheets
- Metadata: `gog sheets metadata <spreadsheetId>`
- Read values: `gog sheets get <spreadsheetId> <range>`
- Export: `gog sheets export <spreadsheetId>`
- Write operations (update/append/clear/format): require explicit confirmation and exact range.
### Docs
- Metadata: `gog docs info <docId>`
- Read text: `gog docs cat <docId>`
- Export: `gog docs export <docId>`
### Slides
- Metadata: `gog slides info <presentationId>`
- Export: `gog slides export <presentationId>`
### Output modes
- Use `--plain` for stable TSV output.
- Use `--json` when a caller wants structured output.
- Use `--no-input` in non-interactive flows to avoid hanging.
## Error handling
- 403/404: verify account (`gog auth list`), check permissions (`gog drive permissions <fileId>`), and confirm the ID.
- If access fails, request the user to share the file with the selected account or provide the correct account.
## Resources
- See `${CLAUDE_SKILL_DIR}/references/gogcli-cheatsheet.md` for a compact command list.
- Use `"${CLAUDE_SKILL_DIR}/scripts/gog_parse_url.py"` to normalize URLs into IDs before running commands. # skill-local
Files in this package (4)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- references/gogcli-cheatsheet.md 1 KB
- scripts/gog_parse_url.py 1 KB
Versions
The database has no other skills named gogcli-ops.
Database snapshot: 13.11.2026 · package version 353e50d832be (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95google
Google Workspace CLI for Gmail, Calendar, Drive, Docs, Sheets, and Slides using gogcli. Use when asked to search email, schedule meetings, manage files, edit documents, update spreadsheets, or create presentations. - 100gogcli
Google Workspace CLI for Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, Keep. Use when user asks to interact with Google services. - 100google-drive
Use connected Google Drive as the single entrypoint for Drive, Docs, Sheets, and Slides work. Use when the user wants to find, fetch, organize, share, export, copy, or delete Drive files, or summarize and edit Google Docs, Google Sheets, and Google Slides through one unified Google Drive plugin. - 90drive-docs-sheets
Use when the user asks to find, read, create, edit, move, rename, share or trash Google Drive files, Docs, Sheets or Contacts. - 100google-workspace
Read this before the first Google Drive, Docs, Sheets or Slides connector call whenever the task creates or changes a Google file. Use this skill whenever the user wants to create or change a Google Doc, Sheet or Slides file in their Google Drive. Triggers include: a request… - 100google-workspace-ops
Operate across Google Drive, Docs, Sheets, and Slides as one workflow surface for plans, trackers, decks, and shared documents. Use when the user needs to find, summarize, edit, migrate, or clean up Google Workspace assets without dropping to raw tool calls.