К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot официальный · Google

gws-classroom — скилл для Claude Code: Google Classroom через gws

Скилл для агента: курсы, ростера и задания Google Classroom через консоль gws. Пригодится, если вы ведёте занятия и хотите отдать агенту рутину с составом курса и объявлениями.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add googleworkspace/cli --skill gws-classroom -a claude-code
Открыть на GitHub

Что делает gws-classroom

Скилл даёт агенту карту Google Classroom API и учит вызывать её через gws. Курсы, преподаватели, ученики, задания и объявления доступны по схеме gws classroom [flags]. Перед вызовом агент смотрит справку по методу и только потом собирает параметры, поэтому выдуманных эндпоинтов не будет.

Внутри — описания методов для courses: создание, удаление, получение, список, правка и настройки периодов оценивания. К ним прилагаются подресурсы students, teachers, courseWork, topics и posts. Отдельно идут invitations с принятием приглашения за приглашённого, registrations, которые отправляют события курса в cloudPubSubTopic, и userProfiles вместе с опекунами. Перед первым вызовом нужен общий файл gws-shared с авторизацией и правилами безопасности; если его нет, агент предложит выполнить gws generate-skills.

Поставить нужно бинарь gws и доступ к Classroom. Изменение периодов оценивания упирается в лицензию, так что на аккаунте без неё часть методов откажет. Скилл стоит ставить тем, кто ведёт несколько курсов и хочет поручить агенту ростеры и рассылку приглашений. За одной оценкой проще зайти в веб-интерфейс.

Какие задачи решает

  • создать курс и указать его владельца
  • зачислить учеников и второго преподавателя в курс
  • разослать приглашения и принять их за пользователя
  • выложить задание или объявление в нужный курс
  • настроить уведомления о событиях курса в Pub/Sub

Примеры запросов агенту

  • Покажи мои курсы Classroom и отметь те, где я преподаватель.
  • Создай курс и добавь в него учеников из моего списка.
  • Опубликуй объявление в этом курсе и проверь, что оно ушло.

Как установить gws-classroom

1Через Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill gws-classroom -a claude-code

2Вручную: положить файлы

~/.claude/skills/gws-classroom/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/gws-classroom/

Из того же набора95

Весь набор →
gws-gmail официальный googleworkspace Скилл даёт агенту доступ к Gmail: отправить письмо, прочитать входящие, ответить в ветке. Пригодится, если работа с почтой идёт через CLI gws. Claude Code CX Codex Cursor +1 81 900установок gws-gmail-send официальный googleworkspace Скилл учит агента отправлять письма через Gmail одной командой: получатели, тема, текст, приложения и черновики. Claude Code CX Codex Cursor +1 74 700установок gws-drive официальный googleworkspace Скилл даёт агенту доступ к Google Drive через CLI gws: файлы, папки, общие диски, комментарии и права доступа. Пригодится, когда работа с документами идёт из кода. Claude Code CX Codex Cursor +1 74 500установок gws-shared официальный googleworkspace Скилл даёт агенту общие правила работы с gws CLI: авторизацию, флаги и форматы вывода. Нужен для команд Google Workspace. Claude Code CX Codex Cursor +1 66 000установок gws-calendar официальный googleworkspace Скилл помогает управлять событиями и календарями Google Calendar прямо через утилиту gws. Claude Code CX Codex Cursor +1 61 100установок gws-sheets официальный googleworkspace Скилл позволяет агенту читать и изменять таблицы Google Sheets через CLI. Подойдёт для работы с данными из проекта и автоматизации операций с таблицами. Claude Code CX Codex Cursor +1 58 800установок gws-docs официальный googleworkspace Скилл позволяет агенту читать и изменять Google Docs через gws. Подойдёт для создания документов и работы с их содержимым из чата. Claude Code CX Codex Cursor +1 58 300установок gws-sheets-read официальный googleworkspace Читает значения ячеек и листов из Google Таблиц через CLI. Пригодится, когда агенту нужно получить данные таблицы без риска их изменить. Claude Code CX Codex Cursor +1 50 600установок

Похожие

