用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill gmail命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | gmail |
| description | Read and search Gmail for $USER@gmail.com using gog CLI — authoritative method for all Gmail access |
| type | reference |
| scope | global |
Tool: gog — Google CLI with Gmail/Calendar/Drive/Sheets support
Binary: /opt/homebrew/bin/gog
Auth: macOS keychain (persistent, no re-auth needed)
Account: $USER@gmail.com
# Search (Gmail query syntax)
gog gmail search -a $USER@gmail.com "<query>" --limit 10
# Get full message body by ID
gog gmail get -a $USER@gmail.com <messageId>
# Recent inbox
gog gmail search -a $USER@gmail.com "in:inbox newer_than:1d" --limit 20
# JSON output for scripting
gog gmail search -a $USER@gmail.com "<query>" --json --limit 5
subject:[Consulting] # subject contains [Consulting]
from:noreply@github.com # from a sender
newer_than:1d # last 24 hours
newer_than:1h # last 1 hour
in:inbox is:unread # unread inbox
has:attachment # messages with attachments
ID DATE FROM SUBJECT LABELS
19e656a13d3ad37d 2026-05-26 10:51 AI Universe Contact... [Consulting] New... INBOX
Use the ID with gog gmail get to read the full body.
mcp-agent-mail (that's inter-agent messaging via port 8765, not Gmail)@gongrzhe/server-gmail-autoauth-mcp (not configured)/gmail <query> — calls gog gmail search -a $USER@gmail.com "<query>"