Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
googleworkspace avatar

Gws Classroom

  • 23.5k installs
  • 30k repo stars
  • Updated July 22, 2026
  • googleworkspace/cli

gws-classroom is a CLI skill that wraps Google Classroom API for course and student management.

About

CLI wrapper around Google Classroom API for managing courses, students, assignments, and coursework. Developers use this to automate educational program management at the API level. Covers all Classroom API resources including courses, invitations, announcements, grades, and student groups.

  • Full Google Classroom API wrapper for v1 API
  • Manages courses, rosters, assignments, and announcements
  • Supports resource operations like create, update, delete, list, get

Gws Classroom by the numbers

  • 23,522 all-time installs (skills.sh)
  • +805 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #75 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

gws-classroom capabilities & compatibility

Works with
google drive
Use cases
api development
From the docs

What gws-classroom says it does

Manage classes, rosters, and coursework
SKILL.md
gws classroom <resource> <method> [flags]
SKILL.md
npx skills add https://github.com/googleworkspace/cli --skill gws-classroom

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs23.5k
repo stars30k
Security audit3 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorygoogleworkspace/cli

How do you manage Google Classroom from CLI?

Programmatically manage Google Classroom courses, assignments, and student enrollments.

Who is it for?

Building educational automation systems with programmatic course and roster management

Skip if: Teams without Google Classroom access or projects that only need generic Google Drive or Calendar APIs instead of Classroom course management.

When should I use this skill?

Need to create, manage, or query Classroom courses and student enrollments

What you get

Created or updated Classroom courses, roster memberships, and coursework assignments via gws API calls.

  • Course management operations
  • Student roster manipulation
  • Assignment and gradebook access

By the numbers

  • Metadata version 0.22.5
  • Wraps Google Classroom API v1
  • Documents courses resource with create, list, and update methods

Files

SKILL.mdMarkdownGitHub ↗

classroom (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
gws classroom <resource> <method> [flags]

API Resources

courses

  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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
  • 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.
  • aliases — Operations on the 'aliases' resource
  • announcements — Operations on the 'announcements' resource
  • courseWork — Operations on the 'courseWork' resource
  • courseWorkMaterials — Operations on the 'courseWorkMaterials' resource
  • posts — Operations on the 'posts' resource
  • studentGroups — Operations on the 'studentGroups' resource
  • students — Operations on the 'students' resource
  • teachers — Operations on the 'teachers' resource
  • topics — 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_DENIED if 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_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.
  • 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.
  • 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.

registrations

  • 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.

userProfiles

  • 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.
  • guardianInvitations — Operations on the 'guardianInvitations' resource
  • guardians — 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.

Related skills

Forks & variants (1)

Gws Classroom has 1 known copy in the catalog totaling 6 installs. They canonicalize to this original listing.

How it compares

Choose gws-classroom over generic gws-drive or gws-sheets skills when automation targets Classroom courses, rosters, and coursework rather than file storage or spreadsheets.

FAQ

What API does gws-classroom wrap?

gws-classroom wraps Google Classroom API v1 through gws classroom resource method commands. The readme documents a courses resource with create, list, and update operations for classes, rosters, and coursework.

What setup does gws-classroom require?

gws-classroom requires the gws binary and the gws-shared/SKILL.md file for authentication, global flags, and security rules. Run gws generate-skills if gws-shared is missing, and use gws classroom --help for CLI reference.

Is Gws Classroom safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.