google-workspace
Skill by ariffazil
Connects an AI assistant to Gmail, Google Calendar, Google Drive and Google Sheets through Google APIs and OAuth 2.0. It is for users of the arifOS_bot setup who want to read and send email, manage calendar events, find Drive files and work with spreadsheets.
Install google-workspace
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ariffazil/arifOS /tmp/arifOS && mkdir -p ~/.claude/skills && cp -r /tmp/arifOS/skills/google-workspace ~/.claude/skills/google-workspaceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ariffazil/arifOS /tmp/arifOS && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/arifOS/skills/google-workspace ~/.gemini/antigravity-cli/skills/google-workspaceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an assistant access to Gmail, Google Calendar, Google Drive and Google Sheets. It runs Python scripts that call the Google APIs with an OAuth 2.0 token. The skill includes snippets to read unread emails, send email, view upcoming calendar events, create calendar events, list and search Drive files, read a spreadsheet range, and append a row to a sheet.
Setup uses client credentials stored under ~/.openclaw/gog/. The source says the user runs a one-time OAuth flow on the VPS host to create token.json, which then refreshes automatically. The skill requests read and send access to Gmail, read and write access to Calendar, read access to Drive, and read and write access to Sheets. It is written for users of the arifOS_bot setup, with calendar times defaulting to Asia/Kuala_Lumpur.
Written from the project's SKILL.md and checked against it.
What it can do
- Read unread emailLists unread Gmail messages with sender, subject and date.
- Send emailSends a plain text email from the connected Gmail account.
- View upcoming eventsShows the next calendar events from the primary calendar.
- Create calendar eventAdds a timed event to the primary Google Calendar.
- List Drive filesLists recently modified files in Google Drive with type and date.
- Search DriveFinds Drive files whose names contain a search term and returns their links.
- Read spreadsheetReads a cell range from a Google Sheet identified by its spreadsheet ID.
- Append sheet rowAdds a new row of values to the end of a Google Sheet.
What you need
- Python 3 with google-auth, google-auth-oauthlib, google-auth-httplib2 and google-api-python-client
- Google OAuth client credentials saved as credentials.json
- Access to the VPS host to run the one-time OAuth flow
- A Google account to approve the requested scopes
Try asking
- Check my unread emails and list the senders and subjects.
- What is on my calendar for the next few days?
- Append a new row with today's date and notes to my tracking sheet.
Good to know
- Requires a one-time OAuth flow on the VPS host before use.
- Token needs re-authorization if it is revoked.
- Sending email and creating calendar events are high-visibility actions, so the assistant should state intent clearly first.
- Calendar examples are set to the Asia/Kuala_Lumpur timezone.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/google-workspace/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to google-workspace
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
google-workspace: common questions
Does this skill need a new login each time?
No. The source says the token at ~/.openclaw/gog/token.json auto-refreshes through the google-auth library, unless access is revoked.
Which Google scopes does it request?
The source lists Gmail read and send, Calendar read and write, Drive read, and Sheets read and write.
Can it delete files or emails?
The source does not describe delete actions. It lists reading and sending email, calendar events, Drive listing and search, and sheet reads and appends.
How do I install google-workspace?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-workspace free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is google-workspace safe to use?
It scores 51 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-workspace?
Similar skills: ask-user-question, beads, google_tasks, recall.
