{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "googleworkspace-cli--give-your-agent-google-workspace-skills",
 "repo": "googleworkspace/cli",
 "repo_url": "https://github.com/googleworkspace/cli",
 "repo_slug": "googleworkspace-cli",
 "title": "Give your coding agent Gmail, Drive and Calendar skills",
 "page_title": "How to give your coding agent Gmail, Drive and Calendar skills with Google Workspace CLI",
 "summary": "Add the gws agent skills so your agent can use Workspace through the CLI.",
 "who": "Someone who wants their agent to draft mail, read a calendar or update a sheet.",
 "problem": "Agents cannot reach your Workspace data without custom tools.",
 "outcome": "An agent that knows how to call gws for Gmail, Drive, Docs, Calendar and Sheets.",
 "steps": [
  "Install and authenticate gws",
  "Add all skills: `npx skills add https://github.com/googleworkspace/cli`",
  "Or only some, for example the gws-drive or gws-gmail skill folders",
  "Ask the agent for a Workspace task and approve each action"
 ],
 "agent_prompt": "Add googleworkspace/cli's gws-gmail and gws-calendar skills to my agent, then draft (do not send) replies to my 3 most recent unread emails and list my meetings for tomorrow.",
 "agents": [
  "claude-code",
  "codex",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "rust",
 "requirements": [
  "A Google account and a Google Cloud project for OAuth (gws auth setup walks you through it)",
  "npm, Homebrew, Cargo or Nix"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The agent acts with your Google sign-in; keep it on draft and approval for anything that sends."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/googleworkspace-cli/give-your-agent-google-workspace-skills/",
 "md": "https://dedupedai.com/use-cases/googleworkspace-cli/give-your-agent-google-workspace-skills/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/googleworkspace-cli--give-your-agent-google-workspace-skills.json",
 "api_version": "v1"
}
