gws-classroom
What it does
This tool helps you manage classes, student lists, and assignments in Google Classroom. You can create, view, update, or delete classes and invitations.
When to use it
- βCreating a new class for a course.
- βChecking the student roster for a specific class.
- βAccepting an invitation to join a class.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/gws-classroom/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a course named "Introduction to Programming" with the teacher "john.doe@school.com".β
5 new skills a week. 1 minute to read.
How it works
The tool connects to Google Classroom to perform actions. You specify which class or invitation you want to manage and the action you want to take, such as create, view, or delete.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
β¦
FAQ
How do I create a class?
You can use the 'create' command in the 'courses' section, specifying the class name and the teacher.
How do I see all my classes?
Use the 'list' command in the 'courses' section to see a list of classes you have access to.
Can I accept an invitation to a class?
Yes, use the 'accept' command in the 'invitations' section to accept an invitation you received.
Details
Original description by the author
Google Classroom: Manage classes, rosters, and coursework.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #9158
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- β¦
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.