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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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 prefersgwsfor 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
himalayaskill 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,calendarduring 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
--servicesset likecalendar,drive,sheets,docs.Full Workspace access β Continue with this skill and use the default
allservice 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:
- Create or select a project: https://console.cloud.google.com/projectselector2/home/dashboard
- 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
- Create the OAuth client here: https://console.cloud.google.com/apis/credentials Credentials β Create Credentials β OAuth 2.0 Client ID
- Application type: "Desktop app" β Create
- 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
- 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.
Popularitas
- Bintang GitHub
- 260k
- Peringkat
- #607
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-merge-conflict-arbiter
260kMenyelesaikan konflik merge git antara cabang dua agent sebagai pihak ketiga yang netral, menghasilkan satu hasil gabungan untuk repo.
antigravity-cli
260kMemandu Anda memasang, memperbarui, dan memecahkan masalah alat baris perintah Antigravity, termasuk plugin, login, dan sandbox-nya.
blackbox
260kMemungkinkan agent Anda menyerahkan tugas pemrograman ke alat baris perintah Blackbox AI, yang menjalankan beberapa model AI dan memilih hasil terbaik.
dynamic-workflow
260kMengajari agent Anda menjalankan pekerjaan sejenis dalam jumlah besar sebagai skrip tersimpan, sehingga hanya hasil terverifikasi yang kembali ke percakapan utama.
Skill serupa
knowledge-automation
394kMembantu agent Anda mengatur tugas terjadwal yang memasukkan konten baru ke Knowledge vault Anda secara rutin, lalu memastikan tugas itu berjalan.
knowledge-source-ingest
394kMembantu agent Anda menjaga Knowledge vault tetap mutakhir dengan item baru dari chat, feed, atau kotak surat, tanpa menambahkan ulang yang sudah ada.
benchmark
280kMembantu agent Anda mengukur kecepatan dan performa kode. Berguna untuk memastikan semuanya cepat dan menemukan penyebab kelambatan.