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 scripts/gog_parse_url.py "<url-or-id>"
Run a read-only metadata command first (Drive/Sheets/Docs/Slides)
Workflow decision tree
Identify target type: sheet | doc | slide | file | folder | id | unknown via scripts/gog_parse_url.py.
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>
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 scripts/gog_parse_url.py "<url-or-id>"
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 scripts/gog_parse_url.py to normalize URLs into IDs before running commands.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: chachamaru127-claude-code-harness-gogcli-ops3description: Gogcli Ops4---56# Gogcli Ops78## Overview9Standardize gogcli usage: verify auth, resolve IDs from URLs, default to read-only checks, then run the minimum command needed.1011## Quick start12- Confirm gogcli is available: `gog --version`13- List accounts and pick one explicitly if more than one: `gog auth list`14- Resolve URL to ID with `python3 scripts/gog_parse_url.py "<url-or-id>"`15- Run a read-only metadata command first (Drive/Sheets/Docs/Slides)1617## Workflow decision tree181. Identify target type: `sheet | doc | slide | file | folder | id | unknown` via `scripts/gog_parse_url.py`.192. Choose the smallest read-only command to confirm access:20 - Sheets: `gog sheets metadata <spreadsheetId>`21 - Docs: `gog docs info <docId>`22 - Slides: `gog slides info <presentationId>`23 - Drive file/folder: `gog drive get <fileId>` or `gog drive permissions <fileId>`243. Only proceed to write operations (update/append/move/share/delete) after explicit user confirmation.2526## Core tasks2728### Auth and account selection29- Show stored accounts: `gog auth list`30- Show auth configuration: `gog auth status`31- Add/authorize account: `gog auth add <email>`32- Always use `--account <email>` when multiple accounts exist.3334### Resolve IDs from URLs35- Parse a URL or ID:36 - `python3 scripts/gog_parse_url.py "<url-or-id>"`37- If output type is `unknown`, ask for a direct ID or a different URL.3839### Drive (files/folders)40- List root or a folder: `gog drive ls`41- Search by query: `gog drive search "<query>"`42- Get metadata: `gog drive get <fileId>`43- Download/export: `gog drive download <fileId>`44- Permissions check: `gog drive permissions <fileId>`4546### Sheets47- Metadata: `gog sheets metadata <spreadsheetId>`48- Read values: `gog sheets get <spreadsheetId> <range>`49- Export: `gog sheets export <spreadsheetId>`50- Write operations (update/append/clear/format): require explicit confirmation and exact range.5152### Docs53- Metadata: `gog docs info <docId>`54- Read text: `gog docs cat <docId>`55- Export: `gog docs export <docId>`5657### Slides58- Metadata: `gog slides info <presentationId>`59- Export: `gog slides export <presentationId>`6061### Output modes62- Use `--plain` for stable TSV output.63- Use `--json` when a caller wants structured output.64- Use `--no-input` in non-interactive flows to avoid hanging.6566## Error handling67- 403/404: verify account (`gog auth list`), check permissions (`gog drive permissions <fileId>`), and confirm the ID.68- If access fails, request the user to share the file with the selected account or provide the correct account.6970## Resources71- See `${CLAUDE_SKILL_DIR}/references/gogcli-cheatsheet.md` for a compact command list.72- Use `scripts/gog_parse_url.py` to normalize URLs into IDs before running commands.7374---75> Converted and distributed by [TomeVault](https://tomevault.io/claim/chachamaru127) — claim your Tome and manage your conversions.76<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/chachamaru127-claude-code-harness-gogcli-ops in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Gogcli Ops It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.