DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to give your coding agent Gmail, Drive and Calendar skills with Google Workspace CLI

Add the gws agent skills so your agent can use Workspace through the CLI.

Short answer: Install and authenticate gws; then add all skills: npx skills add https://github.com/googleworkspace/cli; Or only some, for example the gws-drive or gws-gmail skill folders. All steps.

Credentials. The agent acts with your Google sign-in; keep it on draft and approval for anything that sends.

Who it is forSomeone who wants their agent to draft mail, read a calendar or update a sheet.

The problemAgents cannot reach your Workspace data without custom tools.

The outcomeAn agent that knows how to call gws for Gmail, Drive, Docs, Calendar and Sheets.

What you need first

  • A Google account and a Google Cloud project for OAuth (gws auth setup walks you through it)
  • npm, Homebrew, Cargo or Nix

Steps

  1. Install and authenticate gws
  2. Add all skills: npx skills add https://github.com/googleworkspace/cli
  3. Or only some, for example the gws-drive or gws-gmail skill folders
  4. Ask the agent for a Workspace task and approve each action

Prompt for your agent

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.

Caveat.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for googleworkspace/cli and "Give your coding agent Gmail, Drive and Calendar skills"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer