Command-line access to Gmail, Calendar, Drive, Sheets, Docs, Contacts, and Tasks for Google Workspace accounts.

skills.sh installs
621
GitHub stars
4
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Gmail search, read, send, and label changes; Calendar events, creation, and updates; and Drive file listing, transfer, and sharing
  • Includes Sheets read, write, append, format, and export, plus Contacts search and edits and Tasks add, complete, and clear
  • Supports --json and --plain output, --dry-run previews, and --max limits on list results to keep API calls bounded
  • Designed for agent workflows that need to act on personal or team Google Workspace data through shell commands

Install

$ npx -y skills add naoterumaker/openclaw-gog-skills --skill gog -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

gog - Google Workspace CLI (v0.10.0)

Google サービスを操作するCLIツール。

アカウント: your-account@gmail.com (default)

実行パス: gog

Execution Notes

  • exec ツールで実行時、timeout: 60 を指定(API応答待ちのため)
  • 長いリスト取得は --max で制限

Gmail

メール検索

# 基本検索
gog gmail search "検索クエリ"
gog gmail search "from:someone@example.com"
gog gmail search "is:unread" --max 10
gog gmail search "subject:請求書 after:2026/01/01"

# 全ページ取得
gog gmail search "label:重要" --all

検索クエリ例:

  • is:unread - 未読
  • from:xxx - 送信者
  • to:xxx - 宛先
  • subject:xxx - 件名
  • has:attachment - 添付あり
  • after:YYYY/MM/DD - 日付以降
  • label:xxx - ラベル

メール取得

# メッセージ取得
gog gmail get <messageId>
gog gmail get <messageId> --body  # 本文込み

# 添付ファイルダウンロード
gog gmail attachment <messageId> <attachmentId>

メール送信

# 基本送信
gog gmail send --to "recipient@example.com" --subject "件名" --body "本文"

# CC/BCC付き
gog gmail send --to "a@b.com" --cc "c@d.com" --bcc "e@f.com" --subject "件名" --body "本文"

# 添付ファイル付き
gog gmail send --to "a@b.com" --subject "件名" --body "本文" --attach "./file.pdf"

# スレッドに返信
gog gmail send --thread-id <threadId> --to "a@b.com" --subject "Re: 件名" --body "返信本文"

Details

Repository
github.com/naoterumaker/openclaw-gog-skills
Categories
Productivity & Notes, Email & Messaging
First seen
May 16, 2026

More from naoterumaker/openclaw-gog-skills

All 2