google-workspace
Gmail, Google Calendar, Drive, Sheets via Google APIs
Skill by ariffazil
Chalk Labs
Need help deploying google-workspace?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/ariffazil-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 and code. 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
What's inside
- Skill name
google-workspace- Description
- Gmail, Google Calendar, Drive, Sheets via Google APIs
- License
- AGPL-3.0
- Instructions
- 245 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# Google Workspace Skill — arifOS_bot
Triggers: "gmail", "email", "google calendar", "calendar", "schedule", "google drive",
"drive", "google sheets", "spreadsheet", "sheets", "google docs", "send email",
"check calendar", "what's on my calendar", "read email", "upload to drive"
Auth: OAuth 2.0 | Client ID: `26699057...` (already configured at `~/.openclaw/gog/`)
---
## ⚙️ One-Time Setup — Complete OAuth Flow
**Status: Client credentials exist. Access token not yet obtained.**
OAuth credentials are at `~/.openclaw/gog/credentials.json`. Run the flow once to get a token:
```bash
# On VPS host (not inside container):
cd /opt/arifos/data/openclaw/gog
# Install google-auth libraries if not present
pip3 install --quiet google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client 2>/dev/null
# Run auth flow
python3 << 'PYEOF'
from google_auth_oauthlib.flow import InstalledAppFlow
import json
SCOPES = [
'https://www.googleapis.com/auth/gmail.readonly',
'https://www.googleapis.com/auth/gmail.send',
'https://www.googleapis.com/auth/calendar.readonly',
'https://www.googleapis.com/auth/calendar.events',
'https://www.googleapis.com/auth/drive.readonly',
'https://www.googleapis.com/auth/spreadsheets',
]
flow = InstalledAppFlow.from_client_secrets_file('credentials.json', SCOPES)
# This prints an auth URL — open it in your browser, approve, paste the code back
creds = flow.run_local_server(port=0)
# Save token
with open('token.json', 'w') as f:
f.write(creds.to_json())
print("Token saved to token.json")
PYEOF
```
After running, `token.json` will be at `~/.openclaw/gog/token.json` and auto-refreshes.
---
## Gmail
### Read unread emails
```bash
python3 << 'PYEOF'
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
creds = Credentials.from_authorized_user_file('/home/node/.openclaw/gog/token.json')
service = build('gmail', 'v1', credentials=creds)
results = service.users().messages().list(userId='me', q='is:unread', maxResults=10).execute()
messages = results.get('messages', [])
print(f'Unread: {len(messages)} messages')
for msg in messages[:5]:
m = service.users().messages().get(userId='me', id=msg['id'], format='metadata',
metadataHeaders=['Subject','From','Date']).execute()
headers = {h['name']: h['value'] for h in m['payload']['headers']}
print(f" From: {headers.get('From','?')}")
print(f" Subject: {headers.get('Subject','?')}")
print(f" Date: {headers.get('Date','?')}")
print()
PYEOF
```
### Send email
```bash
python3 << 'PYEOF'
import base64
from email.mime.text import MIMEText
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
creds = Credentials.from_authorized_user_file('/home/node/.openclaw/gog/token.json')
service = build('gmail', 'v1', credentials=creds)
msg = MIMEText("Email body here")
msg['to'] = 'recipient@example.com'
msg['subject'] = 'Subject here'
raw = base64.urlsafe_b64encode(msg.as_bytes()).decode()
result = service.users().messages().send(userId='me', body={'raw': raw}).execute()
print(f"Sent: {result['id']}")
PYEOF
```
---
## Google Calendar
### View upcoming events
```bash
python3 << 'PYEOF'
from datetime import datetime, timezone
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
creds = Credentials.from_authorized_user_file('/home/node/.openclaw/gog/token.json')
service = build('calendar', 'v3', credentials=creds)
now = datetime.now(timezone.utc).isoformat()
events = service.events().list(
calendarId='primary',
timeMin=now,
maxResults=10,
singleEvents=True,From ariffazil/arifOS, AGPL-3.0.
More from ariffazil/arifOS
- 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
postcheck-verifier
ariffazil
Proves actions worked in reality — not just exit code 0, not just logs — by validating actual observable outcomes in the system
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
architect-explainer
ariffazil
Translates code, system state, and technical decisions into plain-language decisions, risks, and next actions for Muhammad Arif bin Fazil (non-coder sovereign…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
skill-composer
ariffazil
Chains multi-step workflows constitutionally — research → plan → judge → execute → verify → log → vault — without human step-by-step prompting
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arifOS-Langfuse
ariffazil
Instrument arifOS constitutional AI kernel with Langfuse LLM tracing.
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arif-init-wrapper
ariffazil
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agentic-governance
ariffazil
Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agent-foundation
ariffazil
Universal baseline skill for all agents on the arifOS VPS, regardless of vendor or model provider
SkillAFreshness: A★ 54Claude Code +9
Signals
- Stars
- 54
- Forks
- 9
- Open issues
- 3
- Contributors
- 98
- Last commit (this folder)
- May 11, 2026 (5 months ago)
- Last release
- Oct 17, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/ariffazil/arifOS
- Website
- arifos.arif-fazil.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ariffazil
- 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arif-init-wrapper
ariffazil
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get google-workspace running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
google-workspace skill. Agent Mart. https://agentmart.dev/skills/ariffazil-google-workspace (last updated 2026-10-24)