通过命令行统一管理 Gmail、日历、云盘、表格与文档等 Google 工作区任务。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "gog" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/gog/SKILL.md 2. 保存为 ~/.claude/skills/gog/SKILL.md 3. 装好后重载技能,告诉我可以用了
用 gog 帮我查找本周所有未读 Gmail 邮件,并列出我未来 7 天的 Google Calendar 会议,按日期生成一个待办清单。
返回未读邮件摘要、未来会议安排,以及按天整理的待办事项清单。
使用 gog 扫描我的 Google Drive,找出过去 30 天新增的文件,按类型分类,并标记可能重复的文档。
输出新增文件清单、文件类型分类结果,以及疑似重复文件列表。
通过 gog 读取指定的 Google Sheets 销售表和相关 Google Docs 周报,提取关键指标并生成一段项目进展摘要。
返回关键数据指标、文档要点,以及整合后的项目进展摘要。
Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add [email protected] --services gmail,calendar,drive,contacts,docs,sheetsgog auth listCommon commands
gog gmail search 'newer_than:7d' --max 10gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account [email protected]gog gmail send --to [email protected] --subject "Hi" --body "Hello"gog gmail send --to [email protected] --subject "Hi" --body-file ./message.txtgog gmail send --to [email protected] --subject "Hi" --body-file -gog gmail send --to [email protected] --subject "Hi" --body-html "<p>Hello</p>"gog gmail drafts create --to [email protected] --subject "Hi" --body-file ./message.txtgog gmail drafts send <draftId>gog gmail send --to [email protected] --subject "Re: Hi" --body "Reply" --reply-to-message-id <msgId>gog calendar events <calendarId> --from <iso> --to <iso>gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso>gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso> --event-color 7gog calendar update <calendarId> <eventId> --summary "New Title" --event-color 4gog calendar colorsgog drive search "query" --max 10gog contacts list --max 20gog sheets get <sheetId> "Tab!A1:D10" --jsongog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTEREDgog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWSgog sheets clear <sheetId> "Tab!A2:Z"gog sheets metadata <sheetId> --jsongog docs export <docId> --format txt --out /tmp/doc.txtgog docs cat <docId>Calendar Colors
gog calendar colors to see all available event colors (IDs 1-11)--event-color <id> flaggog calendar colors output):
Email Formatting
Prefer plain text. Use --body-file for multi-paragraph messages (or --body-file - for stdin).
Same --body-file pattern works for drafts and replies.
--body does not unescape \n. If you need inline newlines, use a heredoc or $'Line 1\n\nLine 2'.
Use --body-html only when you need rich formatting.
HTML tags: <p> for paragraphs, <br> for line breaks, <strong> for bold, <em> for italic, <a href="url"> for links, <ul>/<li> for lists.
Example (plain text via stdin):
gog gmail send --to [email protected] \
--subject "Meeting Follow-up" \
--body-file - <<'EOF'
Hi Name,
Thanks for meeting today. Next steps:
- Item one
- Item two
Best regards,
Your Name
EOF
Example (HTML list):
gog gmail send --to [email protected] \
--subject "Meeting Follow-up" \
--body-html "<p>Hi Name,</p><p>Thanks for meeting today. Here are the next steps:</p><ul><li>Item one</li><li>Item two</li></ul><p>Best regards,<br>Your Name</p>"
Notes
[email protected] to avoid repeating --account.--json plus --no-input.--values-json (recommended) or as inline rows.…
按模型汇总 CodexBar 本地费用日志,快速查看 Codex 或 Claude 的成本明细。
通过 Obsidian CLI 读写检索知识库笔记、任务、链接与插件配置
帮助你发现并控制 Sonos 音箱,执行播放、音量和分组等操作。
使用本地 Whisper CLI 将音频语音快速转成文本,无需 API 密钥。
用于代码二次审查、调试重构与设计评估的智能开发助手。
帮助用户搜索梗图模板、推荐合适格式并生成可分享的表情包图片。
通过命令行统一管理 Gmail、日历、云盘、表格和文档等 Google 办公服务。
用 AI 统一操作谷歌办公套件,自动处理邮件、日历、文档与云盘协作
让 AI 通过 gogcli 读取、写入并管理 Google 表格数据与表单内容
在 Google 文档套件中统一查找、整理、编辑并协作处理各类文件资产
帮助你自动化操作 Google Workspace,整合邮件、表格与文档流程。
通过 gogcli 连接并完整操作 Google Sheets,支持认证、读写与表格自动化。