.claude/skills/gmail/SKILL.md
gogcli를 사용하여 Gmail 메일을 검색, 조회, 발송하는 skill. "메일 검색해줘", "이메일 보내줘", "gmail search", "메일 확인해줘", "최근 메일", "메일 답장", "gmail send", "메일 보내줘", "안 읽은 메일" 등 Gmail 관련 요청에 트리거된다.
npx skillsauth add greatsumini/cc-system gmailInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
gogcli(gog) CLI를 사용하여 Gmail 메일을 검색, 조회, 발송한다.
gmail/
├── SKILL.md
└── references/
└── gog-gmail-commands.md # 주요 명령어 레퍼런스
스크립트 없이 gog CLI를 직접 실행한다.
which gog
명령이 실패하면 사용자에게 설치를 안내한다:
gogcli 설치 안내
brew install gogcli설치 완료 후 다시 시도해주세요.
설치가 확인되면 다음 단계로 진행한다.
gog auth list
계정이 없으면 OAuth 설정을 안내한다:
Gmail 인증 설정 가이드
- Google Cloud Console에서 프로젝트 생성
- Gmail API 활성화
- OAuth 동의 화면 설정 → 테스트 사용자 추가
- OAuth 클라이언트 생성 → "Desktop app" → JSON 다운로드
- 터미널에서 아래 명령 실행:
gog auth credentials ~/Downloads/client_secret_....json gog auth add <[email protected]> --services gmail브라우저가 열리면 Google 계정으로 로그인하여 권한을 허용해주세요.
인증이 확인되면 GOG_ACCOUNT 환경변수 또는 --account 플래그로 계정을 지정한다.
사용자 요청을 아래 중 하나로 분류하여 실행한다.
gog gmail search '<Gmail 검색 쿼리>' --max <N> --json
자주 쓰는 검색 쿼리:
newer_than:7dis:unreadfrom:[email protected]has:attachmentfrom:[email protected] newer_than:3d is:unreadgog gmail messages search '<query>' --max <N> --include-body --json
gog gmail thread get <threadId> --json
gog gmail get <messageId> --json
gog gmail send --to <수신자> --subject "<제목>" --body "<본문>"
CC/BCC 추가:
gog gmail send --to <수신자> --cc <참조> --bcc <숨은참조> --subject "<제목>" --body "<본문>"
HTML 본문:
gog gmail send --to <수신자> --subject "<제목>" --body "Plain fallback" --body-html "<p>HTML 본문</p>"
gog gmail send --reply-to-message-id <messageId> --quote --to <수신자> --subject "Re: <원제목>" --body "<답장 내용>"
gog gmail labels list --json
gog gmail thread get <threadId> --download --out-dir <다운로드경로>
# 초안 목록
gog gmail drafts list --json
# 초안 생성
gog gmail drafts create --to <수신자> --subject "<제목>" --body "<본문>"
# 초안 발송
gog gmail drafts send <draftId>
JSON 결과를 파싱하여 사용자에게 읽기 좋게 정리한다:
--json 플래그를 붙여 파싱 가능한 출력을 얻는다GOG_ACCOUNT 환경변수가 설정되어 있으면 우선 사용한다--max 플래그로 결과 수를 제한한다.--track 옵션으로 읽음 추적이 가능하나, 사전 설정이 필요하다.data-ai
유튜브 채널을 등록하고 새 컨텐츠를 수집하여 자막 기반 요약을 생성하는 skill. 사용자가 (1) 유튜브 채널 등록/관리를 요청하거나, (2) 등록된 채널의 새 영상 수집을 요청하거나, (3) 유튜브 영상 요약을 요청할 때 사용. 데이터는 .reference/ 폴더에 YAML 형식으로 저장됨.
tools
Create specialized Claude Code sub-agents with custom system prompts and tool configurations. Use when users ask to create a new sub-agent, custom agent, specialized assistant, or want to configure task-specific AI workflows for Claude Code.
development
Guide for creating Claude Code slash commands. Use when the user wants to create a new slash command, update an existing slash command, or asks about slash command syntax, frontmatter options, or best practices.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.