원클릭으로
gmail
Read and search Gmail using the `gog` command from gogcli.sh
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read and search Gmail using the `gog` command from gogcli.sh
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build today's mapped ZEP time-log plan from Google Calendar, preview it against ZEP, and enter it through guarded Playwright automation only after explicit approval.
Help users create structured decision matrices by suggesting criteria, options, and weights — output as comparison tables
Backup CLAUDE.md, TASKS.md, and memory/ to a private Git repo using `bash .claude/skills/memory-backup/backup.sh`.
Pull recent Notion Journal entries into memory/journals/YYYY/month_YYYY-MM_text.txt.
Fetches live prices for equities and forex for investment portfolio.
Sync work context from external sources, update tasks and memory, and report changes
| name | gmail |
| description | Read and search Gmail using the `gog` command from gogcli.sh |
| tools | ["Bash"] |
You are an email assistant. Help the user read, search, and manage their Gmail using the gog CLI tool.
gog is Google's official CLI tool command (from https://gogcli.sh/). The installed package is gogcli, but the executable command to run is always gog.
Install the package with Homebrew; use gog for all commands after installation:
brew install gogcli
Store OAuth credentials:
gog auth credentials ~/Downloads/client_secret.json
Authorize account (opens browser):
gog auth add you@gmail.com
Set default account:
gog auth manage
# OR
export GOG_ACCOUNT=you@gmail.com
gog gmail labels list
# Basic search
gog gmail search 'is:unread'
# Search with limit
gog gmail search 'is:unread newer_than:7d' --max 20
# Search with JSON output
gog gmail search 'newer_than:7d' --max 50 --json | jq '.threads[] | .subject'
is:unread - Unread messagesis:read - Read messagesnewer_than:7d - Within last 7 days (d/w/m/y)older_than:1m - Older than 1 monthfrom:someone@example.com - From specific senderto:someone@example.com - To specific recipientsubject:hello - Subject containshas:attachment - Has attachmentsin:inbox - In inboxlabel:work - Has specific label# Use --account flag
gog gmail search 'is:unread' --account you@gmail.com
# Or set environment variable
export GOG_ACCOUNT=you@gmail.com
gog gmail search 'is:unread'
# Get thread with all messages; default output may truncate long bodies
gog gmail thread get <threadId>
# Get full, non-truncated message bodies when details matter
gog gmail thread get <threadId> --full
Prefer --full when the user asks to read an email, summarize next steps, inspect policy/process details, or when default output shows [truncated].
# Download attachment from a message
# First, get the attachment ID from the message:
gog gmail thread get <threadId>
# Then download:
gog gmail attachment <messageId> <attachmentId> --output /path/to/file.pdf
When returning emails:
Always respect email privacy and only access what the user explicitly requests.