Google Classroom

Manage Google Classroom courses, coursework, students, teachers, submissions, and announcements via the Google Classroom API. Use this skill when users want...

Jay

@hith3sh

What This Skill Does

Manage Google Classroom courses, coursework, students, teachers, submissions, and announcements via the Google Classroom API. Uses OAuth authentication through ClawLink for secure, token-based access.

Replaces manual grade entry and course management in the Google Classroom web interface by exposing all major Classroom operations through a single API-driven skill.

When to Use It

  • List all active Google Classroom courses for a teacher or student
  • Retrieve coursework and submission details for a specific assignment
  • Create a new assignment or announcement after user confirmation
  • View the roster of students enrolled in a course
  • Check submission status and grades for a course
  • Post an announcement to a course stream

Install

$ openclaw skills install @hith3sh/google-classroom-education

Google Classroom

Google Classroom

Access Google Classroom via the Google Classroom API with OAuth authentication. Manage courses, coursework, students, teachers, submissions, and announcements.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Classroom API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Google Classroom
InstallPairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Google Classroom

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│ Google Classroom │
│   (User Chat)   │     │   (OAuth)    │     │   API (REST)     │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect Google Classroom                   │
         │                       │  4. Secure Token      │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │Classroom │
   │  File    │           │ Auth     │           │ Courses  │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Classroom again."

Quick Start

# List courses
clawlink_call_tool --tool "google_classroom_list_courses" --params '{}'

# Get course details
clawlink_call_tool --tool "google_classroom_get_course" --params '{"id": "course-id"}'

# List students in a course
clawlink_call_tool --tool "google_classroom_list_students" --params '{"course_id": "course-id"}'

# List coursework
clawlink_call_tool --tool "google_classroom_list_course_work" --params '{"course_id": "course-id"}'

Authentication

All Google Classroom tool calls are authenticated automatically by ClawLink using the user's connected Google account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Google Classroom API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=google-classroom and connect Google Classroom.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for google-classroom in the list.

Verify Connection

clawlink_list_tools --integration google-classroom

Response: Returns the live tool catalog for Google Classroom.

Reconnect

If Google Classroom tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=google-classroom
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration google-classroom

Security & Permissions

  • Access is scoped to Google Classroom courses the connected account can manage.
  • Teachers can manage their own courses; students have read-only access to their enrolled courses.
  • All write operations require explicit user confirmation. Before executing any coursework creation, announcement posting, or grade changes, confirm the intended effect with the user.
  • Destructive actions (deleting coursework, removing students) are marked as high-impact and must be confirmed.

Tool Reference

Courses

ToolDescriptionMode
google_classroom_list_coursesList courses the user is enrolled in or teachesRead
google_classroom_get_courseGet course detailsRead
google_classroom_create_courseCreate a new courseWrite
google_classroom_update_courseUpdate course name, description, or sectionWrite
google_classroom_delete_courseDelete a courseWrite

Coursework

ToolDescriptionMode
google_classroom_list_course_workList all coursework in a courseRead
google_classroom_get_course_workGet specific coursework detailsRead
google_classroom_create_course_workCreate new assignment or questionWrite
google_classroom_update_course_workUpdate an existing assignmentWrite
google_classroom_delete_course_workDelete courseworkWrite

Students & Teachers

ToolDescriptionMode
google_classroom_list_studentsList students enrolled in a courseRead
google_classroom_list_teachersList teachers of a courseRead
google_classroom_add_studentAdd a student to a courseWrite
google_classroom_add_teacherAdd a teacher to a courseWrite
google_classroom_remove_studentRemove a student from a courseWrite
google_classroom_remove_teacherRemove a teacher from a courseWrite

Submissions

ToolDescriptionMode
google_classroom_list_submissionsList student submissions for courseworkRead
google_classroom_get_submissionGet submission details and gradeRead
google_classroom_patch_submissionUpdate submission grade or statusWrite

Announcements

