gogcli について
gogcli は steipete/gogcli を通じて Google Workspace を操作するコマンドラインスキルです。Gmail、Calendar、Drive の例を含み、JSON 出力やコマンドごとのヘルプを利用できます。
主な機能
- 01Gmail の検索と送信
- 02カレンダー予定の一覧表示と作成
- 03Google Drive の検索
- 04JSON 形式での出力
- 05コマンドごとのヘルプ
活用シーン
- 01最近の Gmail メッセージの検索
- 02カレンダー予定の確認や作成
- 03Google Drive 内のレポート検索
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ michalvavra/ agents --skill gogcliインストール後、Claude Code で/gogcliを入力して読み込まれたか確認します。
同梱ファイルreferences/examples.md
詳細
gogcli
steipete/gogcli を介して Google Workspace を利用する CLI です。
例
gog gmail search 'newer_than:7d from:[email protected]'
gog gmail thread <threadId>
gog gmail send --to [email protected] --subject "Hi" --body "Text"
gog calendar events primary --from 2025-01-15T00:00:00Z --to 2025-01-16T00:00:00Z
gog calendar create primary --summary "Meeting" --from <RFC3339> --to <RFC3339>
gog drive search "quarterly report"
gog drive upload ./file.pdf --parent <folderId>
gog drive download <fileId> --out ./file.pdf
gog tasks list <tasklistId>
gog tasks add <tasklistId> --title "Task" --due <RFC3339>
gog contacts search "John"
gog sheets get <spreadsheetId> 'Sheet1!A1:B10'
解析可能な出力には --json を、オプションの確認には任意のコマンドで --help を使用してください。
Gmail のクエリ構文、一括操作、ワークフローについては、references/examples.md を参照してください。
コメント
Markdown 対応