ワンクリックで
gws-shared
gws CLI: Shared patterns for authentication, global flags, and output formatting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
gws CLI: Shared patterns for authentication, global flags, and output formatting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Self-contained CatHerder method and standards for plans and tasks: planning vs execution, execution loop, prompt precedence, persistence; plus prompt/spec/implementation/review/follow-up files, frontmatter, statuses, timestamps, the open-questions gate, and validation. Use when planning, creating, reviewing, executing, or validating planNNN folders, or fixing plan/task format drift.
Captures Norwegian Stein Storken-style writing and Excel workbook conventions for use when users want concise decision-support communication, summary-first multi-sheet models, three alternatives, and workbook handoff language such as 'en enkel modell'.
Validate and verify plans and tasks in .instructions folder against CatHerder standards. Use when creating, reviewing, updating, verifying or validating plans and/or tasks.
Read and write Google Docs.
Access files and folders in Google Drive. Use this skill to list, search, upload, edit, delete, download files, documents and folders in Google Drive.
Google Sheets: Read and write spreadsheets.
| name | gws-shared |
| version | 1.0.0 |
| description | gws CLI: Shared patterns for authentication, global flags, and output formatting. |
| metadata | {"openclaw":{"category":"productivity","requires":{"bins":["gws"]}}} |
The gws binary must be on $PATH. See the project README for install options.
# Browser-based OAuth (interactive)
gws auth login
# Service Account
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
| Flag | Description |
|---|---|
--format <FORMAT> | Output format: json (default), table, yaml, csv |
--dry-run | Validate locally without calling the API |
--sanitize <TEMPLATE> | Screen responses through Model Armor |
gws <service> <resource> [sub-resource] <method> [flags]
| Flag | Description |
|---|---|
--params '{"key": "val"}' | URL/query parameters |
--json '{"key": "val"}' | Request body |
-o, --output <PATH> | Save binary responses to file |
--upload <PATH> | Upload file content (multipart) |
--page-all | Auto-paginate (NDJSON output) |
--page-limit <N> | Max pages when using --page-all (default: 10) |
--page-delay <MS> | Delay between pages in ms (default: 100) |
--params and --jsonAlways use outer single quotes wrapping valid JSON with inner double quotes:
# CORRECT:
gws <svc> <res> <method> --params '{"key":"value","q":"\"ID\" in parents"}'
# WRONG (common agent mistakes):
--params "{'key':'val'}" # single quotes aren't valid JSON
--params "{\"key\":\"val\"}" # shell-escaped double quotes — fragile, avoid
fields param to limit response size — never fetch full resources.pageSize (typically 100) to reduce pagination overhead.--dry-run for destructive operations--sanitize for PII/content safety screeninghttps://github.com/googleworkspace/clihttps://github.com/googleworkspace/cli/issues