Communitygithub.com

ComeOnOliver/skillshub

Gmail、カレンダー、ドライブ、連絡先、スプレッドシート、ドキュメントに`gog`を使用します。OAuthの設定が必要です。

skillshub とは?

このスキルは、Googleの主要サービス(Gmail、カレンダー、ドライブ、連絡先、スプレッドシート、ドキュメント)にCLIツール`gog`を介してアクセスするための設定と使用方法を提供します。初回はOAuth認証を設定する必要がありますが、その後はメールの検索・送信、カレンダーイベントの作成・更新、ファイル検索、スプレッドシートの読み書き、ドキュメントのエクスポートなど、様々な操作をコマンドラインから実行できます。このスキルはClaude CodeやCursor、Codexなどのエージェントで使用でき、`gog`コマンドを直接呼び出すことで、Google Workspaceのデータ操作を含む複雑なワークフローを自動化できます。スクリプト化やパイプラインへの組み込みを容易にするため、`--json`フラグや`--no-input`オプションもサポートされています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/elizaOS/eliza/gog

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

gog

Gmail、カレンダー、ドライブ、連絡先、スプレッドシート、ドキュメントにgogを使用します。OAuthの設定が必要です。

セットアップ(一度だけ)

  • gog auth credentials /path/to/client_secret.json
  • gog auth add [email protected] --services gmail,calendar,drive,contacts,docs,sheets
  • gog auth list

よく使うコマンド

  • Gmail検索:gog gmail search 'newer_than:7d' --max 10
  • Gmailメッセージ検索(メール単位、スレッドは無視):gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account [email protected]
  • Gmail送信(プレーンテキスト):gog gmail send --to [email protected] --subject "件名" --body "こんにちは"
  • Gmail送信(複数行):gog gmail send --to [email protected] --subject "件名" --body-file ./message.txt
  • Gmail送信(標準入力):gog gmail send --to [email protected] --subject "件名" --body-file -
  • Gmail送信(HTML):gog gmail send --to [email protected] --subject "件名" --body-html "<p>こんにちは</p>"
  • Gmail下書き:gog gmail drafts create --to [email protected] --subject "件名" --body-file ./message.txt
  • Gmail下書き送信:gog gmail drafts send <draftId>
  • Gmail返信:gog gmail send --to [email protected] --subject "Re: 件名" --body "返信" --reply-to-message-id <msgId>
  • カレンダーイベント一覧:gog calendar events <calendarId> --from <iso> --to <iso>
  • カレンダーイベント作成:gog calendar create <calendarId> --summary "タイトル" --from <iso> --to <iso>
  • カレンダーイベント作成(色指定):gog calendar create <calendarId> --summary "タイトル" --from <iso> --to <iso> --event-color 7
  • カレンダーイベント更新:gog calendar update <calendarId> <eventId> --summary "新しいタイトル" --event-color 4
  • カレンダー色一覧:gog calendar colors
  • ドライブ検索:gog drive search "クエリ" --max 10
  • 連絡先:gog contacts list --max 20
  • スプレッドシート取得:gog sheets get <sheetId> "Tab!A1:D10" --json
  • スプレッドシート更新:gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • スプレッドシート追加:gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • スプレッドシートクリア:gog sheets clear <sheetId> "Tab!A2:Z"
  • スプレッドシートメタデータ:gog sheets metadata <sheetId> --json
  • ドキュメントエクスポート:gog docs export <docId> --format txt --out /tmp/doc.txt
  • ドキュメント表示:gog docs cat <docId>

カレンダーの色

  • gog calendar colors で利用可能なすべてのイベント色(ID 1~11)を確認できます。
  • イベントに色を追加するには --event-color <id> フラグを使用します。
  • イベント色ID(gog calendar colors の出力から):
    • 1: #a4bdfc
    • 2: #7ae7bf
    • 3: #dbadff
    • 4: #ff887c
    • 5: #fbd75b
    • 6: #ffb878
    • 7: #46d6db
    • 8: #e1e1e1
    • 9: #5484ed
    • 10: #51b749
    • 11: #dc2127

メールの書式設定

  • プレーンテキストを推奨します。複数段落のメッセージには --body-file を使用してください(標準入力の場合は --body-file -)。

  • 下書きや返信でも同じ --body-file パターンが機能します。

  • --body は \n をエスケープしません。インラインで改行が必要な場合は、ヒアドキュメントまたは $'Line 1\n\nLine 2' を使用してください。

  • リッチな書式設定が必要な場合のみ --body-html を使用します。

  • HTMLタグ:<p> は段落、<br> は改行、<strong> は太字、<em> は斜体、<a href="url"> はリンク、<ul>/<li> はリストです。

  • 例(標準入力からのプレーンテキスト):

    gog gmail send --to [email protected] \
      --subject "ミーティングフォローアップ" \
      --body-file - <<'EOF'
    山田様
    
    本日はミーティングありがとうございました。今後のステップは以下の通りです:
    - 項目1
    - 項目2
    
    よろしくお願いいたします。
    あなたの名前
    EOF
    
  • 例(HTMLリスト):

    gog gmail send --to [email protected] \
      --subject "ミーティングフォローアップ" \
      --body-html "<p>山田様、</p><p>本日はミーティングありがとうございました。今後のステップは以下の通りです:</p><ul><li>項目1</li><li>項目2</li></ul><p>よろしくお願いいたします。<br>あなたの名前</p>"
    

注意事項

  • [email protected] を設定すると、--account を毎回指定する必要がなくなります。
  • スクリプト化する場合は、--json と --no-input を推奨します。
  • スプレッドシートの値は --values-json(推奨)またはインライン行として渡せます。
  • ドキュメントはエクスポート、表示、コピーをサポートしています。インプレース編集にはDocs APIクライアントが必要です(gogには含まれていません)。
  • メール送信やイベント作成の前に確認を促します。
  • gog gmail search はスレッドごとに1行を返します。個々のメールを個別に取得する必要がある場合は、gog gmail messages search を使用してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル