Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Interact with Google Workspace (Drive, Docs, Sheets) via the `gw` CLI. Use when an agent needs to browse, read, create, search, or manage files in Google Dri...
Interact with Google Workspace (Drive, Docs, Sheets) via the `gw` CLI. Use when an agent needs to browse, read, create, search, or manage files in Google Dri...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Manage Google Drive, Docs, and Sheets from the terminal with gw.
Ensure gw is installed: npm i -g @11x.agency/gworkspace Ensure authenticated: run gw auth --status. If not authenticated, run gw auth. If targeting a Shared Drive, get the drive ID first: gw drive shared
gw auth # Opens browser for Google sign-in gw auth --status # Check current auth (email, scopes, expiry) gw logout # Remove stored credentials Token stored at ~/.11x/gworkspace/token.json. OAuth credentials via env vars or .env file: GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET GW_CLIENT_ID / GW_CLIENT_SECRET (aliases)
# List files gw drive ls # Root of My Drive gw drive ls /Projects # By path gw drive ls --folder <id> # By folder ID gw drive ls --type doc # Filter: doc, sheet, folder, all gw drive ls --limit 50 # Pagination # Create folder gw drive mkdir "Folder Name" gw drive mkdir "Subfolder" --folder <parent-id> # Search gw drive search "quarterly report" gw drive search "budget" --type sheet # Upload gw drive upload ./file.pdf gw drive upload ./data.csv --folder <id> --name "Q4 Data" # List Shared Drives gw drive shared
Use the global --drive <id> flag before any subcommand: gw --drive <shared-drive-id> drive ls gw --drive <shared-drive-id> drive ls /Projects gw --drive <shared-drive-id> drive mkdir "New Folder" gw --drive <shared-drive-id> drive search "report" gw --drive <shared-drive-id> drive upload ./file.pdf To create docs/sheets in a Shared Drive, use --folder with a Shared Drive folder ID: gw doc create "Title" --folder <shared-drive-folder-id> gw sheet create "Title" --folder <shared-drive-folder-id>
gw doc read <id|url> # Plain text output gw doc read <id|url> --markdown # Markdown output gw doc create "Title" # Create empty doc, returns ID + URL gw doc create "Title" --folder <id> # Create in specific folder gw doc append <id|url> "text" # Append text to end of doc gw doc append <id|url> --file ./notes.txt # Append from file
gw sheet read <id|url> # Read entire first sheet (JSON rows) gw sheet read <id|url> "Sheet1!A1:C10" # Read specific range gw sheet write <id|url> "A1:B2" '[["Name","Score"],["Alice","95"]]' gw sheet write <id|url> "A1" --file ./data.csv gw sheet append <id|url> '[["Bob","88"]]' gw sheet append <id|url> --file ./more.csv gw sheet create "Title" # Create spreadsheet gw sheet create "Title" --folder <id> gw sheet list <id|url> # List tabs/sheets
All commands support three output modes: FlagOutputUse case(default)JSONPiping, scripting--prettyHuman-readable tableTerminal viewing--quietIDs only, one per lineChaining commands
stdout: Data output (JSON, table, or IDs) stderr: Errors, status messages, progress Exit 0: Success Exit 1: Any error (auth, not found, permission, network)
All commands accept either format โ paste a full Google URL or just the ID: gw doc read https://docs.google.com/document/d/1abc.../edit gw doc read 1abc...
ConditionMessageNo tokenError: Not authenticated. Run 'gw auth' to get started.Token expiredError: Session expired. Run 'gw auth' to re-authenticate.File not foundError: File not found.Permission deniedError: No access to this file. Make sure it's shared with your account.Network errorError: Could not reach Google APIs. Check your connection.
gw drive shared --quiet # Get drive IDs gw --drive <id> drive ls --pretty # Browse root gw --drive <id> drive ls --folder <folder-id> # Drill into folder gw doc read <doc-id> # Read the doc
gw drive mkdir "Project X" # Create folder, get ID gw doc create "Requirements" --folder <id> # Create doc, get ID gw doc append <doc-id> "# Requirements\n\n..." # Write content
gw sheet read <id> --quiet > data.tsv # Tab-separated to file gw sheet read <id> "Sheet1!A1:D100" | jq '.' # JSON for processing
gw drive mkdir "Reports" --folder <parent-id> gw drive upload ./q4-report.pdf --folder <new-folder-id> --name "Q4 Report 2026"
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.