Skip to content

Guide · Agent skill

How to use the Send Google Chat Message agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This guide explains the gws-chat-send agent skill, a short instruction file that teaches an AI agent how to post a plain-text message to a Google Chat space using the gws command-line tool. It is for people who already use Google Chat and Google Workspace and want an agent to post status updates or announcements. By the end you will know how to install the skill, how to phrase a request so the agent uses it, and what to check before anything is sent.

Send Google Chat Messagegoogleworkspace/cli · Apache-2.0

Quick start

  1. 1Get the ZIP. Download the skill ZIP from this page and unzip it so you have the gws-chat-send folder with SKILL.md.
  2. 2Place the skill. Move the folder into ~/.claude/skills/ for personal use, into a project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
  3. 3Set up gws. Install the gws command-line tool and authenticate it with your Google Workspace account.
  4. 4Create the shared guide if needed. If ../gws-shared/SKILL.md is missing, run gws generate-skills to create it.
  5. 5Find the space name. Run gws chat spaces list to find the space name in the form spaces/... that you can post to.
  6. 6Ask for the message. Tell the agent the space and the plain-text message in a natural request.
  7. 7Review and approve. Read the proposed gws chat +send command and text, then confirm before it is sent.

What the skill makes the agent do

An agent skill is a folder containing a SKILL.md file with instructions that an AI agent reads when a task matches. This skill covers one action: sending a message to a Google Chat space. Once it is installed, the agent knows the command to use and the two required fields, the space name and the message text.

The skill also tells the agent to confirm with you before it actually sends the message, because posting to a space is a write action that other people will see.

Install the skill from the ZIP download

Download the ZIP for this skill from this page and unzip it. The skill is a single file, SKILL.md. Put the unzipped skill folder in one of these locations:

For all of your projects, place it in ~/.claude/skills/.

For one project only, place it in that project's .claude/skills/ folder.

You can also upload the skill in the Claude apps. Open Settings, go to Capabilities, then Skills, and upload it there.

  • Personal: ~/.claude/skills/
  • Single project: .claude/skills/ inside the project folder
  • Claude apps: Settings → Capabilities → Skills

Set up the gws tool and its prerequisites

The skill does not work on its own. It needs the gws command-line tool (the googleworkspace CLI) installed and authenticated with your Google Workspace credentials. The skill also refers to a shared auth and setup guide at ../gws-shared/SKILL.md. If that file is missing, the skill says to run gws generate-skills to create it.

Check that gws responds by running its help for this command: gws chat +send --help

  • gws command-line tool, installed and authenticated
  • The shared guide ../gws-shared/SKILL.md (create it with gws generate-skills if missing)
  • A Google Chat space name in the form spaces/... that your account is allowed to post to
gws chat +send --help

Trigger the skill with a natural request

You do not need to type the command yourself. Ask the agent in plain language to post to a space, and name the space and the text. The agent should pick up the skill from the request and prepare the command.

If you do not know the space name, the skill's tips say you can list spaces with the gws chat spaces list command. The agent can use that to look up the name.

  • "Post 'Build 214 passed on main' to spaces/AAAAxxxx in Google Chat."
  • "Send the release announcement text to our team space. Show me the command first."
gws chat spaces list

The command and its flags

The underlying command is gws chat +send with two required flags. --space takes the space name, such as spaces/AAAA.... --text takes the message, which must be plain text. Both flags have no default value.

The skill's example sends a greeting to a sample space. Replace the space name with your own.

  • --space (required): space name, e.g. spaces/AAAA...
  • --text (required): message text, plain text only
gws chat +send --space spaces/AAAAxxxx --text 'Hello team!'

Know the limits: cards and threaded replies

This skill only handles plain text. For cards or threaded replies, the skill says to use the raw API instead. Ask the agent for those only if you are prepared to work with the raw API, because this skill will not build them.

Safety notes: scripts and network access

This skill runs scripts and uses the network. The command it invokes sends data to Google Chat through your authenticated gws setup, so the message leaves your machine and is visible to everyone in the space.

The skill asks the agent to confirm with you before executing. That is advice in the instruction file, not an enforced check. Read the exact command and text the agent proposes before you approve it. Use an account and space you are comfortable posting to.

  • It runs scripts and makes network calls.
  • Messages are visible to all members of the target space.
  • Confirmation before sending is requested by the skill, not enforced by the tool.

What people use it for

  • Posting a daily build or deployment status to a team space.
  • Sharing a release announcement with a project channel.
  • Sending a notification from a script or workflow to a known Chat space.
  • Posting a short reminder with plain text to a shared space.

Frequently asked questions

How do I install the gws-chat-send agent skill?

Download the ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

What do I need before the skill works?

You need the gws command-line tool installed and authenticated with Google Workspace credentials, the shared guide at ../gws-shared/SKILL.md (run gws generate-skills if it is missing), and a space name in the form spaces/... that your account can post to.

Is the gws-chat-send skill free?

The skill is published under the Apache-2.0 licence, as stated on this page. This page does not give pricing for Google Workspace or the gws tool, so check those separately.

Can the skill send cards or threaded replies?

No. The skill covers plain-text messages only. The skill's own tips say to use the raw API for cards or threaded replies.

How do I find the space name for Google Chat?

Run gws chat spaces list, as the skill's tips suggest, and use the spaces/... name it returns.

Will the agent send the message without asking me?

The skill instructs the agent to confirm with you before executing, because it is a write command. This is guidance in the instruction file, not an enforced check, so review the command and text before approving.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits teams and developers who already use Google Chat with a working gws setup and want an agent to post plain-text status updates or announcements. It is not a good fit if you need cards or threaded replies, or if you cannot accept that the agent's confirmation step is advisory rather than enforced. Anyone without a Google Workspace account or gws configured should set that up first.

Download the skill