跳到正文
cccskills
免费在 GitHub 公开

gws-chat

Manage Google Chat spaces, the places where conversations happen, and their messages through the gws command-line tool. Create or update spaces, add members, send messages, and upload or download attachments.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Google Chat: Manage Chat spaces and messages.

查看安装方法

适用场景

  • Create a Google Chat space with initial members
  • List spaces and update their details
  • Send messages to a space
  • Upload or download attachments

包含的文件(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

CommandDescription
+sendSend 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.
  • setup — Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see Set up a space with initial members. To specify the human members to add, add memberships with the appropriate membership.member.name. To add a human user, use users/{user}, where {user} can be the email address for the user.
  • members — Operations on the 'members' resource
  • messages — Operations on the 'messages' resource
  • spaceEvents — Operations on the 'spaceEvents' resource

users

  • sections — Operations on the 'sections' resource
  • spaces — Operations on the 'spaces' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws chat --help

# Inspect a method's required params, types, and defaults
gws schema chat.<resource>.<method>

Use gws schema output to build your --params and --json flags.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Retrieve Google Workspace audit logs, which record account activity, and usage reports through gws. Review activity in applications such as the Admin console and Google Drive, or inspect statistics for the organization, users, and entities.

中文简介正在准备中。当前显示英语简介。

  • Reviewing Admin console and Google Drive activity
  • Checking organization usage statistics
  • Retrieving usage reports for users
googleworkspace/cli3.2万2026年10月7日 更新

Manage Google Calendar events and calendars, including creating, updating, and deleting events. View upcoming events across calendars, check availability, and manage the permissions that control who can access a calendar.

中文简介正在准备中。当前显示英语简介。

  • Creating, updating, or deleting calendar events
  • Viewing upcoming events across multiple calendars
  • Checking availability across calendars
googleworkspace/cli3.2万2026年10月7日 更新

View upcoming Google Calendar events across all calendars in one agenda. Check today, tomorrow, this week, or a chosen number of days, with options to filter calendars and change the display time zone.

中文简介正在准备中。当前显示英语简介。

  • Checking today's events across multiple calendars
  • Reviewing tomorrow's or this week's schedule
  • Listing the next three days on a work calendar
googleworkspace/cli3.2万2026年10月7日 更新

Create a Google Calendar event with a title and start and end times. You can also choose a calendar, add a location and description, invite attendees, and include a Google Meet link.

中文简介正在准备中。当前显示英语简介。

  • Adding a meeting with a specified start and end time
  • Creating an event with attendees
  • Scheduling an online meeting with a Google Meet link
googleworkspace/cli3.2万2026年10月7日 更新

Send plain text messages to a specified Google Chat space using the gws command line tool. Use it for team updates and announcements, with guidance on finding space identifiers and confirming messages before sending.

中文简介正在准备中。当前显示英语简介。

  • Sending a team announcement
  • Sharing a progress update in a space
  • Finding the destination space before sending
googleworkspace/cli3.2万2026年10月7日 更新

Manage Google Classroom courses, class lists, coursework, and invitations through an agent. Use it to create or update classes, check course details, and handle teacher or student invitations with the gws command-line tool.

中文简介正在准备中。当前显示英语简介。

  • Create a class and update its details
  • Manage student and teacher lists
  • Manage coursework and learning materials
googleworkspace/cli3.2万2026年10月7日 更新

查看 googleworkspace 的全部技能

报告此技能的问题