How-to · Productivity · By Google Workspace

How to use Google Chat Manager in your AI agent

Install and use the Google Chat Manager skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill lets your AI assistant manage your Google Chat on your behalf. It can send messages to chat spaces, create new chat rooms, add or remove members, upload files, and even set up custom emojis for your workspace. Perfect for automating team communications or keeping your Chat organized without opening the app.

Step 1 — Get the skill source URL

The Google Chat Manager skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-chat to my project.

Cursor

Install this agent skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-chat

Codex

Add this skill to .codex/skills/: https://github.com/googleworkspace/cli/tree/main/skills/gws-chat

Gemini CLI

Add the skill at https://github.com/googleworkspace/cli/tree/main/skills/gws-chat to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-chat

Windsurf

Add this skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-chat

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Send a status update to your team's Chat space
  • Setting up a new project room and want to invite specific people
  • Post a file or image to a Chat without opening the app
  • Find or organize your direct messages and spaces

What this skill does

  • Send messages to Google Chat spaces and direct messages
  • Create, update, and delete Chat spaces (group chats or named rooms)
  • Add or remove members from Chat spaces
  • Upload and download media attachments in Chat
  • Create and manage custom emojis for your workspace
Made byGoogle Workspace
CategoryProductivity