recipe-create-classroom-course

Creates a Google Classroom course and invites students via the gws CLI.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill recipe-create-classroom-course-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recipe-create-classroom-course
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/recipe-create-classroom-course
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill recipe-create-classroom-course-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a new Google Classroom course and enrolling students normally requires manual clicks through the Classroom web UI. This recipe automates course creation, student invitation, and enrollment verification through the gws command-line tool. ## Core Features & Use Cases - Course Creation: Create a Google Classroom course with name, section, and room details in a single command. - Student Invitations: Send enrollment invitations to students by email address with the STUDENT role. - Enrollment Verification: List enrolled students for a course in a formatted table to confirm setup. - Use Case: A teacher starting a new semester can create "Introduction to CS" for Period 1, invite the class roster, and verify enrollment without opening the Classroom web interface. ## Quick Start Ask the assistant to create a Google Classroom course named Introduction to CS for Period 1 in Room 101 and invite a student by email address.

Frequently Asked Questions about recipe-create-classroom-course

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Google Classroom course from the command line?

Run gws classroom courses create with a JSON payload containing the course name, section, room, and ownerId set to me. The command returns the new course, including its course ID for follow-up operations.

How do I invite students to a Google Classroom course?

Use gws classroom invitations create with a JSON body containing the courseId, the student's email address as userId, and the role set to STUDENT. The student receives an invitation to join the course.

How can I list students enrolled in a Google Classroom course?

Run gws classroom courses students list with the courseId parameter and the table format flag. This outputs the enrolled students for the specified course in a readable table.

What do I need installed before using this recipe?

You need the gws command-line binary installed and authenticated, plus the gws-classroom skill loaded as a prerequisite. Without these, the course creation and invitation commands cannot execute.

Can I invite teachers instead of students to a course?

The recipe demonstrates inviting users with the STUDENT role. The underlying invitations endpoint accepts a role field, so inviting co-teachers would follow the same pattern with a different role value.