JavaScript is disabled. Some features may not work.
gws-chat — ★ 27.3K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

gws-chat

★ 27K repogenerationN/AIntermediateClaude
🤖 AI Summary

The `gws-chat` skill provides a CLI tool (`gws chat `) for interacting with Google Chat API resources (e.g., managing custom emojis via `create`/`delete`), with a `+send` subcommand for sending messages to spaces. It requires authentication and global flags from `../gws-shared/SKILL.md`.

How to Install

Claude Code:
git clone --depth 1 https://github.com/googleworkspace/cli.git && cp cli/skills/gws-chat ~/.claude/skills/gws-chat -r
# chat (v1) > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. ```bash gws chat [flags] ``` ## Helper Commands | Command | Description | |---------|-------------| | [`+send`](../gws-chat-send/SKILL.md) | Send a message to a space | ## API Resources ### customEmojis - `create` — Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). - `delete` — Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. - `get` — Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). - `list` — Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). ### media - `download` — Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`. - `upload` — Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). ### spaces - `completeImport` — Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. - `create` — Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). - `delete` — Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). - `findDir

Details

Category Coding → generation
Sourcegoogleworkspace/cli
SKILL.mdView on GitHub →
Repo Stars★ 27.3K
Est. per Skill546 (shared across 50 skills from this repo)
DifficultyIntermediate
Risk LevelN/A

Related Skills

Works Well With

Skills from the same repository — often designed to work together