google-workspace-cli
Use when user wants to interact with Google Workspace APIs (Gmail, Drive, Calendar, Sheets, Docs, Chat, Admin) from the command line using `gws`.
Skill by DevChiniwala
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/devchiniwala-google-workspace-cli
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, security, 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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/google-workspace-cli
What's inside
- Skill name
google-workspace-cli- Description
- Use when user wants to interact with Google Workspace APIs (Gmail, Drive, Calendar, Sheets, Docs, Chat, Admin) from the command line using `gws`. Also use when setting up Google Workspace CLI, OAuth for Google APIs, or automating Google Workspace tasks. Check `which gws` first — if missing, offer install.
- License
- MIT
- Instructions
- 151 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
## Prerequisites
1. **gcloud CLI** (required for automated setup):
```bash
which gcloud || brew install google-cloud-sdk
```
2. **gws CLI**:
```bash
which gws || brew install googleworkspace-cli
# Or: npm install -g @googleworkspace/cli
```
## Setup
### Automated (requires gcloud CLI installed first)
```bash
gws auth setup
```
Creates a GCP project, enables APIs, configures OAuth, and logs you in.
### Manual
1. Create a project at [console.cloud.google.com](https://console.cloud.google.com)
2. Configure **OAuth consent screen** → External → Testing mode
3. **Add yourself as a test user** (required)
4. Create **OAuth credentials** → type **Desktop app** (not Web app)
5. Download client JSON to `~/.config/gws/client_secret.json`
6. Enable the APIs you need (Gmail, Drive, Calendar, etc.)
7. Login with only the scopes you need:
```bash
gws auth login -s gmail,drive,calendar,sheets
```
### Check auth status
```bash
gws auth status
```
## Common Gotchas
- **Subcommands are space-separated**, not dot-separated: `gws gmail users messages list` (NOT `users.messages`)
- OAuth client must be **Desktop app** type, not Web — otherwise `redirect_uri_mismatch`
- Must add yourself as **test user** in consent screen — otherwise "Access blocked"
- Testing mode apps limited to ~25 OAuth scopes — use `-s` to select only what you need
- If API not enabled, you get 403 with a direct link to enable it
## Usage
```bash
# Core syntax (space-separated subcommands)
gws <service> <resource> [sub-resource] <method> [flags]
# List Drive files
gws drive files list --params '{"pageSize": 5}'
# Gmail inbox
gws gmail users messages list --params '{"userId": "me", "maxResults": 10}'
# Get a specific email
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID", "format": "metadata", "metadataHeaders": ["Subject","From","Date"]}'
# Calendar agenda (helper command)
gws calendar +agenda
# Create calendar event
gws calendar +insert --summary "Meeting" --start 2026-04-05T10:00:00Z --end 2026-04-05T11:00:00Z --attendee user@example.com
# Send email
gws gmail +send --to user@example.com --subject "Hello" --body "Hi there"
gws gmail +send --to user@example.com --subject "Report" --body "<h1>Hi</h1>" --html --attach ./report.pdf
gws gmail +send --to user@example.com --subject "Draft" --body "Review this" --draft
# Upload to Drive
gws drive +upload ./file.pdf
gws drive +upload ./file.pdf --parent FOLDER_ID --name "Renamed.pdf"
# Read spreadsheet
gws sheets +read --spreadsheet SPREADSHEET_ID --range "Sheet1!A1:D10"
# Inspect any method's schema before calling it
gws schema drive.files.list
# Preview request without executing
gws drive files list --dry-run
```
## Key Flags
| Flag | Purpose |
|------|---------|
| `--params '<JSON>'` | URL/query parameters |
| `--json '<JSON>'` | Request body (POST/PATCH/PUT) |
| `--page-all` | Auto-paginate (NDJSON output) |
| `--page-limit <N>` | Max pages (default 10) |
| `--upload <PATH>` | File upload |
| `--output <PATH>` | Download binary files |
| `--dry-run` | Preview without executing |
| `--format <FMT>` | Output format: json (default), table, yaml, csv |
## Helper Commands
Prefixed with `+`, these are convenience wrappers. Run `gws <service> +cmd --help` for full options.
- **gmail:** `+send`, `+reply`, `+reply-all`, `+forward`, `+triage`, `+watch`
- **sheets:** `+append`, `+read`
- **docs:** `+write`
- **chat:** `+send`
- **drive:** `+upload`
- **calendar:** `+insert`, `+agenda`
- **workflow:** `+standup-report`, `+meeting-prep`, `+weekly-digest`From DevChiniwala/HeyClara, MIT.
More from DevChiniwala/HeyClara
- 0.502score
agent-skill-creator
DevChiniwala
Create or improve AI agent skills with proper progressive disclosure, description optimization, and router patterns.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
email
DevChiniwala
Write any kind of email: cold outreach, prospecting, follow-up sequences, drip campaigns, lifecycle emails, nurture sequences, onboarding emails, welcome…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
marketing
DevChiniwala
When the user wants help with marketing, growth, GTM, or getting users.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
image-generation
DevChiniwala
Generate images using OpenAI (default) or Gemini.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
clara-phone
DevChiniwala
Use when setting up, deploying, or debugging Clara's Twilio-based channels: voice (phone), SMS, and WhatsApp.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
modal-cli
DevChiniwala
Modal CLI for serverless GPU/cloud compute.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
gh-stamp
DevChiniwala
Stamp a GitHub PR with an LGTM approval comment.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
asc-cli
DevChiniwala
Use this skill for App Store Connect CLI (`asc`) usage, including install/auth setup, command families, CI/CD integration, and troubleshooting for releases…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
beads-tasks
DevChiniwala
Persistent task management via Beads CLI (bd).
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
code-review
DevChiniwala
Review pull requests, code diffs, and changes for correctness, design, security, performance, and style.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
github-link-repo-explorer
DevChiniwala
Explore a GitHub repository from a link by cloning locally first, then inspecting files and history.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
codex
DevChiniwala
Consult OpenAI Codex CLI for a second opinion on plans, tests, code review, and more.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 5, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/DevChiniwala/HeyClara
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from DevChiniwala
- 0.502score
marketing
DevChiniwala
When the user wants help with marketing, growth, GTM, or getting users.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
email
DevChiniwala
Write any kind of email: cold outreach, prospecting, follow-up sequences, drip campaigns, lifecycle emails, nurture sequences, onboarding emails, welcome…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
agent-skill-creator
DevChiniwala
Create or improve AI agent skills with proper progressive disclosure, description optimization, and router patterns.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
image-generation
DevChiniwala
Generate images using OpenAI (default) or Gemini.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
beads-tasks
DevChiniwala
Persistent task management via Beads CLI (bd).
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
code-review
DevChiniwala
Review pull requests, code diffs, and changes for correctness, design, security, performance, and style.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
google-workspace-cli skill. Agent Mart. https://agentmart.dev/skills/devchiniwala-google-workspace-cli (last updated 2026-10-24)