agentleFS
TomokiIchiTomokiIchi/my-claude-skills/skills/gog/SKILL.md

gog

Skill1 starsChanged 10 months agoMITView on GitHub

Google Workspace CLI for Tasks, Sheets, Calendar, Gmail, Drive, Docs. Use when managing Google Tasks, reading/writing Sheets, creating calendar events, sending emails, or accessing Drive/Docs.

20 other projects use a version of this, 14 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use bluebubbles, openai-whisper-api and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seedprodSkill

    bluebubbles

    Build or update the BlueBubbles external channel plugin for OpenClaw (extension package, REST send/probe, webhook inbound).

    Also in 4 projects that use this

  • seedprodSkill

    openai-whisper-api

    Transcribe audio via OpenAI Audio Transcriptions API (Whisper).

    Also in 5 projects that use this

  • AlekseiULSkill

    TubeScribe

    YouTube video summarizer with speaker detection, formatted documents, and audio output. Works out of the box with macOS built-in TTS. Optional recommended tools (pandoc, ffmpeg, mlx-audio) enhance quality. Requires internet for YouTube access. No paid APIs or subscriptions. Use when user sends a YouTube URL or asks to summarize/transcribe a YouTube video.

    Also in 3 projects that use this

  • +9 more from seedprod

The file

Files
SKILL.md

gog

gog で Google Tasks / Sheets / Calendar / Gmail / Drive / Docs を操作する。

使用時の振る舞い

  1. ユーザーの要求を解析し、対象サービスを特定
  2. 必要なパラメータ(ID、日付等)を確認
  3. コマンドを実行

確認なしで実行可: 一覧取得、メタデータ取得 ユーザー確認が必要: 作成・更新・削除、メール送信

セットアップ(初回のみ)

# OAuth認証情報を登録
gog auth credentials set /path/to/client_secret.json --client=<client-name>

# アカウント追加
gog auth add you@example.com --client=<client-name>

# 確認
gog auth list

Tasks(タスク管理)

# タスクリスト一覧
gog tasks lists list

# タスク一覧
gog tasks list <tasklistId>

# タスク追加
gog tasks add <tasklistId> --title "タスク名" --notes "詳細" --due <YYYY-MM-DD>

# 繰り返しタスク追加
gog tasks add <tasklistId> --title "日次タスク" --repeat daily --repeat-count 7

# タスク完了
gog tasks done <tasklistId> <taskId>

# タスク未完了に戻す
gog tasks undo <tasklistId> <taskId>

# タスク更新
gog tasks update <tasklistId> <taskId> --title "新タイトル" --due <YYYY-MM-DD>

# タスク削除
gog tasks delete <tasklistId> <taskId>

# 完了済みタスクをクリア
gog tasks clear <tasklistId>

Sheets(スプレッドシート)

# セル取得
gog sheets get <sheetId> "Sheet1!A1:D10" --json

# セル更新
gog sheets update <sheetId> "Sheet1!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED

# 行追加
gog sheets append <sheetId> "Sheet1!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS

# セルクリア
gog sheets clear <sheetId> "Sheet1!A2:Z"

# メタデータ取得
gog sheets metadata <sheetId> --json

Calendar(カレンダー)

# 今日の予定
gog calendar events --today

# 期間指定
gog calendar events <calendarId> --from <YYYY-MM-DD> --to <YYYY-MM-DD>

# 予定作成
gog calendar create <calendarId> --summary "ミーティング" --from <ISO8601> --to <ISO8601>

# 予定作成(カラー付き)
gog calendar create <calendarId> --summary "重要" --from <iso> --to <iso> --event-color 11

# 予定更新
gog calendar update <calendarId> <eventId> --summary "新タイトル" --event-color 4

# カラー一覧
gog calendar colors

カレンダーカラー

ID色
1#a4bdfc
2#7ae7bf
3#dbadff
4#ff887c
5#fbd75b
6#ffb878
7#46d6db
8#e1e1e1
9#5484ed
10#51b749
11#dc2127

Gmail

# 検索(スレッド単位)
gog gmail search 'newer_than:7d' --max 10

# 検索(メッセージ単位)
gog gmail messages search "in:inbox from:example.com" --max 20

# 送信(プレーンテキスト)
gog gmail send --to a@b.com --subject "件名" --body "本文"

# 送信(ファイルから)
gog gmail send --to a@b.com --subject "件名" --body-file ./message.txt

# 送信(stdin)
gog gmail send --to a@b.com --subject "件名" --body-file - <<'EOF'
本文をここに記載

複数行対応
EOF

# 下書き作成
gog gmail drafts create --to a@b.com --subject "件名" --body-file ./message.txt

# 下書き送信
gog gmail drafts send <draftId>

# 返信
gog gmail send --to a@b.com --subject "Re: 件名" --body "返信" --reply-to-message-id <msgId>

Drive

# ファイル一覧
gog drive ls

# 検索
gog drive search "query" --max 10

Docs

# エクスポート
gog docs export <docId> --format txt --out /tmp/doc.txt

# 内容表示
gog docs cat <docId>

エラーハンドリング

エラー対処
認証エラーgog auth list で確認し、再認証を案内
権限エラーアクセス権限がないことを報告
ID不存在IDが正しいか確認を求める

要求解釈ガイド

「予定を確認して」: 期間指定がなければ --today を使用

「タスクを追加して」: tasklistIdが複数ある場合は一覧を表示して選択を求める

「メールを送って」: 宛先・件名・本文を確認後、下書き作成 → 確認 → 送信

Tips

  • --json でJSON出力(スクリプト向け)
  • --no-input で確認プロンプトをスキップ(CI向け)
  • --account=you@example.com でアカウント指定

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.