Agent skill

Google Workspace Auth

by bobmatnyc in bobmatnyc/claude-mpm

Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status

MITAuto-check: notesBackend & APIs

Install Google Workspace Auth

skills CLI
$ npx skills add bobmatnyc/claude-mpm --skill google-workspace-auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bobmatnyc/claude-mpm google-workspace-auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/google-workspace-auth .claude/skills/google-workspace-auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-workspace-auth
GitHub stars
155
Token cost
~718 tokens
SKILL.md length
146 words
Files
2
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status

  • Works in 3 steps: .env.local (highest priority) → .env → Environment variables
  • Tasks that involve Cloud office suites
  • SKILL.md covers Quick Commands, Prerequisites, OAuth Callback Configuration and Troubleshooting, plus 1 more section
  • Needs GOOGLE_OAUTH_CLIENT_SECRET

What it does

Google Workspace Auth is an agent skill from bobmatnyc/claude-mpm. Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`). Compatibility notes: claude-code

It sits in Backend & APIs, covering Cloud office suites and OAuth and OpenID Connect. It works with Google Workspace, Model Context Protocol and Gmail. The repository describes itself as: Claude Multi-Agent Project Manager — multi-channel orchestration, GitHub-first SDK mode, and plugin system for Claude. The licence is MIT.

When your agent uses it

  • Tasks that involve Cloud office suites
  • Tasks that involve OAuth and OpenID Connect

Example prompts

  • “/google-workspace-auth”

Requirements

  • A credential in GOOGLE_OAUTH_CLIENT_SECRET
  • Compatibility (from SKILL.md): claude-code

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. .env.local (highest priority)
  2. .env
  3. Environment variables

What it can do on your machine

Read from SKILL.md and the folder at commit 25203d3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • console.cloud.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GOOGLE_OAUTH_CLIENT_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    claude-code

    From compatibility in the SKILL.md frontmatter.

Context cost

Google Workspace Auth loads about 718 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 146 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~718

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:49
    1. `.env.local` (highest priority)
  • NoteMentions a .env fileSKILL.md:50
    2. `.env`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from bobmatnyc/claude-mpm at commit 25203d3, republished under its MIT licence (© bobmatnyc). 146 words, ~718 tokens.

Download SKILL.mdSave it as .claude/skills/google-workspace-auth/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
google-workspace-auth
description
Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status
compatibility
claude-code
license
MIT
metadata.version
1.0.0
metadata.category
mpm
metadata.author
Claude MPM Team
tags
google, oauth, gmail, calendar, drive, docs, tasks, authentication, mcp

Google Workspace Authentication

Re-authenticate or manage Google Workspace MCP OAuth tokens during a Claude Code session.

Quick Commands

Check Token Status
bash
claude-mpm oauth status google-workspace-mcp
Refresh Existing Token
bash
claude-mpm oauth refresh google-workspace-mcp
Full Re-Authentication
bash
# Opens browser for full OAuth flow
claude-mpm oauth setup google-workspace-mcp --no-launch

# If credentials need to be re-entered
claude-mpm oauth setup google-workspace-mcp --force --no-launch
Revoke Tokens (Logout)
bash
claude-mpm oauth revoke google-workspace-mcp

Prerequisites

Google OAuth credentials must be configured in one of:

  1. .env.local (highest priority)
  2. .env
  3. Environment variables
bash
# Required environment variables
GOOGLE_OAUTH_CLIENT_ID="your-client-id.apps.googleusercontent.com"
GOOGLE_OAUTH_CLIENT_SECRET="your-client-secret"

Get credentials from: https://console.cloud.google.com/apis/credentials

OAuth Callback Configuration

The OAuth callback server listens on http://127.0.0.1:8789/callback

Ensure this redirect URI is configured in your Google Cloud Console OAuth client.

Troubleshooting

Token Expired
bash
# Try refresh first (faster, doesn't need browser)
claude-mpm oauth refresh google-workspace-mcp

# If refresh fails, do full re-auth
claude-mpm oauth setup google-workspace-mcp --no-launch
Credentials Not Found
bash
# Force credential prompt
claude-mpm oauth setup google-workspace-mcp --force --no-launch
Check Available Services
bash
claude-mpm oauth list

Available Google Workspace MCP Tools (34 total)

After authentication, these tools become available:

Gmail (5 tools): search_gmail_messages, get_gmail_message_content, send_email, create_draft, reply_to_email

Calendar (6 tools): list_calendars, get_events, create_event, update_event, delete_event

Drive (7 tools): search_drive_files, get_drive_file_content, list_document_comments, create_drive_folder, upload_drive_file, delete_drive_file, move_drive_file

Docs (4 tools): create_document, append_to_document, get_document, upload_markdown_as_doc

Tasks (12 tools): list_task_lists, get_task_list, create_task_list, update_task_list, delete_task_list, list_tasks, get_task, search_tasks, create_task, update_task, complete_task, delete_task, move_task

© bobmatnyc, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugin/skills/google-workspace-auth of bobmatnyc/claude-mpm.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 25203d3

Compare with similar skills

Google Workspace Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Workspace Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Workspace Auth this skillbobmatnyc/claude-mpm155—~718Automated safety check: NotesMIT
Google WorkspaceRedWoodOG/Hermes-Desktop177—~2.1kAutomated safety check: PassMIT
Google Chatsanjay3290/ai-skills431—~1.2kAutomated safety check: PassApache-2.0
GCP Workspace Pivotwgpsec/AboutSecurity1.8k—~2.9kAutomated safety check: PassNone
Pp Workspace Adminmvanhorn/printing-press-library2.1k—~11kAutomated safety check: NotesApache-2.0
Community Google WorkspaceArgentAIOS/argentos-core126—~2.8kAutomated safety check: PassMIT

Similar skills

  • Google Workspace

    RedWoodOG/Hermes-Desktop

    Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration via Python.

    177 GitHub stars~2.1k tokensUpdated 4 mo ago
    Backend & APIsAuto-check passed
  • Google Chat

    sanjay3290/ai-skills

    Interact with Google Chat - send, read, edit, delete and react to messages, share images and files, reply in threads, and manage spaces and DMs.

    431 GitHub stars~1.2k tokensUpdated 29 days ago
    Backend & APIsAuto-check passed
  • GCP Workspace Pivot

    wgpsec/AboutSecurity

    GCP 到 Google Workspace 的穿越攻击方法论。当已获取 GCP Service Account 或 Project 权限并发现目标组织使用 Google Workspace、需要从云平台穿越到企业邮件/文档/管理控制台、或发现 Domain-Wide Delegation 配置时使用。覆盖 Domain-Wide Delegation 滥用、OAuth…

    1.8k GitHub stars~2.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Pp Workspace Admin

    mvanhorn/printing-press-library

    GAT-style Google Workspace auditing as an agent-native CLI: sync Directory, Drive, Gmail, Reports, and Alert Center into a local store, then run offline cross-API audits, offboarding, and OAuth-app…

    2.1k GitHub stars~11k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Community Google Workspace

    ArgentAIOS/argentos-core

    Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration for community skills.

    126 GitHub stars~2.8k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Google Workspace

    Tommy-yw/RunbookHermes

    Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration for Hermes.

    546 GitHub starsUsed in 1 repo~2.7k tokens
    Documents & OfficeAuto-check passed

More from bobmatnyc/claude-mpm

All 51 skills in this repo
  • Build MCP Server

    bobmatnyc/claude-mpm

    Create high-quality MCP servers that enable LLMs to effectively interact with external services.

    155 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Env Manager

    bobmatnyc/claude-mpm

    Environment variable validation, synchronization, and management across local development, CI/CD, and deployment platforms

    155 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Session Analyzer

    bobmatnyc/claude-mpm

    Debug and teach agentic coding: a deterministic-first session timeline + cost report, with optional narrative polish and a standalone JSX visualiser.

    155 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Software Patterns

    bobmatnyc/claude-mpm

    Decision framework for architectural patterns including DI, SOA, Repository, Domain Events, Circuit Breaker, and Anti-Corruption Layer.

    155 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Verification Before Completion

    bobmatnyc/claude-mpm

    Run verification commands and confirm output before claiming success

    155 GitHub starsUsed in 2 repos~1k tokens
    Auto-check passed
  • Dependency Audit

    bobmatnyc/claude-mpm

    Dependency audit and cleanup workflow for maintaining healthy project dependencies.

    155 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Google Workspace Auth

What does Google Workspace Auth do?

Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status. Google Workspace Auth is an agent skill from bobmatnyc/claude-mpm.

When should I use Google Workspace Auth?

Google Workspace Auth fits situations like: tasks that involve Cloud office suites; tasks that involve OAuth and OpenID Connect.

How do I install Google Workspace Auth in Claude Code?

Run `npx skills add bobmatnyc/claude-mpm --skill google-workspace-auth -a claude-code`. Or copy the skill folder (plugin/skills/google-workspace-auth in bobmatnyc/claude-mpm) into .claude/skills/google-workspace-auth in your project. Claude Code loads it when a task matches its description.

How do I install Google Workspace Auth in Codex?

Run `npx skills add bobmatnyc/claude-mpm --skill google-workspace-auth -a codex`. Or copy the skill folder (plugin/skills/google-workspace-auth in bobmatnyc/claude-mpm) into .agents/skills/google-workspace-auth in your project. Codex loads it when a task matches its description.

Can I use Google Workspace Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bobmatnyc/claude-mpm --skill google-workspace-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-workspace-auth, .gemini/skills/google-workspace-auth, .github/skills/google-workspace-auth and .opencode/skills/google-workspace-auth in your project.

What does Google Workspace Auth need to run?

Going by SKILL.md and its folder, Google Workspace Auth needs credentials named GOOGLE_OAUTH_CLIENT_SECRET. Our summary lists: A credential in GOOGLE_OAUTH_CLIENT_SECRET. Compatibility (from SKILL.md): claude-code.

Does Google Workspace Auth access the network?

SKILL.md names 1 domain. As links in the text: console.cloud.google.com. This is read from the text; nothing was executed.

Is Google Workspace Auth safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Google Workspace Auth use?

Google Workspace Auth is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google Workspace Auth use?

About 718 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Google Workspace Auth?

Skills that share tags, products or a category with Google Workspace Auth: Google Workspace (RedWoodOG/Hermes-Desktop, 177 stars), Google Chat (sanjay3290/ai-skills, 431 stars), GCP Workspace Pivot (wgpsec/AboutSecurity, 1.8k stars) and Pp Workspace Admin (mvanhorn/printing-press-library, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Workspace Auth?

bobmatnyc (a GitHub user) maintains it in bobmatnyc/claude-mpm, which has 155 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on August 31, 2026.

Source: bobmatnyc/claude-mpm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.