Google workspace

From HybridAIOne/hybridclaw · View interactive version

Google workspace is an AI agent skill from the GitHub repository HybridAIOne/hybridclaw. Use browser automation for Google Workspace web UI tasks in Gmail, Calendar, Drive, Docs, and Sheets.

How to use this skill

Skill file

Google Workspace

Use this skill for Google Workspace workflows that go beyond HybridClaw's built-in email and Discord channels.

For API-backed Google Workspace access, prefer the bundled gws or gog skill

when available.

Scope

Default Strategy

  1. For API-backed Gmail, Calendar, Drive, Contacts, Sheets, or Docs tasks, use the bundled gws skill first when it is installed. Use gog when it is a better fit for the command surface or gws is unavailable.
  2. Start by running exactly gws auth status or gog's equivalent lightweight status/help command. Do not run gws auth status --json; auth status already prints JSON and does not accept --json. For gws, treat credential_source: "token_env_var" or token_env_var: true as authenticated even when auth_method is "none", because HybridClaw injects GOOGLE_WORKSPACE_CLI_TOKEN. If the CLI reports no usable auth, tell the user to run hybridclaw auth login google; do not ask for hybridclaw browser login.
  3. For email-only tasks where gws and gog are unavailable, prefer the optional himalaya community skill if it is installed, or the existing email channel when that is simpler.
  4. Use browser automation only when the user explicitly asks for browser-based work or the task needs visual inspection in the Google web UI.
  5. If browser automation is explicitly needed and the browser hits a login page, tell the user to run hybridclaw browser login to sign in once, then retry. Do not ask for credentials in chat.

Proactive Behavior

When the user asks about their calendar, email, or documents:

Browser Login Setup

Browser login is only for visual Google web UI workflows. For API-backed Gmail,

Calendar, Drive, Docs, and Sheets work, use hybridclaw auth login google

through gws or gog instead.

HybridClaw uses a persistent browser profile that survives across sessions. The user logs in once and the agent reuses that session.

> I need you to log into Google first. Run hybridclaw browser login in your terminal, sign into your Google account in the browser that opens, then close it. After that, ask me again and I will have access.

API Guidance

If gws or gog reports missing Google API auth:

  1. Tell them to run hybridclaw auth login google.
  2. If setup still fails, tell them to enable the APIs they need: Gmail, Calendar, Drive, Docs, Sheets, People.
  3. Do not ask for OAuth client secrets, refresh tokens, passwords, or credential files in chat.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.