gogcli-ops

Parse Google Drive URLs and verify authentication for safe automation.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/lane2077/claude-code-harness-zh --skill gogcli-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gogcli-ops
Source: https://github.com/lane2077/claude-code-harness-zh/tree/main/codex/.codex/skills/gogcli-ops
Command: npx skills add https://github.com/lane2077/claude-code-harness-zh --skill gogcli-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill standardizes safe, repeatable Google Workspace automation by validating authentication, resolving Google URLs/IDs, and gating write operations behind explicit confirmation.

Core Features & Use Cases

  • Verify authentication status and select an account before actions.
  • Normalize Google URLs/IDs with the provided parsing script to determine type (sheet, doc, slide, file, folder).
  • Perform read-only checks to confirm access and metadata before any writes.
  • Gate write operations behind explicit user confirmation and scoped permissions.
  • Support common tasks across Drive, Sheets, Docs, and Slides: list, metadata fetch, read, export, and updates when approved.

Quick Start

Install gogcli, authorize an account, and provide a Google Drive URL or ID to start a read-only verification flow.

Frequently Asked Questions about gogcli-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Workspace tasks safely across multiple accounts?

To automate Google Workspace tasks safely across multiple accounts, you must verify authentication status and explicitly select the target account before executing any actions. This gating mechanism ensures repeatable, guarded automation by standardizing access validation before operations proceed.

How do I parse Google Drive URLs or IDs to determine file type for automation?

Parsing Google Drive URLs or IDs requires a dedicated script to normalize inputs and identify the resource type, such as Sheets, Docs, Slides, or folders. This URL resolution extracts file types from varied link structures to enable accurate downstream automation workflows.

What is the best way to gate write operations in Google Sheets or Docs automation?

Gating write operations in Google Sheets or Docs automation requires explicit user confirmation and scoped permissions before any updates proceed. This guardrail ensures that read-only checks and metadata fetches occur first, preventing accidental modifications during automated workflows.

How do I check authentication status before reading Google Drive files?

Checking authentication status before reading Google Drive files requires verifying your authorized account credentials within the automation flow. This validation step confirms access rights and retrieves file metadata safely before performing read-only checks or subsequent data operations.

Are there limitations when using read-only workflows for tricky Google Drive URLs?

Limitations when processing tricky Google Drive URLs involve resolving edge cases where link structures obscure the file type or access rights. The parsing script normalizes these URLs to determine the correct type, but write operations remain blocked behind explicit confirmation.

Can I use gogcli-ops for safe read-only checks on Google Workspace files?

Yes, gogcli-ops supports safe read-only checks on Google Workspace files by verifying authentication and resolving URLs before listing or reading metadata. This ensures that you confirm access and file details safely without risking unintended write operations.