ASD

Gws Classroom

Google Classroom: gestiona clases, listas de alumnos y tareas del curso.

Oficial
Estrellas
30.4k

en todo el repo

Actividad
38

0–100, la ruta de este skill

Actualizado
hace 4 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.7k tok

15 tok en reposo

Paquete
1 archivo

7 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

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

Se instala solo en este repositorio.

Qué hace

  • Gestiona cursos de Google Classroom: crear, actualizar, listar, eliminar y consultar configuración de periodos de calificación
  • Administra invitaciones a cursos (crear, aceptar, listar, eliminar) para profesores y estudiantes
  • Maneja perfiles de usuario, tutores (guardians) y sus invitaciones
  • Gestiona anuncios, tareas (courseWork), materiales, publicaciones, temas y grupos de estudiantes dentro de un curso
  • Crea y elimina registros (registrations) para notificaciones vía Cloud Pub/Sub

Úsalo cuando

  • Necesitas crear, listar, actualizar o eliminar cursos de Google Classroom desde la CLI
  • Necesitas gestionar invitaciones, profesores, estudiantes o tutores de un curso
  • Necesitas inspeccionar recursos y métodos disponibles con `gws classroom --help` o `gws schema`

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Crea un nuevo curso en Google Classroom con este profesor como owner
    • Lista todos los cursos que puedo ver en Classroom
    • Envía una invitación a un estudiante para este curso
    • Actualiza la configuración de periodos de calificación del curso

    SKILL.md

    En inglés

    classroom (v1)

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

    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.
    • 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:

    # 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.

    Reproducido de googleworkspace/cli bajo licencia Apache-2.0. Leer esta página en markdown.

    Archivos

    1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Requiere el binario `gws` y haber leído ../gws-shared/SKILL.md para autenticación, flags globales y reglas de seguridad.

    Detalles

    Categoría
    Productividad
    Licencia
    Apache-2.0
    Recursos incluidos
    Solo SKILL.md
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de googleworkspace/cli

    Este repo incluye 95 skills. Si instalas uno, normalmente ya tienes los demás.

    Leer y escribir Google Forms.

    Costo de contexto al activarse
    394 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Google People: gestiona contactos y perfiles.

    Costo de contexto al activarse
    1.6k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Google Calendar: gestiona calendarios y eventos.

    Costo de contexto al activarse
    1.1k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: lee un mensaje y extrae su cuerpo o sus headers.

    Costo de contexto al activarse
    350 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: enviar, leer y gestionar correo electrónico.

    Costo de contexto al activarse
    505 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: muestra un resumen de la bandeja de entrada no leída (remitente, asunto y fecha).

    Costo de contexto al activarse
    305 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Skills relacionados

    Leer y escribir Google Forms.

    Costo de contexto al activarse
    394 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Google People: gestiona contactos y perfiles.

    Costo de contexto al activarse
    1.6k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Descompón tareas complejas, diseña grafos de dependencias y coordina trabajo multi-agente con descripciones de tareas y balanceo de carga adecuados.

    Costo de contexto al activarse
    1.2k tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 6 meses
    productividad