بنقرة واحدة
gws-master
Google Workspace CLI mastery — Gmail, Drive, Calendar, Sheets, Docs, Chat, Admin via the official gws CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Google Workspace CLI mastery — Gmail, Drive, Calendar, Sheets, Docs, Chat, Admin via the official gws CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Teaches agents when and how to self-extend by installing tools and skills from the Ninetrix Hub at runtime
Teach agents to automate web browsers via agent-browser CLI — navigate, snapshot refs, interact, extract data, handle auth
Teaches agents to use Claude Code CLI in headless print mode — code generation, file editing, codebase Q&A, git workflows, and multi-turn coding tasks
Cloudflare operations — Workers deploy, DNS, KV, R2, D1, Pages, Tunnels via wrangler CLI and MCP API
GitHub CLI mastery — PRs, issues, releases, Actions, code search, and raw API calls via gh
Google Workspace operations via gogcli — Gmail, Calendar, Drive, Sheets, Docs, Contacts, Tasks
| name | gws-master |
| version | 1.0.0 |
| description | Google Workspace CLI mastery — Gmail, Drive, Calendar, Sheets, Docs, Chat, Admin via the official gws CLI |
| author | ninetrix |
| tags | ["google","workspace","email","productivity"] |
| requires | {"tools":["gws","bash"]} |
| companion_tool | gws |
Operate all Google Workspace services from the terminal using gws — Google's official CLI. Dynamically discovers APIs from Google's Discovery Service, so it covers every Workspace endpoint.
gws dynamically generates commands from Google's Discovery Service — it knows every API endpoint.
gws --help for top-level service listgws <service> --help for all methods in a service (e.g. gws gmail --help)gws <service> <method> --help for flags and parametersgws discover to see all available Google APIs--output json on any command for machine-readable outputTwo modes:
GOOGLE_APPLICATION_CREDENTIALS to the key JSON pathgws auth login (interactive) or set GWS_REFRESH_TOKEN + GWS_OAUTH_CLIENT_ID + GWS_OAUTH_CLIENT_SECRET for headlessCheck auth: gws auth status
gws gmail messages list --query "is:unread newer_than:7d" --max-results 20 --output json
gws gmail messages get <messageId> --output json
gws gmail messages send --to "user@example.com" --subject "Report" --body "See attached" --attachment report.pdf
gws gmail drafts list --output json
gws gmail drafts create --to "user@example.com" --subject "Draft" --body "..."
gws gmail labels list --output json
gws gmail threads get <threadId> --output json
gws gmail messages trash <messageId>
Gmail search operators: from:, to:, subject:, is:unread, has:attachment, newer_than:, older_than:, label:, in:sent.
gws calendar events list --calendar-id primary --max-results 10 --output json
gws calendar events insert --calendar-id primary --summary "Meeting" \
--start "2026-03-25T14:00:00" --end "2026-03-25T15:00:00" --timezone "UTC"
gws calendar events update <eventId> --calendar-id primary --summary "Updated"
gws calendar events delete <eventId> --calendar-id primary
gws calendar freebusy --email "user@example.com" --time-min "2026-03-25T00:00:00Z" --time-max "2026-03-26T00:00:00Z" --output json
gws calendar calendars list --output json
gws drive files list --output json
gws drive files list --query "mimeType='application/pdf'" --max-results 10 --output json
gws drive files list --query "name contains 'quarterly'" --output json
gws drive files get <fileId> --output json
gws drive files download <fileId> --output-file ./local.pdf
gws drive files export <fileId> --mime-type application/pdf --output-file ./export.pdf
gws drive files upload ./file.pdf --parent <folderId> --name "file.pdf"
gws drive files create-folder "New Folder" --parent <folderId>
gws drive permissions list <fileId> --output json
gws drive permissions create <fileId> --email "user@example.com" --role writer
gws sheets values get <spreadsheetId> --range "Sheet1!A1:D10" --output json
gws sheets values update <spreadsheetId> --range "Sheet1!A1" --values '[["a","b"],["c","d"]]'
gws sheets values append <spreadsheetId> --range "Sheet1!A1" --values '[["new","row"]]'
gws sheets spreadsheets get <spreadsheetId> --output json # metadata + sheet tabs
gws sheets values clear <spreadsheetId> --range "Sheet1!A1:D10"
gws docs documents get <docId> --output json
gws docs documents create --title "New Doc"
gws drive files export <docId> --mime-type application/pdf --output-file ./doc.pdf
gws drive files export <slideId> --mime-type application/vnd.openxmlformats-officedocument.presentationml.presentation --output-file ./slides.pptx
gws chat spaces list --output json
gws chat spaces messages list <spaceName> --output json
gws chat spaces messages create <spaceName> --text "Hello from agent"
gws admin users list --domain example.com --output json
gws admin users get <userId> --output json
gws admin groups list --output json
gws admin groups members list <groupId> --output json
gws gmail messages list --query with Gmail query syntaxgws calendar freebusy before creating eventsgws drive files export with --mime-typegws drive files downloadgws sheets values update with JSON array valuesgws drive files list --query firstgws <service> --help to discover it--output json for parseable output--max-results to limit results and avoid token overflowgws drive files list --query)gws discover to find services not listed here--output json (plain text is harder to parse reliably)