google-integration

google-integration is a skill for Claude Code, Codex from DorianSchlede/nexus-template. It costs 19 tokens per session (1,843 once invoked), scanned A, original, MIT.

A unified connection to Google Workspace, Google's collection of online work apps, using one login and shared setup.

In plain words
What is it for?
Working with Gmail, Docs, Sheets, Calendar, Drive, Tasks, and Slides, including email, documents, spreadsheets, files, events, tasks, and presentations.
Why use it?
It avoids configuring separate authentication flows for each supported Google service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dorianschlede/nexus-template/google
Any agent
npx skills add DorianSchlede/nexus-template --skill google
Clone the repo
git clone --depth 1 https://github.com/DorianSchlede/nexus-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/dorianschlede/nexus-template/google.svg)](https://agentmods.dev/skills/dorianschlede/nexus-template/google)
Your own site
<a href="https://agentmods.dev/skills/dorianschlede/nexus-template/google"><img src="https://agentmods.dev/badge/skills/dorianschlede/nexus-template/google.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01843
Opus 5 $0.00010 $0.00922
Sonnet 5 $0.00004 $0.00369
Haiku 4.5 $0.00002 $0.00184

Measured 6d ago against content hash 70593fd4946d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

google-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (gmail/scripts/gmail_operations.py, google-calendar/scripts/calendar_operations.py, google-docs/scripts/docs_operations.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

00-system/skills/integrations/google/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Integration

Complete Google Workspace integration with unified OAuth authentication. One login grants access to Gmail, Google Docs, Google Sheets, Google Calendar, Google Drive, Google Tasks, and Google Slides.

Purpose

Provides a unified interface to Google Workspace services with:

  • Single authentication - Login once, use all services
  • Shared credentials - One OAuth setup for everything
  • Consistent patterns - Same error handling across all services

Included Services

Service Description Operations
Gmail Email operations Read, send, reply, forward, drafts, labels
Google Docs Document operations Read, write, create, export, format
Google Sheets Spreadsheet operations Read, write, append, create, format
Google Calendar Calendar operations List events, create, update, find slots, check availability
Google Drive File storage operations Upload, download, share, organize folders
Google Tasks Task management Create, complete, organize task lists
Google Slides Presentation operations Create, edit slides, add text/images, export

First-Time Setup

New users: Say "connect google" to run the interactive setup wizard.

The wizard guides you through:

  1. Creating a Google Cloud project
  2. Enabling required APIs
  3. Creating OAuth credentials
  4. Authenticating with your Google account

Pre-Flight Check (ALWAYS RUN FIRST)

uv run python 00-system/skills/google/google-master/scripts/check_google_config.py --json

Exit codes:

  • 0: Ready - all services available
  • 1: Need login - run the login command below
  • 2: Missing credentials or dependencies

To authenticate (grants access to ALL services):

uv run python 00-system/skills/google/google-master/scripts/google_auth.py --login

Quick Start by Service

Gmail

# List recent emails
uv run python 00-system/skills/google/gmail/scripts/gmail_operations.py list --max 10

# Send email (creates draft first, asks for confirmation)
uv run python 00-system/skills/google/gmail/scripts/gmail_operations.py send --to "[email protected]" --subject "Hello" --body "Message"

Read the full file on GitHub · 238 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 238 lines · 19 tokens per session scan A 70593fd4946d

Subscribe to this mod's changes

google-integration is a skill published in the GitHub repository DorianSchlede/nexus-template (8 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 1,843 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.