跳到正文
cccskills
免费在 GitHub 公开

gogcli-ops

Operates Google Drive, Docs, Sheets, and Slides via gogcli. Use when listing, searching, reading, or updating Google Workspace files.

中文简介正在准备中。当前显示原文说明。

集成工具Google Drive
查看安装方法

包含的文件(4)

  • SKILL.md3.2 KB
  • agents/openai.yaml272 B
  • references/gogcli-cheatsheet.md1.3 KB
  • scripts/gog_parse_url.py1.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

allow1

免费

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

breezing

免费

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

查看 tim-hub 的全部技能

报告此技能的问题