gws-shared
Skill11 starsChanged 10 days agoApache-2.0View on GitHub
gws CLI: Shared patterns for authentication, global flags, and output formatting.
7 other projects use a version of this, 5 of them edited.
Adopted by
Most recently taken up by
- googleworkspace/cliedited, first seen Nov 1, 2026
- NiazMorshed2007/jcredited, first seen Sep 20, 2026
- elzinko/google-mcp-multi-accountedited, first seen Aug 17, 2026
- gregpa/claude-skillstheir own version, first seen Jul 29, 2026
- xiaotianxt/skillstheir own version, first seen May 17, 2026
- JetBrains/skillsedited, first seen Apr 28, 2026
Used with
Projects with it also use gws-calendar-agenda, gws-calendar-insert and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
WadeWarrenSkillgws-calendar-agenda
Google Calendar: Show upcoming events across all calendars.
Also in 4 projects that use this
WadeWarrenSkillgws-calendar-insert
Google Calendar: Create a new event.
Also in 4 projects that use this
- +5 more from WadeWarren
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- googleworkspace/cli★ 32k59% same
- JetBrains/skills★ 38654% same
- WadeWarren/gws-claude-plugin★ 3837% same
- NiazMorshed2007/jcr★ 1959% same
- elzinko/google-mcp-multi-account★ 059% same
Wrote their own version · 2
- xiaotianxt/skills★ 1same name
- gregpa/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository63 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ciao-dev-installSkill
- ciao-release-notesSkill
- ciao-releaseSkill
- ciao-upkeepSkill
- gws-workflow-email-to-taskSkill
- gws-workflow-file-announceSkill
- gws-workflow-meeting-prepSkill
- gws-workflowSkill
- gws-workflow-standup-reportSkill
- gws-workflow-weekly-digestSkill
- persona-content-creatorSkill
- persona-customer-supportSkill
- persona-event-coordinatorSkill
- persona-exec-assistantSkill
- persona-hr-coordinatorSkill
- persona-it-adminSkill
- persona-project-managerSkill
- persona-researcherSkill
- persona-sales-opsSkill
- persona-team-leadSkill
- prSkill
- recipe-backup-sheet-as-csvSkill
- recipe-batch-invite-to-eventSkill
- recipe-block-focus-timeSkill
- recipe-bulk-download-folderSkill
- recipe-collect-form-responsesSkill
- recipe-compare-sheet-tabsSkill
- recipe-copy-sheet-for-new-monthSkill
- recipe-create-classroom-courseSkill
- recipe-create-doc-from-templateSkill
- recipe-create-events-from-sheetSkill
- recipe-create-expense-trackerSkill
- recipe-create-feedback-formSkill
- recipe-create-gmail-filterSkill
- recipe-create-meet-spaceSkill
- recipe-create-presentationSkill
- recipe-create-shared-driveSkill
- recipe-create-task-listSkill
- recipe-create-vacation-responderSkill
- recipe-draft-email-from-docSkill
- recipe-email-drive-linkSkill
- recipe-find-free-timeSkill
- recipe-find-large-filesSkill
- recipe-forward-labeled-emailsSkill
- recipe-generate-report-from-sheetSkill
- recipe-label-and-archive-emailsSkill
- recipe-log-deal-updateSkill
- recipe-organize-drive-folderSkill
- recipe-plan-weekly-scheduleSkill
- recipe-post-mortem-setupSkill
- recipe-reschedule-meetingSkill
- recipe-review-meet-participantsSkill
- recipe-review-overdue-tasksSkill
- recipe-save-email-attachmentsSkill
- recipe-save-email-to-docSkill
- recipe-schedule-recurring-eventSkill
- recipe-send-team-announcementSkill
- recipe-share-doc-and-notifySkill
- recipe-share-event-materialsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Run every Google API call through the ciao CLI — never bare gws:
- Very specific: line 22
Use the chat's GWS_PROFILE unless the user asks otherwise.
- Very specific: line 56
Prefer --dry-run for destructive operations
- Very specific: line 57
Use --sanitize for PII/content safety screening
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
gws — Shared Reference
Installation
Install gws from Settings → Overview → Google account (or see the Ciaobot README). The binary must be on $PATH.
Authentication (Ciaobot)
Run every Google API call through the ciao CLI — never bare gws:
ciao gws "$GWS_PROFILE" <service> <subcommand> [flags]Use the chat's GWS_PROFILE unless the user asks otherwise. ciao gws routes credentials and execs gws. Do not source it and do not repeat the gws binary after the profile name.
OAuth setup: Settings → Overview → Google account. Config dirs: secrets/gws-personal/ (personal), secrets/gws/ (work).
Global Flags
| 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 |
CLI Syntax
ciao gws "$GWS_PROFILE" <service> <resource> [sub-resource] <method> [flags]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) |
Security Rules
- Never output secrets (API keys, tokens) directly
- Always confirm with user before executing write/delete commands
- Prefer
--dry-runfor destructive operations - Use
--sanitizefor PII/content safety screening
Shell Tips
- zsh
!expansion: Sheet ranges likeSheet1!A1contain!which zsh interprets as history expansion. Use double quotes with escaped inner quotes instead of single quotes:# WRONG (zsh will mangle the !) ciao gws "$GWS_PROFILE" sheets +read --spreadsheet ID --range 'Sheet1!A1:D10' # CORRECT ciao gws "$GWS_PROFILE" sheets +read --spreadsheet ID --range "Sheet1!A1:D10" - JSON with double quotes: Wrap
--paramsand--jsonvalues in single quotes so the shell does not interpret the inner double quotes:ciao gws "$GWS_PROFILE" drive files list --params '{"pageSize": 5}'
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

