skills/gws-classroom/SKILL.md
Google Classroom: Manage classes, rosters, and coursework.
npx skillsauth add 73ai/openbotkit gws-classroomInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws classroom <resource> <method> [flags]
create — Creates a course. The user specified in ownerId is 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_DENIED if the requesting user is not permitted to create courses or for access errors. * NOT_FOUND if the primary teacher is not a valid user.delete — Deletes a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to delete the requested course or for access errors. * NOT_FOUND if no course exists with the requested ID.
Required: id (string)
Example: gws classroom courses delete --params '{"id":"..."}'get — Returns a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to access the requested course or for access errors. * NOT_FOUND if no course exists with the requested ID.
Required: id (string)
Example: gws classroom courses get --params '{"id":"..."}'getGradingPeriodSettings — Returns the grading period settings in a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. * NOT_FOUND if the requested course does not exist.
Required: courseId (string)
Example: gws classroom courses getGradingPeriodSettings --params '{"courseId":"..."}'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_DENIED for access errors. * INVALID_ARGUMENT if the query argument is malformed. * NOT_FOUND if any users specified in the query arguments do not exist.
Key params: courseStates (string), pageSize (int32), pageToken (string), studentId (string), teacherId (string)
Example: gws classroom courses list --params '{"courseStates":"...","pageSize":"..."}'patch — Updates one or more fields in a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to modify the requested course or for access errors. * NOT_FOUND if no course exists with the requested ID. * INVALID_ARGUMENT if invalid fields are specified in the update mask or if no update mask is supplied.
Required: id (string)
Key params: updateMask (google-fieldmask)
Example: gws classroom courses patch --params '{"id":"..."}'update — Updates a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to modify the requested course or for access errors. * NOT_FOUND if no course exists with the requested ID. * FAILED_PRECONDITION for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl
Required: id (string)
Example: gws classroom courses update --params '{"id":"..."}'updateGradingPeriodSettings — 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.
Required: courseId (string)
Key params: updateMask (google-fieldmask)
Example: gws classroom courses updateGradingPeriodSettings --params '{"courseId":"..."}'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' resourceaccept — 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_DENIED if the requesting user is not permitted to accept the requested invitation or for access errors.
Required: id (string)
Example: gws classroom invitations accept --params '{"id":"..."}'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_DENIED if the requesting user is not permitted to create invitations for this course or for access errors. * NOT_FOUND if 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_DENIED if the requesting user is not permitted to delete the requested invitation or for access errors. * NOT_FOUND if no invitation exists with the requested ID.
Required: id (string)
Example: gws classroom invitations delete --params '{"id":"..."}'get — Returns an invitation. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to view the requested invitation or for access errors. * NOT_FOUND if no invitation exists with the requested ID.
Required: id (string)
Example: gws classroom invitations get --params '{"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 of user_id or course_id must be supplied. Both fields can be supplied. This method returns the following error codes: * PERMISSION_DENIED for access errors.
Key params: courseId (string), pageSize (int32), pageToken (string), userId (string)
Example: gws classroom invitations list --params '{"courseId":"...","pageSize":"..."}'create — Creates a Registration, causing Classroom to start sending notifications from the provided feed to the destination provided in cloudPubSubTopic. Returns the created Registration. Currently, this will be the same as the argument, but with server-assigned fields such as expiry_time and id filled in. Note that any value specified for the expiry_time or id fields will be ignored.delete — Deletes a Registration, causing Classroom to stop sending notifications for that Registration.
Required: registrationId (string)
Example: gws classroom registrations delete --params '{"registrationId":"..."}'get — Returns a user profile. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.
Required: userId (string)
Example: gws classroom userProfiles get --params '{"userId":"..."}'guardianInvitations — Operations on the 'guardianInvitations' resourceguardians — Operations on the 'guardians' resourceBefore 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.
tools
Read X/Twitter timeline, search posts, view threads, replies, and notifications
tools
Post, reply, like, or repost on X/Twitter
data-ai
Create, update, and manage custom skills; install skills from external repos; extend agent capabilities
data-ai
View and modify obk configuration settings (timezone, workspace, models, providers, storage)