一键导入
gws-classroom
Google Classroom: track due work, draft + submit homework with approval, and exam prep — via the gws CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Google Classroom: track due work, draft + submit homework with approval, and exam prep — via the gws CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
gws CLI: Shared patterns for authentication, global flags, and output formatting.
Summarize activity in a Slack channel over a timeframe (or the last ~100 messages). Use when the user says 'catch me up on #channel', 'what did I miss in X', or 'summarize this channel'.
Build a cross-channel daily digest of what matters across the user's Slack. Use for 'give me my Slack digest', 'what happened across my channels today', or a standing daily/standup recap.
Triage what needs the user's attention in Slack — unread mentions, DMs, and active threads they're in — ranked by urgency with a suggested action each. Use for 'what needs my attention on Slack', 'triage my Slack', or 'what should I respond to'.
Compose and send a Slack message to a channel, thread, or DM (or draft one for approval). Use when the user asks to post/send/DM something on Slack, or to reply in a specific thread.
Find Slack messages that need a response from the user and draft replies for them. Use for 'draft replies to my Slack', 'what am I behind on and write responses', or drafting a reply to a specific thread/DM.
| name | gws-classroom |
| version | 1.0.0 |
| description | Google Classroom: track due work, draft + submit homework with approval, and exam prep — via the gws CLI. |
| metadata | {"openclaw":{"category":"education","requires":{"bins":["gws"]},"cliHelp":"gws classroom --help"}} |
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Power-user student assistant for Google Classroom. Drive it through the gws CLI:
gws classroom <resource> <method> --params '<json>' [--json '<body>']
Read freely; never turn in work without the student's explicit OK in chat.
# 1. Active courses
gws classroom courses list --params '{"studentId":"me","courseStates":["ACTIVE"]}'
# 2. Per course: assignments by due date, and my submissions (courseWorkId "-" = all)
gws classroom courses courseWork list --params '{"courseId":"<id>","orderBy":"dueDate asc","courseWorkStates":["PUBLISHED"]}'
gws classroom courses courseWork studentSubmissions list --params '{"courseId":"<id>","courseWorkId":"-","userId":"me"}'
Coursework is outstanding when its submission state is not TURNED_IN or RETURNED.
Report course, title, due date, and whether it's late.
Read the assignment and its materials:
gws classroom courses courseWork get --params '{"courseId":"<id>","id":"<cwId>"}'
Draft the student's work and show it to them. Wait for explicit approval.
On approval, attach + turn in (the id is the studentSubmission id):
# Option A — attach a Google Doc you create from the drafted text:
gws docs documents create --json '{"title":"<title>"}'
gws docs documents batchUpdate --params '{"documentId":"<docId>"}' \
--json '{"requests":[{"insertText":{"endOfSegmentLocation":{},"text":"<body>"}}]}'
gws classroom courses courseWork studentSubmissions modifyAttachments \
--params '{"courseId":"<id>","courseWorkId":"<cwId>","id":"<subId>"}' \
--json '{"addAttachments":[{"driveFile":{"id":"<docId>"}}]}'
# Option B — attach an existing link instead of a doc:
# ...modifyAttachments ... --json '{"addAttachments":[{"link":{"url":"<url>"}}]}'
# Then turn it in:
gws classroom courses courseWork studentSubmissions turnIn \
--params '{"courseId":"<id>","courseWorkId":"<cwId>","id":"<subId>"}' --json '{}'
To undo: ... studentSubmissions reclaim --params '{...}' --json '{}'.
gws classroom courses courseWorkMaterials list --params '{"courseId":"<id>"}'
Combine posted materials with past grades (assignedGrade from studentSubmissions list)
to find weak topics, then build a targeted study plan citing the actual materials. Save the
student's recurring weak areas to long-term memory (the vault) so prep sharpens over time.
gws classroom --help
gws schema classroom.<resource>.<method>