PluginBench
Skill
Pass
Audit score 90

recipe-create-classroom-course

googleworkspace/cli

Create Google Classroom courses and invite students via command line.

What is recipe-create-classroom-course?

A recipe that automates Google Classroom course creation and student enrollment using the gws CLI. Use this when you need to programmatically set up courses and manage student invitations.

  • Create a new Google Classroom course with name, section, room, and owner details
  • Invite students to a course by email address and assign roles
  • List enrolled students in a course in table format

How to install recipe-create-classroom-course

npx skills add null --skill recipe-create-classroom-course
Prerequisites
  • gws CLI installed
  • gws-classroom skill loaded
Claude Code
Cursor
Windsurf
Cline

How to use recipe-create-classroom-course

  1. 1.Create a course using gws classroom courses create with course details (name, section, room, owner)
  2. 2.Retrieve the COURSE_ID from the created course
  3. 3.Invite students using gws classroom invitations create with the course ID and student email
  4. 4.Verify enrollment by listing students with gws classroom courses students list

Use cases

Good for
  • Bulk create multiple classroom courses for a school term
  • Automate student enrollment workflows from a roster
  • Set up course structure and invite cohorts of students programmatically
Who it's for
  • School administrators
  • Educators managing multiple courses
  • IT staff automating classroom setup

recipe-create-classroom-course FAQ

What information do I need to create a course?

You need a course name, section, room identifier, and owner ID (typically 'me' for the authenticated user).

How do I invite multiple students?

Run the invitation command once per student, or script it to loop through a list of student emails.

What role options are available when inviting?

The recipe shows STUDENT role; check gws classroom documentation for other available roles like TEACHER.

Can I update course details after creation?

The recipe focuses on creation and invitations; use gws classroom courses update for modifications.

Full instructions (SKILL.md)

Source of truth, from googleworkspace/cli.


name: recipe-create-classroom-course description: "Create a Google Classroom course and invite students." metadata: version: 0.22.5 openclaw: category: "recipe" domain: "education" requires: bins: - gws skills: - gws-classroom

Create a Google Classroom Course

PREREQUISITE: Load the following skills to execute this recipe: gws-classroom

Create a Google Classroom course and invite students.

Steps

  1. Create the course: gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}'
  2. Invite a student: gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}'
  3. List enrolled students: gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table