Agent skill

Google

by letta-ai in letta-ai/lettabot

Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Apache-2.0Auto-check: notesProductivity & Automation

Install Google

skills CLI
$ npx skills add letta-ai/lettabot --skill google -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install letta-ai/lettabot google --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/letta-ai/lettabot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.skills/google .claude/skills/google && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google
GitHub stars
327
Token cost
~774 tokens
SKILL.md length
40 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

  • Tasks that involve Cloud office suites
  • SKILL.md covers Setup, Gmail, Calendar and Drive, plus 5 more sections
  • Calls brew
  • Tasks that involve Email management

What it does

Google is an agent skill from letta-ai/lettabot. Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering Cloud office suites and Email management. It works with Google Workspace and Gmail. The repository describes itself as: Archived - has been replaced by Letta Code channels/schedules! The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Cloud office suites
  • Tasks that involve Email management

Example prompts

  • “/google”

What it can do on your machine

Read from SKILL.md and the folder at commit 99c3b5d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google loads about 774 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 40 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~774

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:121
    Set default account in `.env`:

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from letta-ai/lettabot at commit 99c3b5d, republished under its Apache-2.0 licence (© letta-ai). 40 words, ~774 tokens.

Download SKILL.mdSave it as .claude/skills/google/SKILL.md (or your agent's skills folder).
name
google
description
Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Google Workspace (gog)

Use gog CLI to interact with Google Workspace services.

Setup

bash
brew install steipete/tap/gogcli
gog auth credentials /path/to/credentials.json
gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets
gog auth list

Gmail

bash
# Search emails
gog gmail search 'newer_than:1h is:unread' --account EMAIL --max 10
gog gmail search 'from:someone@example.com' --account EMAIL --max 10

# Read email
gog gmail get MESSAGE_ID --account EMAIL

# Send email
gog gmail send --to recipient@example.com --subject "Subject" --body "Message" --account EMAIL

# Reply to thread
gog gmail send --to recipient@example.com --subject "Re: Original" --body "Reply" --reply-to-message-id MSG_ID --account EMAIL

# Create/send draft
gog gmail drafts create --to recipient@example.com --subject "Subject" --body "Draft" --account EMAIL
gog gmail drafts send DRAFT_ID --account EMAIL

# Manage labels
gog gmail labels --account EMAIL
gog gmail modify MESSAGE_ID --add-labels LABEL --account EMAIL
gog gmail modify MESSAGE_ID --remove-labels UNREAD --account EMAIL

Calendar

bash
# List events
gog calendar events CALENDAR_ID --from 2026-01-27T00:00:00Z --to 2026-01-28T00:00:00Z --account EMAIL

# Create event
gog calendar create CALENDAR_ID --summary "Meeting" --from 2026-01-27T10:00:00Z --to 2026-01-27T11:00:00Z --account EMAIL

# Create with color (1-11)
gog calendar create CALENDAR_ID --summary "Meeting" --from ISO --to ISO --event-color 7 --account EMAIL

# Update event
gog calendar update CALENDAR_ID EVENT_ID --summary "New Title" --account EMAIL

# Show available colors
gog calendar colors

Drive

bash
# Search files
gog drive search "query" --max 10 --account EMAIL

# List files in folder
gog drive list FOLDER_ID --account EMAIL

# Download file
gog drive download FILE_ID --out /path/to/file --account EMAIL

# Upload file
gog drive upload /path/to/file --parent FOLDER_ID --account EMAIL

Contacts

bash
# List contacts
gog contacts list --max 20 --account EMAIL

# Search contacts
gog contacts search "name" --account EMAIL

Sheets

bash
# Read range
gog sheets get SHEET_ID "Sheet1!A1:D10" --json --account EMAIL

# Update cells
gog sheets update SHEET_ID "Sheet1!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED --account EMAIL

# Append rows
gog sheets append SHEET_ID "Sheet1!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS --account EMAIL

# Clear range
gog sheets clear SHEET_ID "Sheet1!A2:Z" --account EMAIL

# Get metadata
gog sheets metadata SHEET_ID --json --account EMAIL

Docs

bash
# Read document
gog docs cat DOC_ID --account EMAIL

# Export to file
gog docs export DOC_ID --format txt --out /tmp/doc.txt --account EMAIL

Environment

Set default account in .env:

bash
GMAIL_ACCOUNT=you@gmail.com

Email Polling

Emails are polled every 1 minute via cron. Use ignore() if nothing important.

© letta-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .skills/google of letta-ai/lettabot.

Open the folder on GitHubat commit 99c3b5d

Compare with similar skills

Google next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google this skillletta-ai/lettabot327—~774Automated safety check: NotesApache-2.0
Google Workspaceyc-software/qm15k—~1.8kAutomated safety check: PassMIT
Gogtrpc-group/trpc-agent-go1.9k15 repos~1.1kAutomated safety check: PassApache-2.0
Gws Workflow Email To Taskgoogleworkspace/cli31k—~313Automated safety check: PassApache-2.0
Gsuite Setupswyxio/skills175—~951Automated safety check: PassMIT
Xs Google Workspacekaraage0703/ai-assistant-workspace136—~691Automated safety check: PassMIT

Similar skills

  • Google Workspace

    yc-software/qm

    Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.

    15k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Gog

    trpc-group/trpc-agent-go

    Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

    1.9k GitHub starsUsed in 15 repos~1.1k tokens
    Productivity & AutomationAuto-check passed
  • Gws Workflow Email To Task

    googleworkspace/cli

    Google Workflow: Convert a Gmail message into a Google Tasks entry.

    31k GitHub stars~313 tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Gsuite Setup

    swyxio/skills

    Configure or audit Google Workspace (formerly G Suite) organization settings for open collaboration, user autonomy, external sharing, Groups privacy, Gmail delegation, Calendar, Meet, Chat, Drive…

    175 GitHub stars~951 tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed
  • Xs Google Workspace

    karaage0703/ai-assistant-workspace

    gogcli経由でGmail・Google Drive・Google Calendarを操作するスキル。複数Googleアカウント対応。「メールチェック」「メール確認して」「Driveにアップロード」「Driveのファイル」「Gmailで検索」で使用。

    136 GitHub stars~691 tokensUpdated 15 days ago
    Productivity & AutomationAuto-check passed
  • Gws

    glebis/claude-skills

    This skill should be used when interacting with Google Workspace services via the gws CLI — Gmail (search, triage, send, labels, filters, drafts), Calendar (agenda, events, Meet conferencing), Drive…

    390 GitHub stars~1.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed

More from letta-ai/lettabot

  • Linear

    letta-ai/lettabot

    Manage Linear issues via GraphQL API. An agent skill from letta-ai/lettabot.

    327 GitHub stars~583 tokensUpdated 4 mo ago
    Auto-check passed
  • Lettabot

    letta-ai/lettabot

    Set up and run LettaBot - a multi-channel AI assistant for Telegram, Slack, Discord, WhatsApp, and Signal.

    327 GitHub stars~3.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Scheduling

    letta-ai/lettabot

    Create scheduled tasks and one-off reminders. An agent skill from letta-ai/lettabot.

    327 GitHub stars~852 tokensUpdated 4 mo ago
    Auto-check passed
  • Voice Memo

    letta-ai/lettabot

    Reply with voice memos using text-to-speech. An agent skill from letta-ai/lettabot.

    327 GitHub stars~487 tokensUpdated 4 mo ago
    Auto-check passed
  • Bluesky

    letta-ai/lettabot

    Post, reply, like, and repost on Bluesky using the lettabot-bluesky CLI.

    327 GitHub stars~954 tokensUpdated 4 mo ago
    Auto-check passed
  • Cron

    letta-ai/lettabot

    Create and manage scheduled tasks (cron jobs) that send you messages at specified times.

    327 GitHub stars~814 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Google

What does Google do?

Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Google is an agent skill from letta-ai/lettabot. Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

When should I use Google?

Google fits situations like: tasks that involve Cloud office suites; tasks that involve Email management.

How do I install Google in Claude Code?

Run `npx skills add letta-ai/lettabot --skill google -a claude-code`. Or copy the skill folder (.skills/google in letta-ai/lettabot) into .claude/skills/google in your project. Claude Code loads it when a task matches its description.

How do I install Google in Codex?

Run `npx skills add letta-ai/lettabot --skill google -a codex`. Or copy the skill folder (.skills/google in letta-ai/lettabot) into .agents/skills/google in your project. Codex loads it when a task matches its description.

Can I use Google in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add letta-ai/lettabot --skill google -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google, .gemini/skills/google, .github/skills/google and .opencode/skills/google in your project.

What does Google need to run?

Going by SKILL.md and its folder, Google needs the command-line tools its instructions call (brew).

Does Google access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Google safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Google use?

Google is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google use?

About 774 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Google?

Skills that share tags, products or a category with Google: Google Workspace (yc-software/qm, 15k stars), Gog (trpc-group/trpc-agent-go, 1.9k stars), Gws Workflow Email To Task (googleworkspace/cli, 31k stars) and Gsuite Setup (swyxio/skills, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google?

letta-ai (a GitHub organization) maintains it in letta-ai/lettabot, which has 327 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on May 25, 2026.

Source: letta-ai/lettabot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.