agentleFS
swarmclawaiswarmclawai/swarmclaw/skills/google-workspace/SKILL.md

google-workspace

Skill690 starsChanged 5 months agoMITView on GitHub

Use Google Workspace CLI (`gws`) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, jupyter-live-kernel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • braxtonROSE4Skill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 6 projects that use this

  • AlexAI-MCPSkill

    jupyter-live-kernel

    Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns.

    Also in 7 projects that use this

  • braxtonROSE4Skill

    xitter

    Interact with X/Twitter via the x-cli terminal client using official X API credentials. Use for posting, reading timelines, searching tweets, liking, retweeting, bookmarks, mentions, and user lookups.

    Also in 3 projects that use this

  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 7 projects that use this

  • AlexAI-MCPSkill

    youtube-content

    YouTube research and content operations — search, download, transcript extraction, and audio processing via yt-dlp.

    Also in 11 projects that use this

  • kevinnftSkill

    node-inspect-debugger

    Debug Node.js via --inspect + Chrome DevTools Protocol CLI.

    Also in 7 projects that use this

  • +5 more from braxtonROSE4

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 3 are distinctive, and 11 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use gws when the task is about Google Workspace resources or Google Workspace API automation.

    line 15
  2. Very specific:

    Prefer gws over generic HTTP calls when possible because it already knows the Workspace API surface and returns structured JSON by default.

    line 17
  3. Very specific:

    Start with read/list/get commands before mutating Workspace state.

    line 21
  4. Very specific:

    Do not run interactive auth flows from an agent tool call.

    line 23
  5. Distinctive:

    Keep commands machine-readable.

    line 24
  6. Distinctive:

    Check installation and health:

    line 29
  7. Very specific:

    When using the google_workspace tool:

    line 83
  8. Very specific:

    Put the gws command after the binary into args, for example: {"args":["drive","files","list"],"params":{"pageSize":5}}

    line 85
  9. Very specific:

    Use params for --params

    line 87
  10. Very specific:

    Use pageAll: true when you intentionally want all pages

    line 89
  11. Very specific:

    Use dryRun: true before risky mutations if you are unsure

    line 90
  12. Very specific:

    If gws is missing: tell the user to install Google Workspace CLI.

    line 94
  13. Very specific:

    If auth is missing or expired: tell the user to configure the plugin settings or authenticate gws manually.

    line 95
  14. Distinctive:

    If a command fails because an ID is missing: switch to a list/search command first and find the right ID.

    line 96

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “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 CLI

Use gws when the task is about Google Workspace resources or Google Workspace API automation.

Prefer gws over generic HTTP calls when possible because it already knows the Workspace API surface and returns structured JSON by default.

Rules

  1. Start with read/list/get commands before mutating Workspace state.
  2. Confirm IDs first: document IDs, spreadsheet IDs, file IDs, message IDs, calendar IDs, space IDs.
  3. Do not run interactive auth flows from an agent tool call. If auth is missing, report that gws needs to be configured in plugin settings or via a manual terminal login.
  4. Keep commands machine-readable. Prefer JSON output and parse it instead of scraping human text.
  5. For large list operations, limit the scope first, then page or filter.

Common Commands

Check installation and health:

gws doctor

Inspect help for a resource or method:

gws help
gws drive help
gws drive files help

Google Docs:

gws docs get --document-id <DOC_ID>

Google Drive:

gws drive files list --params '{"pageSize":10}'
gws drive files get --file-id <FILE_ID>

Google Sheets:

gws sheets spreadsheets get --spreadsheet-id <SPREADSHEET_ID>

Gmail:

gws gmail users messages list --user-id me --params '{"maxResults":10}'
gws gmail users messages get --user-id me --message-id <MESSAGE_ID>

Google Calendar:

gws calendar events list --calendar-id primary --params '{"maxResults":10,"singleEvents":true}'

Google Chat:

gws chat spaces messages list --parent spaces/<SPACE_ID>

Tool Usage In SwarmClaw

When using the google_workspace tool:

  • Put the gws command after the binary into args, for example: {"args":["drive","files","list"],"params":{"pageSize":5}}
  • Use params for --params
  • Use jsonInput for --json
  • Use pageAll: true when you intentionally want all pages
  • Use dryRun: true before risky mutations if you are unsure

Error Handling

  • If gws is missing: tell the user to install Google Workspace CLI.
  • If auth is missing or expired: tell the user to configure the plugin settings or authenticate gws manually.
  • If a command fails because an ID is missing: switch to a list/search command first and find the right ID.

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.