marketing-loops coreyhaines31 Помогает агенту настроить регулярный маркетинговый цикл: с триггером, шагами, самопроверкой и условием остановки. Пригодится, когда задача повторяется каждую неделю. Claude Code CX Codex Cursor +1 47 200установок find-skills vercel-labs Ищет и устанавливает готовые скиллы для ИИ-агентов через каталог skills.sh. Пригодится, когда для рабочей задачи нужен специализированный воркфлоу. Claude Code CX Codex Cursor +1 4 000 000установок grill-me Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну, чтобы найти пробелы и уточнить решения. Подойдёт перед началом разработки. Claude Code 1 424 476установок grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. Claude Code 1 219 756установок handoff Matt Pocock Собирает текущий диалог в документ передачи, чтобы другой агент продолжил работу с нужным контекстом. Нужен при смене сессии или исполнителя. Claude Code 1 038 491установок grilling Matt Pocock Стресс-тестирует план, решение или идею сериями уточняющих вопросов. Подходит, когда нужно вскрыть допущения до начала работы. Claude Code 979 543установок teach Matt Pocock Ведёт обучение по выбранной теме прямо в текущем каталоге и сохраняет прогресс между сессиями. Подойдёт, если хотите собрать личный курс вокруг рабочей цели. Claude Code 862 247установок

Вопросы о gws-classroom

Как установить gws-classroom в Claude Code?

Выполните npx skills add googleworkspace/cli --skill gws-classroom -a claude-code. Файл появится в ~/.claude/skills/gws-classroom/SKILL.md. Для GitHub Copilot команда другая: gh skill install googleworkspace/cli gws-classroom.

Что делает gws-classroom?

Описывает агенту методы Google Classroom API и порядок вызова через gws: курсы, приглашения, уведомления и профили. Агент сначала читает схему метода, потом передаёт --params и --json.

Что нужно, чтобы скилл заработал?

Бинарь gws в системе и общий файл gws-shared/SKILL.md с настройками авторизации. Если файла нет, запустите gws generate-skills. Правка периодов оценивания требует подходящей лицензии.

Исходный текст

SKILL.md · Apache-2.0
---
name: gws-classroom
description: "Google Classroom: Manage classes, rosters, and coursework."
metadata:
  version: 0.22.5
  openclaw:
    category: "productivity"
    requires:
      bins:
        - gws
    cliHelp: "gws classroom --help"
---

# classroom (v1)

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

```bash
gws classroom <resource> <method> [flags]
```

## API Resources

### courses

  - `create` — Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user.
  - `delete` — Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.
  - `get` — Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.
  - `getGradingPeriodSettings` — Returns the grading period settings in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. * `NOT_FOUND` if the requested course does not exist.
  - `list` — Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.
  - `patch` — Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.
  - `update` — Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl
  - `updateGradingPeriodSettings` — Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements).
  - `aliases` — Operations on the 'aliases' resource
  - `announcements` — Operations on the 'announcements' resource
  - `courseWork` — Operations on the 'courseWork' resource
  - `courseWorkMaterials` — Operations on the 'courseWorkMaterials' resource
  - `posts` — Operations on the 'posts' resource
  - `studentGroups` — Operations on the 'studentGroups' resource
  - `students` — Operations on the 'students' resource
  - `teachers` — Operations on the 'teachers' resource
  - `topics` — Operations on the 'topics' resource

### invitations

  - `accept` — Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for access errors.
  - `create` — Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION`: * if the requested user's account is disabled.
  - `delete` — Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.
  - `get` — Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.
  - `list` — Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for access errors.

### registrations

  - `create` — Creates a `Registration`, causing Classroom to start sending notifications from the provided `feed` to the destination provided in `cloudPubSubTopic`. Returns the created `Registration`. Currently, this will be the same as the argument, but with server-assigned fields such as `expiry_time` and `id` filled in. Note that any value specified for the `expiry_time` or `id` fields will be ignored.
  - `delete` — Deletes a `Registration`, causing Classroom to stop sending notifications for that `Registration`.

### userProfiles

  - `get` — Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.
  - `guardianInvitations` — Operations on the 'guardianInvitations' resource
  - `guardians` — Operations on the 'guardians' resource

## Discovering Commands

Before calling any API method, inspect it:

```bash
# Browse resources and methods
gws classroom --help

# Inspect a method's required params, types, and defaults
gws schema classroom.<resource>.<method>
```

Use `gws schema` output to build your `--params` and `--json` flags.

© googleworkspace · Apache-2.0 · googleworkspace/cli

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой