Methodologygeneric

recipe-create-classroom-course

Create a Google Classroom course and invite students.

googleworkspace/cli
View source

Install

npx skills add https://github.com/googleworkspace/cli --skill recipe-create-classroom-course

Use with your agent

ClaudeCursorOpenAIGemini

Install the recipe-create-classroom-course skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-create-classroom-course. Then read the installed skill.md and follow its guidance to build or refactor my project.

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": "[email protected]", "role": "STUDENT"}'
  3. List enrolled students: gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table