Agent skill
gogcli-ops
gogcli でGoogle Workspace操作(Drive/Sheets/Docs/Slides)。ユーザーがGoogleファイルの確認・検索・エクスポート・読み取り・更新をgogcliで依頼する時に使用。Trigger when a user asks to check, list, search, export, read, or update Google files via gogcli; when a Google URL/ID needs parsing; when auth/account selection or safe read-only workflows are needed; or when troubleshooting gogcli access/errors. Do NOT load for: general file operations, non-Google cloud storage, or standard shell commands.
Install this agent skill to your Project
npx add-skill https://github.com/Chachamaru127/claude-code-harness/tree/main/skills/gogcli-ops
SKILL.md
Gogcli Ops
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 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 | unknownviascripts/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>orgog drive permissions <fileId>
- Sheets:
- 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
--plainfor stable TSV output. - Use
--jsonwhen a caller wants structured output. - Use
--no-inputin 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.mdfor a compact command list. - Use
scripts/gog_parse_url.pyto normalize URLs into IDs before running commands.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
breezing
チーム実行モード(Codex ネイティブ版)— harness-work のチーム協調エイリアス。breezing, チーム実行, 全部やって でトリガー。
harness-work
Harness v3 統合実行スキル(Codex ネイティブ版)。Plans.md タスクを1件から全並列チーム実行まで担当。以下で起動: 実装して、実行して、harness-work、全部やって、breezing、チーム実行、parallel。プランニング・レビュー・リリース・セットアップには使わない。
harness-plan
Harness v3 統合プランニングスキル。タスク計画・Plans.md管理・進捗同期を担当。以下のフレーズで起動: 計画を作る、タスクを追加、Plans.md更新、完了マーク、進捗確認、harness-plan、harness-sync。実装・レビュー・リリースには使わない。
breezing
チーム実行モード — harness-work のチーム協調エイリアス。breezing, チーム実行, 全部やって でトリガー。
harness-setup
Harness v3 統合セットアップスキル。プロジェクト初期化・ツール設定・2エージェント構成・メモリ設定・公開 skill mirror 同期を担当。以下で起動: セットアップ、初期化、新規プロジェクト、CIセットアップ、codex CLIセットアップ、harness-mem、エージェント設定、symlink、mirror、harness-setup。実装・レビュー・リリース・プランニングには使わない。
harness-sync
Plans.md と実装の進捗同期。差分検出・マーカー更新・レトロスペクティブを実行。以下で起動: harness-sync、sync-status、進捗確認、今どこ、どこまで終わった。--snapshot で進捗スナップショット保存にも対応。プランニング・実装・レビュー・リリースには使わない。
Didn't find tool you were looking for?