Communitygithub.com

gog

Usa `gog` para Gmail/Calendario/Drive/Contactos/Hoja de Cálculo/Docs. Requiere configuración OAuth.

¿Qué es gog?

**gog** es una habilidad de línea de comandos que proporciona acceso unificado a las APIs de Google Workspace (Gmail, Calendario, Drive, Contactos, Hojas de Cálculo y Documentos) desde la terminal. Su principal ventaja es que permite realizar búsquedas, enviar correos, gestionar eventos del calendario, buscar archivos en Drive y manipular datos en hojas de cálculo sin salir del entorno de desarrollo o del agente de IA. Es compatible con cualquier sistema que ejecute Go y esté configurado con OAuth, y está diseñado para integrarse fácilmente con agentes como Claude Code, Cursor o Codex, ya que sus comandos son predecibles y estructurados. La configuración inicial requiere autenticación OAuth mediante un archivo `client_secret.json` y la adición de cuentas de Google con los servicios deseados. Una vez configurado, los comandos son directos y admiten formatos como JSON para salida estructurada, lo que facilita su uso en scripts automatizados. La habilidad maneja formato de texto plano y HTML para correos, y proporciona opciones como `--no-input` y `--json` para entornos sin intervención humana.

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

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace gog?

Usa gog para Gmail/Calendario/Drive/Contactos/Hoja de Cálculo/Docs. Requiere configuración OAuth.

Configuración (una vez)

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

Comandos comunes

  • Búsqueda en Gmail: gog gmail search 'newer_than:7d' --max 10
  • Búsqueda de mensajes de Gmail (por correo, ignora hilos): gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account [email protected]
  • Enviar correo (simple): gog gmail send --to [email protected] --subject "Hola" --body "Hola"
  • Enviar correo (multilínea): gog gmail send --to [email protected] --subject "Hola" --body-file ./mensaje.txt
  • Enviar correo (stdin): gog gmail send --to [email protected] --subject "Hola" --body-file -
  • Enviar correo (HTML): gog gmail send --to [email protected] --subject "Hola" --body-html "<p>Hola</p>"
  • Borrador de Gmail: gog gmail drafts create --to [email protected] --subject "Hola" --body-file ./mensaje.txt
  • Enviar borrador: gog gmail drafts send <idBorrador>
  • Responder correo: gog gmail send --to [email protected] --subject "Re: Hola" --body "Respuesta" --reply-to-message-id <idMsg>
  • Listar eventos del calendario: gog calendar events <idCalendario> --from <iso> --to <iso>
  • Crear evento en el calendario: gog calendar create <idCalendario> --summary "Título" --from <iso> --to <iso>
  • Crear evento con color: gog calendar create <idCalendario> --summary "Título" --from <iso> --to <iso> --event-color 7
  • Actualizar evento del calendario: gog calendar update <idCalendario> <idEvento> --summary "Nuevo Título" --event-color 4
  • Mostrar colores del calendario: gog calendar colors
  • Búsqueda en Drive: gog drive search "consulta" --max 10
  • Contactos: gog contacts list --max 20
  • Obtener hoja de cálculo: gog sheets get <idHoja> "Pestaña!A1:D10" --json
  • Actualizar hoja de cálculo: gog sheets update <idHoja> "Pestaña!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • Añadir a hoja de cálculo: gog sheets append <idHoja> "Pestaña!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • Limpiar hoja de cálculo: gog sheets clear <idHoja> "Pestaña!A2:Z"
  • Metadatos de hoja de cálculo: gog sheets metadata <idHoja> --json
  • Exportar documento: gog docs export <idDoc> --format txt --out /tmp/doc.txt
  • Ver documento: gog docs cat <idDoc>

Colores del Calendario

  • Usa gog calendar colors para ver todos los colores de eventos disponibles (IDs 1-11)
  • Añade colores a los eventos con la bandera --event-color <id>
  • IDs de color de eventos (de la salida 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

Formato de Correo Electrónico

  • Prefiere texto plano. Usa --body-file para mensajes de varios párrafos (o --body-file - para stdin).

  • El mismo patrón de --body-file funciona para borradores y respuestas.

  • --body no escapa \n. Si necesitas saltos de línea en línea, usa un heredoc o $'Línea 1\n\nLínea 2'.

  • Usa --body-html solo cuando necesites formato enriquecido.

  • Etiquetas HTML: <p> para párrafos, <br> para saltos de línea, <strong> para negrita, <em> para cursiva, <a href="url"> para enlaces, <ul>/<li> para listas.

  • Ejemplo (texto plano vía stdin):

    gog gmail send --to [email protected] \
      --subject "Seguimiento de la reunión" \
      --body-file - <<'EOF'
    Hola Nombre,
    
    Gracias por la reunión de hoy. Próximos pasos:
    - Elemento uno
    - Elemento dos
    
    Saludos cordiales,
    Tu Nombre
    EOF
    
  • Ejemplo (lista HTML):

    gog gmail send --to [email protected] \
      --subject "Seguimiento de la reunión" \
      --body-html "<p>Hola Nombre,</p><p>Gracias por la reunión de hoy. Estos son los próximos pasos:</p><ul><li>Elemento uno</li><li>Elemento dos</li></ul><p>Saludos cordiales,<br>Tu Nombre</p>"
    

Notas

  • Configura [email protected] para evitar repetir --account.
  • Para scripts, prefiere --json junto con --no-input.
  • Los valores de las hojas de cálculo se pueden pasar mediante --values-json (recomendado) o como filas en línea.
  • Docs admite exportación/visualización/copia. Las ediciones en el lugar requieren un cliente de la API de Docs (no incluido en gog).
  • Confirma antes de enviar correos o crear eventos.
  • gog gmail search devuelve una fila por hilo; usa gog gmail messages search cuando necesites que cada correo individual se devuelva por separado.

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 relacionados