
gws-classroom
Skillgws CLI 的 Google Classroom 技能:让 agent 创建和管理课程、维护师生名单并发送邀请,发布作业、课程资料和公告,方便教师批量建课布置作业;需安装 gws 并用 Google Cloud 项目配置 OAuth 登录,项目声明非 Google 官方支持。
name: gws-classroom
description: "Google Classroom: Manage classes, rosters, and coursework."
metadata:
version: 0.22.5
openclaw:
category: "productivity"
requires:
bins:
- gws
cliHelp: "gws classroom --help"
classroom (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws classroom <resource> <method> [flags]
API Resources
courses
create— Creates a course. The user specified inownerIdis the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to create courses or for access errors. *NOT_FOUNDif the primary teacher is not a valid user.delete— Deletes a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to delete the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID.get— Returns a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID.getGradingPeriodSettings— Returns the grading period settings in a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. *NOT_FOUNDif the requested course does not exist.list— Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: *PERMISSION_DENIEDfor access errors. *INVALID_ARGUMENTif the query argument is malformed. *NOT_FOUNDif any users specified in the query arguments do not exist.patch— Updates one or more fields in a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *INVALID_ARGUMENTif invalid fields are specified in the update mask or if no update mask is supplied.update— Updates a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *FAILED_PRECONDITIONfor the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrlupdateGradingPeriodSettings— Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see licensing requirements.aliases— Operations on the 'aliases' resourceannouncements— Operations on the 'announcements' resourcecourseWork— Operations on the 'courseWork' resourcecourseWorkMaterials— Operations on the 'courseWorkMaterials' resourceposts— Operations on the 'posts' resourcestudentGroups— Operations on the 'studentGroups' resourcestudents— Operations on the 'students' resourceteachers— Operations on the 'teachers' resourcetopics— Operations on the 'topics' resource
invitations
accept— Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to accept the requested invitation or for access errors.create— Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to create invitations for this course or for access errors. *NOT_FOUNDif the course or the user does not exist. *FAILED_PRECONDITION: * if the requested user's account is disabled.delete— Deletes an invitation. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to delete the requested invitation or for access errors. *NOT_FOUNDif no invitation exists with the requested ID.get— Returns an invitation. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to view the requested invitation or for access errors. *NOT_FOUNDif no invitation exists with the requested ID.list— Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. Note: At least one ofuser_idorcourse_idmust be supplied. Both fields can be supplied. This method returns the following error codes: *PERMISSION_DENIEDfor access errors.
registrations
create— Creates aRegistration, causing Classroom to start sending notifications from the providedfeedto the destination provided incloudPubSubTopic. Returns the createdRegistration. Currently, this will be the same as the argument, but with server-assigned fields such asexpiry_timeandidfilled in. Note that any value specified for theexpiry_timeoridfields will be ignored.delete— Deletes aRegistration, causing Classroom to stop sending notifications for thatRegistration.
userProfiles
get— Returns a user profile. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.guardianInvitations— Operations on the 'guardianInvitations' resourceguardians— Operations on the 'guardians' resource
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws classroom --help
# Inspect a method's required params, types, and defaults
gws schema classroom.<resource>.<method>
Use gws schema output to build your --params and --json flags.
相關資源

gws-forms
Skillgws CLI 自带技能:让 agent 新建 Google 表单、批量增改题目、设置发布并读取回复,适合报名登记、问卷调查和课堂反馈收集;需安装 gws 并用自建的 Google Cloud 项目授权 Google 账号,项目声明非 Google 官方支持产品。
googleworkspace/cli32.6k
notebooklm-py
CLI非官方 Python 库与 CLI,让 agent 操控 Google NotebookLM(现更名 Gemini Notebook):批量导入资料、基于来源带引用问答,生成播客、视频、幻灯片、测验与闪卡并批量下载,自带 agent skill。依赖未公开接口,需登录 Google 账号。
teng-lin/notebooklm-py20.4k
Google Workspace CLI Skills
Skillgws CLI 配套技能合集:每个 Workspace API 一个技能,另含 Gmail、Drive、Docs、Calendar、Sheets 的常用流程配方;需先安装 gws 并完成 Google 账号授权,项目声明非 Google 官方支持产品。
googleworkspace/cli32.6k
persona-exec-assistant
Skillgws CLI 自带的行政助理角色技能:让 agent 替领导出每日简报、会前准备和每周摘要,分拣 Gmail 收件箱,先查冲突再排日程并起草回复;需安装 gws、用自建的 Google Cloud 项目授权 Google 账号,并同时装上 Gmail、日历、云端硬盘、Chat 技能。
googleworkspace/cli32.6k
persona-hr-coordinator
Skillgws CLI 自带的 HR 协调员技能:用日历排入职培训,把入职资料传到共享云端硬盘,在 Chat 发新人公告,把邮件请求转成待办并群发通知;需安装 gws 并用 Google Cloud 项目配置 OAuth 登录,项目声明非 Google 官方支持。
googleworkspace/cli32.6k
Term Radar
Skill当用户用自己的话描述一个概念、而它恰好对应某个公认的专业术语时,agent 在回答末尾附上这个术语,并链接到它的 Google 图片搜索结果,帮用户知道这个东西该怎么称呼、长什么样。
sidkh/term-radar102