跳到正文
Skillpedia
邮件与消息32k · #9157

gws-chat

它能做什么

这个智能体可以帮你管理 Google Chat 中的会话和空间。你可以创建空间、发送消息、上传或下载文件,还能管理自定义表情等。

适用场景

  • ✓向群组发送消息。
  • ✓创建一个新的聊天空间。
  • ✓从某个会话中下载文件。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/gws-chat/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-chat/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请向“Project X”空间发送消息:“明天上午10点开会。””

每周 5 个新技能,1 分钟读完。

工作原理

它直接连接你的 Google Chat 账户。当你提出请求时,它会把你的请求转换成 Google Chat 能理解的指令,从而完成操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

chat (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws chat <resource> <method> [flags]

Helper Commands

Command Description
+send Send a message to a space

API Resources

customEmojis

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.

spaces

  • completeImport — Completes the import process 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.
  • 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.
  • findDirectMessage — Returns the existing direct message with the specified user. If no direct message space is found, returns a 404 NOT_FOUND error. For an example, see Find a direct message. With app authentication, returns the direct message space between the specified user and the calling Chat app.
  • get — Returns details about a space. For an example, see Get details about a space.
  • list — Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see List spaces.
  • patch — Updates a space. For an example, see Update a space. If you're updating the displayName field and receive the error message ALREADY_EXISTS, try a different display name.. An existing space within the Google Workspace organization might already use this display name.
  • search — Returns a list of spaces in a Google Workspace organization based on an administrator's search. In the request, set use_admin_access to true. For an example, see Search for and manage spaces.

…

常见问题

使用这个功能需要 Google Workspace 账户吗?

部分功能(比如自定义表情)需要 Google Workspace 账户,并且需要管理员启用该功能。

我如何查看所有可用的命令?

你可以输入 `gws chat --help`,查看智能体可以执行的所有功能和命令。

我怎么知道执行某个命令需要提供哪些信息?

使用命令 `gws schema chat.<resource>.<method>`,就能查看每个操作所需的详细参数。

详情

作者的原始描述

Google Chat: Manage Chat spaces and messages.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9157
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能