gws-classroom
Skill này làm gì
Công cụ này giúp bạn quản lý lớp học, danh sách học sinh và bài tập trong Google Classroom. Bạn có thể tạo, xem, cập nhật hoặc xóa lớp học và lời mời.
Khi nào nên dùng
- ✓Khi bạn tạo một lớp học mới cho khóa học.
- ✓Khi bạn muốn kiểm tra danh sách học sinh của một lớp cụ thể.
- ✓Khi bạn muốn chấp nhận lời mời tham gia lớp học.
Liên kết skill
https://github.com/googleworkspace/cli/blob/main/skills/gws-classroom/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo khóa học có tên “Introduction to Programming” với giáo viên “john.doe@school.com”.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với Google Classroom để thực hiện các hành động. Bạn chỉ định lớp học hoặc lời mời cần quản lý và hành động muốn thực hiện, như tạo, xem hoặc xóa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
classroom (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws classroom <resource> <method> [flags]
API Resources
courses
create— Creates a course. The user specified inownerIdis 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_DENIEDif the requesting user is not permitted to create courses or for access errors. *NOT_FOUNDif the primary teacher is not a valid user.delete— Deletes a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to delete the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID.get— Returns a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user is not permitted to access the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID.getGradingPeriodSettings— Returns the grading period settings in a course. This method returns the following error codes: *PERMISSION_DENIEDif the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. *NOT_FOUNDif 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_DENIEDfor access errors. *INVALID_ARGUMENTif the query argument is malformed. *NOT_FOUNDif 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_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *INVALID_ARGUMENTif 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_DENIEDif the requesting user is not permitted to modify the requested course or for access errors. *NOT_FOUNDif no course exists with the requested ID. *FAILED_PRECONDITIONfor the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrlupdateGradingPeriodSettings— 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' resourceannouncements— Operations on the 'announcements' resourcecourseWork— Operations on the 'courseWork' resourcecourseWorkMaterials— Operations on the 'courseWorkMaterials' resourceposts— Operations on the 'posts' resourcestudentGroups— Operations on the 'studentGroups' resourcestudents— Operations on the 'students' resourceteachers— Operations on the 'teachers' resourcetopics— 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_DENIEDif the requesting user is not permitted to accept the requested invitation or for access errors.
…
Câu hỏi thường gặp
Làm sao để tạo lớp học?
Bạn có thể dùng lệnh 'create' trong phần 'courses', nhập tên lớp học và giáo viên.
Làm sao để xem tất cả lớp học của tôi?
Dùng lệnh 'list' trong phần 'courses' để xem danh sách các lớp bạn có quyền truy cập.
Tôi có thể chấp nhận lời mời tham gia lớp học không?
Có, dùng lệnh 'accept' trong phần 'invitations' để chấp nhận lời mời bạn đã nhận.
Chi tiết
Mô tả gốc của tác giả
Google Classroom: Manage classes, rosters, and coursework.
repo: googleworkspace/cli
Độ phổ biến
- Sao GitHub
- 32k
- Vị trí xếp hạng
- #9158
- Giấy phép
- Apache-2.0
- Cập nhật
- 6/10/2026
Bình luận
- …
Thêm skill từ kho mã này
gws-admin-reports
32kGiúp agent của bạn lấy báo cáo hoạt động từ Google Workspace. Thu thập dữ liệu kiểm toán và sử dụng.
gws-calendar-agenda
32kGiúp agent của bạn xem các sự kiện sắp tới trên tất cả lịch. Hữu ích để sắp xếp lịch trình và biết những gì sắp diễn ra.
gws-calendar-insert
32kCho phép agent của bạn tạo sự kiện mới trong Google Calendar. Hữu ích để lên lịch hẹn và cuộc họp.
gws-calendar
32kCho phép agent của bạn quản lý lịch và sự kiện. Hữu ích để sắp xếp công việc và đời sống cá nhân.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.