Add Gmail
sbusso/claudeclaw
Add Gmail integration to ClaudeClaw. An agent skill from sbusso/claudeclaw.
Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
$ npx skills add badlogic/pi-skills --skill gmcli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install badlogic/pi-skills gmcli --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/gmcli .claude/skills/gmcli && rm -rf skills-srcUse ~/.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/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .claude/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/badlogic/pi-skills/tree/main/gmcliType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add badlogic/pi-skills --skill gmcli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install badlogic/pi-skills gmcli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/gmcli .agents/skills/gmcli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .agents/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add badlogic/pi-skills --skill gmcli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install badlogic/pi-skills gmcli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/gmcli .cursor/skills/gmcli && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .cursor/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/badlogic/pi-skills.git --path gmcli--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add badlogic/pi-skills --skill gmcli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install badlogic/pi-skills gmcli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/gmcli .gemini/skills/gmcli && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .gemini/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install badlogic/pi-skills gmcliInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add badlogic/pi-skills --skill gmcli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/gmcli .github/skills/gmcli && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .github/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add badlogic/pi-skills --skill gmcli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install badlogic/pi-skills gmcli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/badlogic/pi-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/gmcli .opencode/skills/gmcli && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gmcli" agent skill from https://github.com/badlogic/pi-skills/tree/main/gmcli into .opencode/skills/gmcli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gmcli", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gmcliGmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
Gmcli is an agent skill from badlogic/pi-skills. Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
Its SKILL.md is about 470 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 Email management. It works with Gmail and Google Cloud. The repository describes itself as: Skills for pi coding agent (compatible with Claude Code and Codex CLI). The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 90bb51c. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
console.cloud.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gmcli loads about 470 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 190 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from badlogic/pi-skills at commit 90bb51c, republished under its MIT licence (© badlogic). 190 words, ~470 tokens.
.claude/skills/gmcli/SKILL.md (or your agent's skills folder).Command-line interface for Gmail operations.
npm install -g @mariozechner/gmcliFirst check if already configured:
gmcli accounts listIf no accounts, guide the user through setup:
gmcli accounts credentials ~/path/to/credentials.jsongmcli accounts add <email> (use --manual for browserless OAuth)Run gmcli --help for full command reference.
Common operations:
gmcli <email> search "<query>" - Search emails using Gmail query syntaxgmcli <email> thread <threadId> - Read a thread with all messagesgmcli <email> send --to <emails> --subject <s> --body <b> - Send emailgmcli <email> labels list - List all labelsgmcli <email> drafts list - List drafts~/.gmcli/credentials.json - OAuth client credentials~/.gmcli/accounts.json - Account tokens~/.gmcli/attachments/ - Downloaded attachments© badlogic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in gmcli of badlogic/pi-skills.
Open the folder on GitHubat commit 90bb51c
Gmcli 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gmcli this skillbadlogic/pi-skills | 2.6k | — | ~470 | Automated safety check: Pass | MIT | |
| Add Gmailsbusso/claudeclaw | 194 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Gmail Inbox Watchergoogleworkspace/cli | 31k | 1 repos | ~476 | Automated safety check: Pass | Apache-2.0 | |
| GCP Workspace Pivotwgpsec/AboutSecurity | 1.8k | — | ~2.9k | Automated safety check: Pass | None | |
| Google Workspaceericrisco/rsc-harness | 156 | — | ~3.2k | Automated safety check: Pass | MIT | |
| Google WorkspaceAlexAI-MCP/hermes-CCC | 135 | — | ~1.2k | Automated safety check: Pass | MIT |
sbusso/claudeclaw
Add Gmail integration to ClaudeClaw. An agent skill from sbusso/claudeclaw.
googleworkspace/cli
Streams new Gmail messages as NDJSON from the gws command line tool using Google Pub/Sub, with label filters, batch settings and optional per-message files.
wgpsec/AboutSecurity
GCP 到 Google Workspace 的穿越攻击方法论。当已获取 GCP Service Account 或 Project 权限并发现目标组织使用 Google Workspace、需要从云平台穿越到企业邮件/文档/管理控制台、或发现 Domain-Wide Delegation 配置时使用。覆盖 Domain-Wide Delegation 滥用、OAuth…
ericrisco/rsc-harness
A skill your agent uses when server-side code reads or writes Gmail, Drive, Calendar, or Sheets with a GCP service account and no human in the OAuth loop: picking the auth mode (app-owned vs…
AlexAI-MCP/hermes-CCC
Automate Google Workspace — Gmail, Drive, Sheets, Docs, Calendar via Google API Python client or gcloud CLI.
google/adk-recipes
Install/auth CLIs the sandbox lacks - gws (Drive, Gmail, Sheets, Calendar), gcloud, agents-cli, mcp-cli (MCP servers).
badlogic/pi-skills
Web search and content extraction via Brave Search API. An agent skill from badlogic/pi-skills.
badlogic/pi-skills
Google Drive CLI for listing, searching, uploading, downloading, and sharing files and folders.
badlogic/pi-skills
Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability.
badlogic/pi-skills
Fetch transcripts from YouTube videos for summarization and analysis.
badlogic/pi-skills
Local speech-to-text transcription on Apple Silicon macOS. An agent skill from badlogic/pi-skills.
Works with
Categories
Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments. Gmcli is an agent skill from badlogic/pi-skills. Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
Gmcli fits situations like: tasks that involve Email management.
Run `npx skills add badlogic/pi-skills --skill gmcli -a claude-code`. Or copy the skill folder (gmcli in badlogic/pi-skills) into .claude/skills/gmcli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add badlogic/pi-skills --skill gmcli -a codex`. Or copy the skill folder (gmcli in badlogic/pi-skills) into .agents/skills/gmcli in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add badlogic/pi-skills --skill gmcli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gmcli, .gemini/skills/gmcli, .github/skills/gmcli and .opencode/skills/gmcli in your project.
Going by SKILL.md and its folder, Gmcli needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: console.cloud.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gmcli is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 470 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gmcli: Add Gmail (sbusso/claudeclaw, 194 stars), Gmail Inbox Watcher (googleworkspace/cli, 31k stars), GCP Workspace Pivot (wgpsec/AboutSecurity, 1.8k stars) and Google Workspace (ericrisco/rsc-harness, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
badlogic (a GitHub user) maintains it in badlogic/pi-skills, which has 2,589 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 6, 2026.
Source: badlogic/pi-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.