google-workspace
Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
Skill by AjayRajan05
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ajayrajan05-google-workspace
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/google-workspace
What's inside
- Skill name
google-workspace- Description
- Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
- License
- MIT
- Instructions
- 318 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (6)
- SKILL.md
- gmail-search-syntax.md · references/
- _voiceos_home.py · scripts/
- google_api.py · scripts/
- gws_bridge.py · scripts/
- setup.py · scripts/
SKILL.md (first lines)
# Google Workspace Gmail, Calendar, Drive, Contacts, Sheets, and Docs — through VoiceOS-managed OAuth and a thin CLI wrapper. When `gws` is installed, the skill uses it as the execution backend for broader Google Workspace coverage; otherwise it falls back to the bundled Python client implementation. ## References - `references/gmail-search-syntax.md` — Gmail search operators (is:unread, from:, newer_than:, etc.) ## Scripts - `scripts/setup.py` — OAuth2 setup (run once to authorize) - `scripts/google_api.py` — compatibility wrapper CLI. It prefers `gws` for operations when available, while preserving VoiceOS' existing JSON output contract. ## First-Time Setup The setup is fully non-interactive — you drive it step by step so it works on CLI, Telegram, Discord, or any platform. Define a shorthand first: ```bash GSETUP="python skills/bundled/community/productivity/google-workspace/scripts/setup.py" ``` ### Step 0: Check if already set up ```bash $GSETUP --check ``` If it prints `AUTHENTICATED`, skip to Usage — setup is already done. ### Step 1: Triage — ask the user what they need Before starting OAuth setup, ask the user TWO questions: **Question 1: "What Google services do you need? Just email, or also Calendar/Drive/Sheets/Docs?"** - **Email only** → They don't need this skill at all. Use the `himalaya` skill instead — it works with a Gmail App Password (Settings → Security → App Passwords) and takes 2 minutes to set up. No Google Cloud project needed. Load the himalaya skill and follow its setup instructions. - **Email + Calendar** → Continue with this skill, but use `--services email,calendar` during auth so the consent screen only asks for the scopes they actually need. - **Calendar/Drive/Sheets/Docs only** → Continue with this skill and use a narrower `--services` set like `calendar,drive,sheets,docs`. - **Full Workspace access** → Continue with this skill and use the default `all` service set. **Question 2: "Does your Google account use Advanced Protection (hardware security keys required to sign in)? If you're not sure, you probably don't — it's something you would have explicitly enrolled in."** - **No / Not sure** → Normal setup. Continue below. - **Yes** → Their Workspace admin must add the OAuth client ID to the org's allowed apps list before Step 4 will work. Let them know upfront. ### Step 2: Create OAuth credentials (one-time, ~5 minutes) Tell the user: > You need a Google Cloud OAuth client. This is a one-time setup: > > 1. Create or select a project: > https://console.cloud.google.com/projectselector2/home/dashboard > 2. Enable the required APIs from the API Library: > https://console.cloud.google.com/apis/library > Enable: Gmail API, Google Calendar API, Google Drive API, > Google Sheets API, Google Docs API, People API > 3. Create the OAuth client here: > https://console.cloud.google.com/apis/credentials > Credentials → Create Credentials → OAuth 2.0 Client ID > 4. Application type: "Desktop app" → Create > 5. If the app is still in Testing, add the user's Google account as a test user here: > https://console.cloud.google.com/auth/audience > Audience → Test users → Add users > 6. Download the JSON file and tell me the file path > > Important VoiceOS CLI note: if the file path starts with `/`, do NOT send only the bare path as its own message in the CLI, because it can be mistaken for a slash command. Send it in a sentence instead, like: > `The JSON file path is: /home/user/Downloads/client_secret_....json` Once they provide the path: ```bash $GSETUP --client-secret /path/to/client_secret.json ``` If they paste the raw client ID / client secret values instead of a file path, write a valid Desktop OAuth JSON file for them yourself, save it somewhere explicit (for example `~/Downloads/voiceos-google-client-secret.json`), then run `--client-secret` against that file. ### Step 3: Get authorization URL Use the service set chosen in Step 1. Examples: ```bash $GSETUP --auth-url --services email,calendar --format json $GSETUP --auth-url --services calendar,drive,sheets,docs --format json $GSETUP --auth-url --services all --format json ``` This returns JSON with an `auth_url` field and also saves the exact URL to `~/.voiceos/google_oauth_last_url.txt`. Agent rules for this step: - Extract the `auth_url` field and send that exact URL to the user as a single line. - Tell the user that the browser will likely fail on `http://localhost:1` after approval, and that this is expected. - Tell them to copy the ENTIRE redirected URL from the browser address bar. - If the user gets `Error 403: access_denied`, send them directly to `https://console.cloud.google.com/auth/audience` to add themselves as a test user. ### Step 4: Exchange the code The user will paste back either a URL like `http://localhost:1/?code=4/0A...&scope=...`
From AjayRajan05/VoiceOS, MIT.
More from AjayRajan05/VoiceOS
- 0.536score
maps
AjayRajan05
Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.
SkillCFreshness: C★ 10Claude Code +9 - 0.535score
serving-llms-vllm
AjayRajan05
vLLM: high-throughput LLM serving, OpenAI API, quantization.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
voiceos-platform
AjayRajan05
Configure, extend, and operate VoiceOS as a voice-first agent OS.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
huggingface-hub
AjayRajan05
HuggingFace hf CLI: search/download/upload models, datasets.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
segment-anything-model
AjayRajan05
SAM: zero-shot image segmentation via points, boxes, masks.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
nano-pdf
AjayRajan05
Edit PDF text/typos/titles via nano-pdf CLI (NL prompts).
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
obsidian
AjayRajan05
Read, search, create, and edit notes in the Obsidian vault.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
airtable
AjayRajan05
Airtable REST API via curl.
SkillCFreshness: C★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Jul 1, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AjayRajan05/VoiceOS
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AjayRajan05
- 0.536score
maps
AjayRajan05
Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.
SkillCFreshness: C★ 10Claude Code +9 - 0.535score
serving-llms-vllm
AjayRajan05
vLLM: high-throughput LLM serving, OpenAI API, quantization.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
voiceos-platform
AjayRajan05
Configure, extend, and operate VoiceOS as a voice-first agent OS.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
huggingface-hub
AjayRajan05
HuggingFace hf CLI: search/download/upload models, datasets.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
segment-anything-model
AjayRajan05
SAM: zero-shot image segmentation via points, boxes, masks.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
nano-pdf
AjayRajan05
Edit PDF text/typos/titles via nano-pdf CLI (NL prompts).
SkillCFreshness: C★ 10Claude Code +9
Cite this page
google-workspace skill. Agent Mart. https://agentmart.dev/skills/ajayrajan05-google-workspace (last updated 2026-10-24)