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.
npx skills add davekilleen/Dex --skill google-workspace-setupgit clone --depth 1 https://github.com/davekilleen/DexWrote 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.
[](https://agentmods.dev/skills/davekilleen/dex/google-workspace-setup)<a href="https://agentmods.dev/skills/davekilleen/dex/google-workspace-setup"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/google-workspace-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/davekilleen/dex/google-workspace-setup"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/google-workspace-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.04261 |
| Opus 5.5 | $0.00028 | $0.01704 |
| Sonnet 5.5 | $0.00014 | $0.00852 |
| Haiku 4.5 | $0.00007 | $0.00426 |
Grade B, and why
google-workspace-setup scanned grade B with 1 finding 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 1mo ago.
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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
- **`message.id` and `threadId`** — mailbox message ids. Never pass these to a draft tool. Never tell the user a message id is the draft id. How it starts
The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Workspace Setup
Connect your Google Workspace to Dex so your daily plans, meeting prep, and weekly reviews get richer context from email, Google Calendar, and Docs.
What This Enables
Once connected, Dex can:
Read:
- Search emails by sender, subject, or keyword
- Surface unread emails from priority senders
- Pull email threads for meeting attendees
- Access Google Calendar events (if not using Apple Calendar)
- Search Google Docs and Sheets
Write (always with your confirmation):
- Send emails (Dex will always show you the draft and ask before sending). Keep Gmail draft ids consistent — see Gmail draft identity below.
- Create calendar events
- Create or update Google Docs
Skill Enhancements:
- Daily Plan (
/daily-plan) gets an email digest -- unread count, threads needing reply, emails from today's meeting contacts - Meeting Prep (
/meeting-prep) shows recent email threads with each attendee - Week Review (
/week-review) includes email stats -- sent/received, response time, top correspondents - Draft Messages (if configured) can send via Gmail with confirmation
New Capabilities:
- Email Follow-Up Detection: During
/daily-plan, Dex checks for emails awaiting replies for more than 48 hours and surfaces them: "Sarah hasn't replied to your pricing email from 3 days ago. Draft a nudge?"
Privacy
Dex reads your email on demand -- nothing is stored permanently. Emails are fetched, summarized, and discarded after the session. Only accounts you explicitly connect are accessible. OAuth credentials stay local in ~/.google-mcp/credentials.json, and account tokens stay local under ~/.google-mcp/tokens/; never paste either into chat or commit them to Git.
Permission truth: this connector requests a fixed set of nine OAuth scopes covering Docs, Drive, Sheets, Gmail, Calendar, Slides, and Forms. Changing selections on Google's consent screen does not narrow the permissions the connector requests. Its --read-only server mode blocks write tools after authorization, but does not reduce the underlying OAuth grant. Explain this before setup and let the user stop if that access is broader than they want.
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.
- 1mo ago Changed · +12 lines scan A → B e689a241aa57
- 2mo ago Changed · +5 lines 3545f596b144
- 2mo ago First seen · 395 lines · 70 tokens per session scan A 966b38a9ca1f
google-workspace-setup is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 70 tokens to every session and 4,261 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
google-workspace-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| google-workspace-setupdavekilleen/Dex | Skill | 522 | 6d ago | MIT | B | 70 | Claude Code, Codex |
| meeting-notesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 55 | Claude Code, Codex |
| gmailvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 20 | Claude Code, Codex |
| schedulevellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 27 | Claude Code, Codex |
| inbox-cleanupvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 49 | Claude Code, Codex |
| inbox-managementvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 50 | Claude Code, Codex |
| notificationsvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 9 | Claude Code, Codex |