Langsung ke konten
Skillpedia
Otomatisasi260k Β· #607

google-workspace

Fungsinya

Skill ini menghubungkan AI Anda ke akun Google Anda, sehingga dapat membaca dan mengelola Gmail, Calendar, Drive, Kontak, Docs, dan Sheets. Skill ini ditujukan untuk orang yang menjalankan pekerjaan dan kehidupan mereka melalui layanan Google.

Kapan dipakai

  • βœ“Saat Anda meminta AI memeriksa atau mengelola Gmail, Calendar, atau Drive Anda.
  • βœ“Saat Anda menginginkan ringkasan harian kalender dan email yang perlu perhatian.
  • βœ“Saat Anda ingin membuat atau mengubah Google Doc atau Sheet.

Link skill

https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/google-workspace/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/google-workspace/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa kalender saya untuk besok dan beri tahu saya email klien mana yang perlu dibalas hari ini.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memakai persetujuan masuk Google satu kali dan pembungkus baris perintah. Skill menjalankan alat Google untuk setiap permintaan dan mengembalikan hasilnya dalam format terstruktur.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Google Workspace

Gmail, Calendar, Drive, Contacts, Sheets, and Docs β€” through Hermes-managed OAuth and a thin CLI wrapper. When gws is installed, the skill uses it as the execution backend for broader Google Workspace coverage; otherwise it falls back to the bundled Python client implementation.

References

  • references/gmail-search-syntax.md β€” Gmail search operators (is:unread, from:, newer_than:, etc.)
  • references/daily-brief.md β€” daily/morning brief procedure: schedule + conflicts + meeting prep + urgent mail from Gmail and Calendar. Load it when the user asks for a morning brief, meeting preparation, or "what's on my calendar and what email needs attention."

Scripts

  • scripts/setup.py β€” OAuth2 setup (run once to authorize)
  • scripts/google_api.py β€” compatibility wrapper CLI. It prefers gws for operations when available, while preserving Hermes' existing JSON output contract.

First-Time Setup

The setup is fully non-interactive β€” you drive it step by step so it works on CLI, Telegram, Discord, or any platform.

Run the setup script with Python from the Hermes environment, not an unrelated system Python. --install-deps syncs Hermes' declared Google extra through PM; after syncing, restart Hermes and rerun the OAuth command. If Hermes is not importable, use hermes setup first rather than installing packages with pip.

Define a shorthand first:

GSETUP="python ${HERMES_HOME:-$HOME/.hermes}/skills/productivity/google-workspace/scripts/setup.py"

Step 0: Check if already set up

$GSETUP --check

If it prints AUTHENTICATED, skip to Usage β€” setup is already done.

Step 1: Triage β€” ask the user what they need

Before starting OAuth setup, ask the user TWO questions:

Question 1: "What Google services do you need? Just email, or also Calendar/Drive/Sheets/Docs?"

  • Email only β†’ They don't need this skill at all. Use the himalaya skill instead β€” it works with a Gmail App Password (Settings β†’ Security β†’ App Passwords) and takes 2 minutes to set up. No Google Cloud project needed. Load the himalaya skill and follow its setup instructions.

  • Email + Calendar β†’ Continue with this skill, but use --services email,calendar during auth so the consent screen only asks for the scopes they actually need.

  • Calendar/Drive/Sheets/Docs only β†’ Continue with this skill and use a narrower --services set like calendar,drive,sheets,docs.

  • Full Workspace access β†’ Continue with this skill and use the default all service set.

Question 2: "Does your Google account use Advanced Protection (hardware security keys required to sign in)? If you're not sure, you probably don't β€” it's something you would have explicitly enrolled in."

  • No / Not sure β†’ Normal setup. Continue below.
  • Yes β†’ Their Workspace admin must add the OAuth client ID to the org's allowed apps list before Step 4 will work. Let them know upfront.

Step 2: Create OAuth credentials (one-time, ~5 minutes)

Tell the user:

You need a Google Cloud OAuth client. This is a one-time setup:

  1. Create or select a project: https://console.cloud.google.com/projectselector2/home/dashboard
  2. Enable the required APIs from the API Library: https://console.cloud.google.com/apis/library Enable: Gmail API, Google Calendar API, Google Drive API, Google Sheets API, Google Docs API, People API
  3. Create the OAuth client here: https://console.cloud.google.com/apis/credentials Credentials β†’ Create Credentials β†’ OAuth 2.0 Client ID
  4. Application type: "Desktop app" β†’ Create
  5. If the app is still in Testing, add the user's Google account as a test user here: https://console.cloud.google.com/auth/audience Audience β†’ Test users β†’ Add users
  6. Download the JSON file and tell me the file path

Important Hermes CLI note: if the file path starts with /, do NOT send only the bare path as its own message in the CLI, because it can be mistaken for a slash command. Send it in a sentence instead, like: The JSON file path is: ~/Downloads/client_secret_....json

Once they provide the path:

$GSETUP --client-secret /path/to/client_secret.json

If they paste the raw client ID / client secret values instead of a file path, write a valid Desktop OAuth JSON file for them yourself, save it somewhere explicit (for example ~/Downloads/hermes-google-client-secret.json), then run --client-secret against that file.

Pertanyaan umum

Bagaimana cara menghubungkan akun saya?

Skill menyatakan jalankan skrip pengaturan sekali, setujui akses di browser, dan setelah itu AI dapat memakai layanan tersebut.

Apakah perlu paket tambahan?

Skill menyatakan sinkronkan paket Google melalui pengelola paket Hermes, bukan dengan pip install biasa.

Apakah membantu pencarian?

Ya. Skill mencakup operator pencarian Gmail seperti is:unread dan newer_than.

Detail

Deskripsi asli dari pembuat

Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.

repo: NousResearch/hermes-agent

Popularitas

Bintang GitHub
260k
Peringkat
#607
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa