一键导入
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 页面并帮你完成安装。
Google People: Search, create, update, and manage contacts and profiles.
Google Sheets: Read and write spreadsheets.
Access to the user's Т-Инвестиции / Tinkoff (T-Invest) brokerage account via the T-Invest API — portfolio, positions, cash, quotes and prices, operations, dividends, commissions, yield/returns, bonds, stocks, funds, screeners, and trades on explicit command. Data and analytics, not investment advice. Use whenever the user asks about their own portfolio, account, securities, a quote or price, operations, dividends, returns or trading, or mentions Т-Инвестиции / Тинькофф / T-Invest or a ticker (SBER, GAZP). Data comes from the T-Invest API via the bundled CLI — do not answer from memory.
Google Calendar: Manage calendars and events.
Read and write Google Docs.
Google Drive: Manage files, folders, and shared drives.
基于 SOC 职业分类
| name | gws-shared |
| description | gws CLI: Shared patterns for authentication, global flags, and output formatting. |
| metadata | {"version":"0.22.5","openclaw":"category=productivity;requires=bins:gws"} |
The gws binary must be on $PATH. See the project README for install options.
Osinara provides the gws binary and mounts exactly one Google credential profile
for the current trusted runtime scope. In a private chat, this is the current
user's personal profile. In a registered family group, this is the separate
shared family profile. Do not infer, switch, print, copy, export, or inspect
credential files.
The runtime sets GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE when a profile is
available. Treat that file as secret material and never include its contents in
responses, logs, command output, workspace files, or attachments.
Do not run authentication commands from the agent session:
gws auth login
gws auth logout
gws auth export
If gws reports missing credentials, call manage_google_workspace_connection
with action: "status" first. If the profile is disconnected, call it with
action: "connect" and give the user the protected OAuth link. Disconnect only
after an explicit user request. In family scope, only the owner may connect,
replace, or disconnect the shared profile.
| 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) |
--dry-run for destructive operations--sanitize for PII/content safety screeningask_question once for the complete user
operation when confirmation is required, then execute the confirmed gws
calls without asking again per API callgws mutations; inspect the error and
current state first so a retry cannot duplicate a side effect! expansion: Sheet ranges like Sheet1!A1 contain ! which zsh interprets as history expansion. Use double quotes with escaped inner quotes instead of single quotes:
# WRONG (zsh will mangle the !)
gws sheets +read --spreadsheet ID --range 'Sheet1!A1:D10'
# CORRECT
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
--params and --json values in single quotes so the shell does not interpret the inner double quotes:
gws drive files list --params '{"pageSize": 5}'
https://github.com/googleworkspace/clihttps://github.com/googleworkspace/cli/issues