Communitygithub.com

gog

Utilisez `gog` pour Gmail, Agenda, Drive, Contacts, Sheets et Docs. Nécessite une configuration OAuth.

Qu'est-ce que gog ?

Cette compétence définit l'agent `gog` pour interagir avec l'API Workspace de Google, couvrant Gmail, Agenda, Drive, Contacts, Sheets et Docs. Elle est essentielle pour les développeurs et les utilisateurs d'agents IA qui ont besoin d'automatiser des tâches de productivité : recherche et envoi de courriels, gestion d'événements d'agenda, localisation de fichiers, consultation de contacts, lecture et mise à jour de feuilles de calcul, et exportation de documents. La compétence nécessite une configuration OAuth unique avec `gog auth credentials` et `gog auth add`. Une fois configurée, elle expose une interface en ligne de commande cohérente avec des sous-commandes pour chaque service. Les fonctionnalités notables incluent la recherche de courriels avec ou sans threading, l'envoi de courriels en texte brut ou HTML, la gestion des brouillons et des réponses, la création d'événements d'agenda avec des couleurs personnalisées, l'exportation de documents, et la manipulation de données de feuilles de calcul. La compétence privilégie le texte brut pour les courriels et propose des méthodes pratiques pour les messages multi-paragraphes via `--body-file`. Elle est destinée à être utilisée dans des environnements de terminal ou des scripts, et elle est compatible avec les agents d'IA en ligne de commande comme Claude Code, Cursor, ou Codex.

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

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait gog ?

Utilisez gog pour Gmail, Agenda, Drive, Contacts, Sheets et Docs. Nécessite une configuration OAuth.

Configuration (une fois)

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

Commandes courantes

  • Recherche Gmail : gog gmail search 'newer_than:7d' --max 10
  • Recherche de messages Gmail (par email, ignore le threading) : gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account [email protected]
  • Envoi Gmail (simple) : gog gmail send --to [email protected] --subject "Salut" --body "Bonjour"
  • Envoi Gmail (multi-ligne) : gog gmail send --to [email protected] --subject "Salut" --body-file ./message.txt
  • Envoi Gmail (stdin) : gog gmail send --to [email protected] --subject "Salut" --body-file -
  • Envoi Gmail (HTML) : gog gmail send --to [email protected] --subject "Salut" --body-html "<p>Bonjour</p>"
  • Brouillon Gmail : gog gmail drafts create --to [email protected] --subject "Salut" --body-file ./message.txt
  • Envoyer un brouillon Gmail : gog gmail drafts send <draftId>
  • Répondre Gmail : gog gmail send --to [email protected] --subject "Re: Salut" --body "Réponse" --reply-to-message-id <msgId>
  • Lister les événements de l'agenda : gog calendar events <calendarId> --from <iso> --to <iso>
  • Créer un événement dans l'agenda : gog calendar create <calendarId> --summary "Titre" --from <iso> --to <iso>
  • Créer un événement avec couleur : gog calendar create <calendarId> --summary "Titre" --from <iso> --to <iso> --event-color 7
  • Mettre à jour un événement : gog calendar update <calendarId> <eventId> --summary "Nouveau titre" --event-color 4
  • Afficher les couleurs de l'agenda : gog calendar colors
  • Recherche Drive : gog drive search "requête" --max 10
  • Contacts : gog contacts list --max 20
  • Lire une feuille de calcul : gog sheets get <sheetId> "Tab!A1:D10" --json
  • Mettre à jour une feuille de calcul : gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • Ajouter à une feuille de calcul : gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • Effacer une feuille de calcul : gog sheets clear <sheetId> "Tab!A2:Z"
  • Métadonnées d'une feuille de calcul : gog sheets metadata <sheetId> --json
  • Exporter un document : gog docs export <docId> --format txt --out /tmp/doc.txt
  • Afficher un document : gog docs cat <docId>

Couleurs de l'agenda

  • Utilisez gog calendar colors pour voir toutes les couleurs d'événement disponibles (IDs 1-11)
  • Ajoutez des couleurs aux événements avec le drapeau --event-color <id>
  • IDs des couleurs d'événement (d'après la sortie de 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

Formatage des courriels

  • Préférez le texte brut. Utilisez --body-file pour les messages multi-paragraphes (ou --body-file - pour stdin).

  • Le même motif --body-file fonctionne pour les brouillons et les réponses.

  • --body n'échappe pas \n. Si vous avez besoin de retours à la ligne en ligne, utilisez un heredoc ou $'Ligne 1\n\nLigne 2'.

  • Utilisez --body-html uniquement lorsque vous avez besoin d'un formatage riche.

  • Balises HTML : <p> pour les paragraphes, <br> pour les sauts de ligne, <strong> pour le gras, <em> pour l'italique, <a href="url"> pour les liens, <ul>/<li> pour les listes.

  • Exemple (texte brut via stdin) :

    gog gmail send --to [email protected] \
      --subject "Suivi de réunion" \
      --body-file - <<'EOF'
    Bonjour Nom,
    
    Merci pour la réunion d'aujourd'hui. Prochaines étapes :
    - Élément un
    - Élément deux
    
    Cordialement,
    Votre Nom
    EOF
    
  • Exemple (liste HTML) :

    gog gmail send --to [email protected] \
      --subject "Suivi de réunion" \
      --body-html "<p>Bonjour Nom,</p><p>Merci pour la réunion d'aujourd'hui. Voici les prochaines étapes :</p><ul><li>Élément un</li><li>Élément deux</li></ul><p>Cordialement,<br>Votre Nom</p>"
    

Remarques

  • Définissez [email protected] pour éviter de répéter --account.
  • Pour les scripts, préférez --json avec --no-input.
  • Les valeurs des feuilles de calcul peuvent être transmises via --values-json (recommandé) ou sous forme de lignes en ligne.
  • Docs prend en charge l'exportation, l'affichage et la copie. Les modifications en place nécessitent un client API Docs (pas dans gog).
  • Confirmez avant d'envoyer un courriel ou de créer un événement.
  • gog gmail search retourne une ligne par fil de discussion ; utilisez gog gmail messages search lorsque vous avez besoin de chaque courriel individuel retourné séparément.

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

Skills associés