googleworkspace avatar

Recipe Create Classroom Course

googleworkspace/cli
20.2k

This skill enables users to create and manage Google Classroom courses programmatically. It allows for creating courses, inviting students, and listing enrolled students through a set of command-line steps. It's ideal for educators, administrators, or developers automating classroom management and integrating Google Classroom with other tools.

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

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

GitHub Owner

Owner: googleworkspace

SKILL.md


name: recipe-create-classroom-course version: 1.0.0 description: "Create a Google Classroom course and invite students." metadata: 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

More skills