googleworkspace avatar

Recipe Create Classroom Course

The recipe-create-classroom-course skill enables educators to programmatically create a Google Classroom course and enroll students by executing command-line operations through the Google Workspace CLI. It solves the problem of manual course setup and student invitation processes by automating the creation of courses with specified metadata and bulk student enrollment. This skill is designed for educators and IT administrators managing Google Classroom at scale who want to streamline course provisioning workflows.

skills.sh installs
30K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill recipe-create-classroom-course --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/googleworkspace/cli
Category
CLI & Terminal

More from googleworkspace/cli

All 113
1wshobson avatarbats-testing-patternswshobson/agentsMaster Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test11.4Kskills.sh installs
2openai avatarplaywrightopenai/skillsUse when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) vi9.3Kskills.sh installs
3rorkai avatarasc-xcode-buildrorkai/app-store-connect-cli-skillsBuild, archive, generate export options, export, upload, and manage Xcode version/build numbers with the current asc xcode helpers before App Store Connect uplo7.9Kskills.sh installs
4rorkai avatarasc-id-resolverrorkai/app-store-connect-cli-skillsResolve App Store Connect IDs (apps, builds, app and digital-goods versions, groups, testers) from human-friendly names using asc. Use when commands require IDs7.8Kskills.sh installs
5rorkai avatarasc-crash-triagerorkai/app-store-connect-cli-skillsTriage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester 6.6Kskills.sh installs
6manaflow-ai avatarcmux-keyboard-shortcutsmanaflow-ai/cmuxGuide and apply cmux keyboard shortcut customization. Use when the user asks to customize, rebind, unbind, reset, audit, or create shortcut templates for cmux, 6.4Kskills.sh installs