platforms/claude/skills/google-workspace/SKILL.md
Google Workspace read-only via gogcli: Gmail, Drive, Docs, Sheets, Slides, Calendar, Contacts, Tasks, Keep. 查邮件、文件、文档、表格、日程、联系人、任务、笔记。Keywords: gmail email 邮件 drive 云盘 docs sheets calendar 日历 tasks 任务 keep 笔记 gog
npx skillsauth add codingsamss/ai-dotfiles google-workspaceInstall 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.
Access Google Workspace services from the terminal using gogcli (gog). This skill only exposes read-only and safe operations to protect your Google account data.
brew install steipete/tap/gogcligog auth status to verify authenticationCreate OAuth credentials at Google Cloud Console:
Store credentials:
gog auth credentials ~/Downloads/client_secret_*.json
Authorize your account (choose one):
# Recommended: read-only for all services this skill uses
gog auth add [email protected] --services gmail,drive,docs,sheets,slides,calendar,contacts,tasks,keep,people --readonly
# Minimal: only core services
gog auth add [email protected] --services gmail,drive,calendar,contacts --readonly
Verify:
gog auth status
Check authorized services:
gog auth services
Confirm the output includes all services you need. Re-run auth add to add missing ones.
All commands support these flags:
--json / -j - JSON output (structured parsing)--plain / -p - TSV output (simple parsing)--account <email> - Select account (if multiple configured)--max N - Limit number of resultsTriggers: "search email", "find email about", "搜索邮件"
gog gmail search '<query>' --max 10
Uses Gmail search syntax (e.g. from:boss subject:urgent, is:unread, newer_than:1d)
Triggers: "search messages", "find message"
gog gmail messages search '<query>' --max 10 --include-body
Triggers: "read email", "show thread", "查看邮件"
gog gmail thread get <threadId>
Add --download --out-dir ./attachments to save attachments.
Triggers: "read message", "get message"
gog gmail get <messageId>
Triggers: "download attachment", "下载附件"
gog gmail attachment <messageId> <attachmentId> --out ~/Downloads/
Triggers: "email labels", "gmail labels", "邮件标签"
gog gmail labels list
Triggers: "email filters", "gmail filters"
gog gmail filters list
Triggers: "my drafts", "草稿"
gog gmail drafts list --max 10
Triggers: "list files", "show drive", "drive files", "云盘文件"
gog drive ls --max 20
gog drive ls --parent <folderId> --max 20
Triggers: "search drive", "find file", "搜索文件"
gog drive search '<query>' --max 10
Triggers: "file info", "file details"
gog drive get <fileId>
Triggers: "download file", "export file", "下载文件"
gog drive download <fileId> --out ~/Downloads/
gog drive download <fileId> --format pdf
Supported formats: pdf, docx, pptx, xlsx, csv, txt, png
Triggers: "file permissions", "who has access"
gog drive permissions <fileId>
Triggers: "shared drives", "team drives"
gog drive drives --max 20
Triggers: "file comments", "文件评论"
gog drive comments list <fileId> --max 20
Triggers: "read doc", "show document", "读文档", "文档内容"
gog docs cat <docId>
Triggers: "doc info", "document details"
gog docs info <docId>
Triggers: "doc tabs", "document tabs"
gog docs list-tabs <docId>
Triggers: "export doc", "导出文档"
gog docs export <docId> --format pdf --out ~/Downloads/
Supported formats: pdf, docx, txt
Triggers: "read sheet", "show spreadsheet", "读表格", "表格数据"
gog sheets get <spreadsheetId> 'Sheet1!A1:Z100'
Triggers: "sheet info", "spreadsheet info"
gog sheets metadata <spreadsheetId>
Triggers: "export sheet", "导出表格"
gog sheets export <spreadsheetId> --format xlsx --out ~/Downloads/
Supported formats: pdf, xlsx
Triggers: "slides info", "presentation info", "幻灯片信息"
gog slides info <presentationId>
Triggers: "list slides", "show slides", "查看幻灯片"
gog slides list-slides <presentationId>
Triggers: "read slide", "slide content"
gog slides read-slide <presentationId> <slideId>
Triggers: "export slides", "导出幻灯片"
gog slides export <presentationId> --format pdf --out ~/Downloads/
Supported formats: pdf, pptx
Triggers: "my calendars", "list calendars", "我的日历"
gog calendar calendars
Triggers: "today's events", "what's on today", "今天的日程", "今日安排"
gog calendar events primary --today
Triggers: "this week", "weekly schedule", "本周日程"
gog calendar events primary --week
Triggers: "events from [date] to [date]", "日程查询"
gog calendar events primary --from <YYYY-MM-DD> --to <YYYY-MM-DD>
Relative time example: --from today --to tomorrow, or --days 7
Triggers: "search calendar", "find event", "搜索日程"
gog calendar search '<query>' --days 30
Triggers: "event details", "show event"
gog calendar event primary <eventId>
Triggers: "am I free", "check availability", "空闲时间"
gog calendar freebusy --calendars primary --from <start> --to <end>
Triggers: "any conflicts", "日程冲突"
gog calendar conflicts --calendars primary --today
Triggers: "my contacts", "list contacts", "通讯录", "联系人列表"
gog contacts list --max 50
Triggers: "search contacts", "find contact", "查找联系人"
gog contacts search '<query>' --max 20
Triggers: "contact info", "联系人详情"
gog contacts get <resourceNameOrEmail>
Triggers: "my task lists", "任务列表"
gog tasks lists
Triggers: "my tasks", "show tasks", "查看任务"
gog tasks list <tasklistId> --max 50
Triggers: "task details", "任务详情"
gog tasks get <tasklistId> <taskId>
Triggers: "my notes", "list keep notes", "笔记列表"
gog keep list
Triggers: "read note", "show note", "查看笔记"
gog keep get <noteId>
Triggers: "search notes", "搜索笔记"
gog keep search '<query>'
Triggers: "google auth", "gog status", "检查认证"
gog auth status
Triggers: "google accounts", "gog accounts"
gog auth list
Triggers: "google whoami", "gog whoami"
gog people me
--accountThis skill only allows the read-only commands listed above. All write, modify, and delete operations are intentionally excluded. For the full list of excluded commands, see references/excluded-commands.md.
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。