ToolDescriptionMode
google_classroom_list_announcementsList announcements in a courseRead
google_classroom_create_announcementPost an announcement to a courseWrite
google_classroom_delete_announcementDelete an announcementWrite

Code Examples

List all courses

clawlink_call_tool --tool "google_classroom_list_courses" \
  --params '{}'

List students in a course

clawlink_call_tool --tool "google_classroom_list_students" \
  --params '{
    "course_id": "course-id"
  }'

Create a new assignment

clawlink_call_tool --tool "google_classroom_create_course_work" \
  --params '{
    "course_id": "course-id",
    "title": "Week 5 Homework",
    "description": "Complete exercises 1-10 from Chapter 5",
    "due_date": {
      "year": 2025,
      "month": 2,
      "day": 15
    },
    "work_type": "ASSIGNMENT",
    "state": "PUBLISHED"
  }'

Post an announcement

clawlink_call_tool --tool "google_classroom_create_announcement" \
  --params '{
    "course_id": "course-id",
    "text": "Reminder: The midterm exam is scheduled for next Tuesday. Please review Chapters 1-8.",
    "state": "PUBLISHED"
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Google Classroom is connected.
  2. Call clawlink_list_tools --integration google-classroom to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration google-classroom.
  5. If no Google Classroom tools appear, direct the user to https://claw-link.dev/dashboard?add=google-classroom.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → search → describe → call                      │
│                                                             │
│  Example: List courses → Get course → List students         │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Preview announcement → User confirms              │
│           → Execute post                                     │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Course IDs are unique strings (e.g., abc123xyz) assigned by Google Classroom.
  • Only teachers and administrators can create or modify coursework and announcements.
  • Students can only view their own submissions and grades.
  • Coursework due_date requires year, month, and day fields.
  • Deleting a course removes all associated coursework, submissions, and announcements.

Error Handling

Status / ErrorMeaning
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-classroom.
Missing connectionGoogle Classroom is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-classroom.
404 Not FoundCourse, student, or coursework does not exist. Verify the IDs.
403 ForbiddenThe connected account is not a teacher or admin for this course.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly google-classroom.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

Related Skills


Powered by ClawLink — an integration hub for OpenClaw

ClawLink Logo

Top skills in this category

Skill Vetter

@spclaudehome

Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

1.3k271k

Using Superpowers

@zlc000190

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

6336k

Skill Vetter - Pre-Install Security Review

@donovanpankratz-del

Security vetting protocol before installing any AI agent skill. Red flag detection for credential theft, obfuscated code, exfiltration. Risk classification L...

2726k

novel-generator 是一个中文爽文小说生成技能。用户只需提供一句话方向(如"写个都市重生爽文"),AI 代理即可自动完善提示词、规划大纲、逐章创作并输出为独立 Markdown 文件。 核心特性: 智能提示词生成:从一句话方向自动补全世界观、人设、冲突、爽点设计 分章节创作:每章 2000-3000 字,层层递进,章章有爽点 记忆系统:通过 .learnings/ 记录角色、地点、情节、世界观,确保故事前后一致 情节图解:关键战斗、人物关系、势力分布自动生成 Mermaid 图 失败记录:穿帮、矛盾、崩塌等问题自动记录,持续优化 多题材支持:都市、修仙、玄幻、重生、系统流、末世、科幻、游戏 兼容 Claude Code、Cursor、OpenAI Codex、GitHub Copilot 等所有支持 Agent Skills 的工具。

@ityhg

根据用户提供的内容方向自动生成提示词并创作爽文小说。适用场景:(1) 用户提供小说方向/题材/关键词,(2) 需要生成章节连贯的长篇爽文,(3) 需要维护角色、地点、情节的连续性,(4) 需要为关键情节生成图解,(5) 需要记录生成失败场景以优化后续创作。支持都市、修仙、玄幻、重生、系统流等多种题材。Use wh...

719.8k

Facebook

@hith3sh

Manage Facebook Pages, posts, comments, messages, and insights via the Facebook Graph API. Use this skill when users want to post content, read engagement me...

337.2k