google-workspace
Skill by google
Reads and writes Google Workspace data, including Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks and Slides, through the community gws CLI. It suits users who need an assistant to work with their Google Workspace accounts and must configure an OAuth client or service account first.
Install google-workspace
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/adk-recipes /tmp/adk-recipes && mkdir -p ~/.claude/skills && cp -r /tmp/adk-recipes/core/python/long-horizon-harness/horizon/builtin_skills/google-workspace ~/.claude/skills/google-workspaceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/adk-recipes /tmp/adk-recipes && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/adk-recipes/core/python/long-horizon-harness/horizon/builtin_skills/google-workspace ~/.gemini/antigravity-cli/skills/google-workspaceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant to use the gws command line tool, which wraps Google Workspace REST APIs. It covers Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks, Slides, Keep, Forms, Apps Script and Meet. The assistant can list, read, create, update and send items through commands such as gws drive files list, gws sheets +append and gws gmail +send, and it can check parameter shapes with gws schema before writing.
The skill first checks for a pre-injected access token from the Connect Workspace flow. If none works, it guides setup of an OAuth client secret, environment variables or a service account, then authenticates with read-only scopes by default. It is aimed at users with a Google Workspace account who want an assistant to handle everyday document, mail, calendar and task work. The source notes that gws is a community CLI and not an officially supported Google product.
Written from the project's SKILL.md and checked against it.
What it can do
- gws drive files listLists Drive files with query and page size parameters.
- gws sheets +read and +appendReads a Sheet range and appends rows to a spreadsheet.
- gws gmail messages listLists Gmail messages using a search query.
- gws gmail +sendSends an email with a recipient, subject and body.
- gws calendar events listLists upcoming events on a calendar such as primary.
- gws tasks tasks insertAdds a task to a Google Tasks list.
- gws slides presentations getReads a Google Slides presentation by ID.
- gws forms forms responses listLists responses to a Google Form.
- gws keep notes listLists Google Keep notes, subject to an Enterprise-only API restriction.
- gws schemaPrints the exact parameter shape for a given service method.
What you need
- Node.js with npm to install @googleworkspace/cli
- A Google account with Workspace access
- An OAuth client (Desktop app type) or a service account
- The gws CLI version 0.22.x as targeted by this skill
Try asking
- List the 10 most recent files in my Google Drive folder
- Append a row with today's sales figures to my Sheet
- Draft and send an email to alice@example.com about the meeting
Good to know
- Connect Workspace access is read-only by default and per surface.
- The pre-injected token lasts about one hour and has no refresh.
- gws auth login needs a browser and a user present, so unattended jobs need a service account.
- Google Keep access is limited to Workspace Enterprise domains via service account delegation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: core/python/long-horizon-harness/horizon/builtin_skills/google-workspace/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB
Alternatives to google-workspace
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
google-workspace: common questions
Does gws include Google credentials?
No. The source says gws does not bundle credentials, so an OAuth client or service account must be configured first.
Is gws an official Google product?
The source describes it as a community CLI and says it is not an officially supported Google product.
Should the assistant use raw curl against Workspace APIs?
No. The source says gws already wraps the REST APIs and handles pagination, retries and JSON parsing, so curl should not be used.
How do I install google-workspace?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-workspace free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is google-workspace safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-workspace?
Similar skills: ask-user-question, beads, google_tasks, recall.
