Communitygithub.com

ComeOnOliver/skillshub

使用 `gog` 操作 Gmail、日曆、雲端硬碟、通訊錄、試算表和文件。需要設定 OAuth。

skillshub 是什麼?

此技能提供一個名為 `gog` 的Google API 統一指令列界面,讓開發者能夠在終端機中直接操作 Gmail、Google 日曆、雲端硬碟、通訊錄、Google 試算表和 Google 文件。使用此技能之前需要一次性 OAuth 設定,包括載入用戶端密鑰檔案、授權 Gmail 帳號並指定啟用的服務。主要功能包括:Gmail 搜尋、發送、草稿與回覆(支援純文字與 HTML 格式,可從檔案或標準輸入讀取內容);日曆事件管理(列出、建立、更新,並支援 11 種事件色彩);雲端硬碟搜尋;通訊錄查詢;試算表的讀取、更新、附加與清除;文件匯出與輸出內容。此技能支援 Claude Code、Cursor 等 AI 代理工具,並提供 `--json` 與 `--no-input` 旗標以利腳本化使用。透過環境變數 `GOG_ACCOUNT` 可簡化帳號指定。所有郵件傳送與事件建立均需人工確認,確保操作安全。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/elizaOS/eliza/gog

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

gog

使用 gog 操作 Gmail、日曆、雲端硬碟、通訊錄、試算表和文件。需要設定 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 "Hi" --body "Hello"
  • Gmail 傳送(多行文字):gog gmail send --to [email protected] --subject "Hi" --body-file ./message.txt
  • Gmail 傳送(標準輸入):gog gmail send --to [email protected] --subject "Hi" --body-file -
  • Gmail 傳送(HTML):gog gmail send --to [email protected] --subject "Hi" --body-html "<p>Hello</p>"
  • Gmail 草稿:gog gmail drafts create --to [email protected] --subject "Hi" --body-file ./message.txt
  • Gmail 傳送草稿:gog gmail drafts send <draftId>
  • Gmail 回覆: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 7
  • 日曆更新事件:gog calendar update <calendarId> <eventId> --summary "New Title" --event-color 4
  • 日曆顯示色彩:gog calendar colors
  • 雲端硬碟搜尋:gog drive search "query" --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 進行跳脫處理。若需要內嵌換行,請使用 heredoc 或 $'Line 1\n\nLine 2'。

  • 僅在需要豐富格式時才使用 --body-html。

  • HTML 標籤:<p> 用於段落,<br> 用於換行,<strong> 用於粗體,<em> 用於斜體,<a href="url"> 用於連結,<ul>/<li> 用於列表。

  • 範例(透過標準輸入的純文字):

    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
    
  • 範例(HTML 列表):

    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>"
    

備註

  • 設定 [email protected] 可避免重複使用 --account。
  • 用於腳本時,建議使用 --json 搭配 --no-input。
  • 試算表的值可以透過 --values-json(建議)或內嵌行傳入。
  • 文件支援匯出/輸出內容/複製。原地編輯需要 Docs API 用戶端(不在 gog 中)。
  • 傳送郵件或建立事件前會要求確認。
  • gog gmail search 每個對話串回傳一行;若需要每個個別郵件分別回傳,請使用 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

相關技能