Cli recipe-create-classroom-course
Create a Google Classroom course and invite students.
install
source · Clone the upstream repo
git clone https://github.com/googleworkspace/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/googleworkspace/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/recipe-create-classroom-course" ~/.claude/skills/googleworkspace-cli-recipe-create-classroom-course && rm -rf "$T"
manifest:
skills/recipe-create-classroom-course/SKILL.mdsource content
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
- Create the course:
gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' - Invite a student:
gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' - List enrolled students:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table