agentleFS
iblaiiblai/k-12-agents/skills/google-workspace-edu/SKILL.md

google-workspace-edu

Skill9 starsChanged 6 months agoMITView on GitHub

Google Workspace for Education — read and write files in Google Drive, create and edit Docs and Slides, and manage folder structure for K-12 content workflows.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All files created by agents should be placed in a designated agent-output folder to keep teacher Drive organized.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Google Workspace for Education

What it is

Google Workspace for Education (formerly G Suite for Education) is the primary productivity suite for millions of K-12 students and teachers, providing Gmail, Google Drive, Docs, Slides, Sheets, and Forms under a district-managed domain. Agents interact with it via the Google Drive API and Google Docs/Slides APIs to store, retrieve, and edit instructional content.

When to use this skill

  • Saving a generated lesson plan, worksheet, or slide deck to a teacher's designated Drive folder
  • Reading a student's submitted Google Doc to provide writing feedback inline via the Docs comment API
  • Creating a new Google Slides presentation from a structured outline produced by the content-creation agent
  • Organizing exported curriculum materials into shared district or department Drive folders
  • Retrieving a list of files in a teacher's course folder to check for existing materials before creating duplicates

Credentials

This skill authenticates using env vars declared in the frontmatter metadata and provided via ~/.openclaw/.env (see .env.example at the segment root). Required variables:

  • GOOGLE_CLIENT_ID - OAuth2 client ID from the Google Cloud project (shared with google-classroom skill if same project)
  • GOOGLE_CLIENT_SECRET - OAuth2 client secret
  • GOOGLE_REFRESH_TOKEN - long-lived refresh token for the service or teacher account

Key operations

  • GET /drive/v3/files — list files and folders with name, MIME type, and parent folder filters
  • POST /drive/v3/files — create a new file or folder in Drive
  • GET /drive/v3/files/{id} — retrieve file metadata including sharing settings and owner
  • GET /docs/v1/documents/{documentId} — read the full content of a Google Doc
  • POST /docs/v1/documents/{documentId}:batchUpdate — insert inline comments or suggested edits into a Doc
  • POST /slides/v1/presentations — create a new Google Slides presentation
  • POST /slides/v1/presentations/{id}:batchUpdate — add or modify slides in an existing presentation

Notes

  • Scopes for Drive, Docs, and Slides are granted separately; request only the scopes required for the current operation.
  • Student-owned documents should only be accessed via the submission flow (Google Classroom API) rather than direct Drive access, to respect privacy boundaries.
  • Large file exports (e.g., downloading a Slides deck as PPTX) use the Drive export endpoint with the appropriate MIME type.
  • All files created by agents should be placed in a designated agent-output folder to keep teacher Drive organized.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.