How-to · Productivity · By Google Workspace

How to use Google Classroom Manager in your AI agent

Install and use the Google Classroom Manager skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill lets you create and manage Google Classroom courses, add or remove students and teachers, post announcements, assign coursework, and handle invitations. Perfect for educators, school admins, or anyone running online learning programs who wants to automate classroom setup and updates. The AI agent handles the API calls while you just describe what you need.

Step 1 — Get the skill source URL

The Google Classroom Manager skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom to my project.

Cursor

Install this agent skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom

Codex

Add this skill to .codex/skills/: https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom

Gemini CLI

Add the skill at https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom

Windsurf

Add this skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-classroom

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Setting up multiple classes at the start of a term
  • Bulk-add students or teachers to courses
  • Post the same announcement across several classes
  • Managing classroom invitations and need to track who's joined

What this skill does

  • Creates, updates, and deletes Google Classroom courses
  • Manages student and teacher rosters for classes
  • Posts announcements and assigns coursework to students
  • Sends and manages invitations for new class members
  • Retrieves class lists and grading period settings
Made byGoogle Workspace
CategoryProductivity