Agent Skills
› googleworkspace/cli
› recipe-create-classroom-course
recipe-create-classroom-course
GitHub通过gws工具创建Google Classroom课程并邀请学生加入,支持列出已注册学生。
触发场景
需要创建新的Google Classroom课程
需要将学生邀请到特定课程中
安装
npx skills add googleworkspace/cli --skill recipe-create-classroom-course -g -y
SKILL.md
Frontmatter
{
"name": "recipe-create-classroom-course",
"metadata": {
"version": "0.22.5",
"openclaw": {
"domain": "education",
"category": "recipe",
"requires": {
"bins": [
"gws"
],
"skills": [
"gws-classroom"
]
}
}
},
"description": "Create a Google Classroom course and invite students."
}
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
版本历史
- a3768d0 当前 2026-08-20 07:26


