Aller au contenu
Skillpedia
Automatisations260k · #607

google-workspace

Ce qu’il fait

Ce skill relie votre IA à votre compte Google, afin qu'elle puisse lire et gérer Gmail, Agenda, Drive, Contacts, Docs et Sheets. Il s'adresse aux personnes qui organisent leur travail et leur vie avec les services Google.

Quand l’utiliser

  • ✓Quand vous demandez à votre IA de consulter ou gérer votre Gmail, votre Agenda ou votre Drive.
  • ✓Quand vous voulez un point quotidien sur votre agenda et sur les e-mails qui demandent une réponse.
  • ✓Quand vous voulez créer ou modifier un document ou une feuille Google.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/google-workspace/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Regarde mon agenda de demain et dis-moi quels e-mails de clients demandent une réponse aujourd'hui.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le skill utilise une approbation de connexion Google effectuée une seule fois, ainsi qu'un enveloppeur en ligne de commande. Il lance les outils Google pour chaque demande et renvoie les résultats dans un format structuré.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

Questions fréquentes

Comment connecter mon compte ?

Le skill indique de lancer une fois un script de configuration, d'approuver l'accès dans le navigateur, et ensuite l'IA peut utiliser les services.

Faut-il des paquets supplémentaires ?

Le skill indique de synchroniser l'extra Google via le gestionnaire de paquets d'Hermes, et non avec un simple pip install.

Aide-t-il pour la recherche ?

Oui. Le skill inclut les opérateurs de recherche Gmail comme is:unread et newer_than.

Détails

Description originale de l’auteur

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

repo: NousResearch/hermes-agent

Popularité

Étoiles GitHub
260k
Position au classement
#607
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires