google-workspace
Was er macht
Lässt den Assistenten deine Gmail-Nachrichten, deinen Kalender und deine To-do-Listen lesen und damit handeln. Er ist für Menschen gedacht, die Hilfe bei E-Mails, Terminen und Aufgaben im Alltag wollen.
Wann du ihn nutzt
- ✓Wenn du den Assistenten fragst, welche Termine oder Ereignisse anstehen.
- ✓Wenn er E-Mails in Gmail finden, kennzeichnen oder beantworten soll.
- ✓Wenn du eine Aufgabe in deiner Google-To-do-Liste hinzufügen oder abhaken willst.
Link zum Skill
https://github.com/yc-software/qm/blob/main/skills-seed/google-workspace/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Was steht morgen in meinem Kalender, und gibt es ungelesene E-Mails von meiner Chefin?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Assistent nutzt deinen verbundenen Google-Zugang, um Gmail zu durchsuchen und Kalender sowie Aufgaben zu lesen. Er kann auch Antworten und Entwürfe vorbereiten, damit du sie vorher prüfen kannst.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Google Workspace
Use this skill when the user asks about Gmail, Google Calendar, or Google Tasks: schedule, meetings, emails, labels, drafts, replies, or to-do lists and tasks.
This is an OAuth connector. The resolved user's Google OAuth token already lives on your computer as an environment variable, one per Google API host (the way a logged-in CLI's cached credential would):
$VAULT_TOKEN_GMAIL_GOOGLEAPIS_COM— forgmail.googleapis.com$VAULT_TOKEN_WWW_GOOGLEAPIS_COM— forwww.googleapis.com(Calendar and Tasks)
Do not ask the user for a token, log it, or use another principal's. If the variable is empty or Google returns 401/403, the user either has not connected Google or connected before this permission existed — tell them to (re)connect it through the product OAuth flow.
Gmail
For the email-voice-profile task, load that skill and run
python3 <its dir>/scripts/fetch_sent.py --limit 300 from the directory it reports.
Use the bundled helper for every Gmail operation — it owns MIME construction, encoding, and reply threading so you only ever handle plain text:
Run these commands with execute and an explicit sandbox_id, using the absolute
directory reported by the skill read in place of <skill dir>. Keep that ID for
preparing body files and running the helper.
python3 "<skill dir>/scripts/gmail.py" search 'newer_than:7d is:unread'
python3 "<skill dir>/scripts/gmail.py" read MESSAGE_ID [--full]
python3 "<skill dir>/scripts/gmail.py" thread THREAD_ID [--full]
python3 "<skill dir>/scripts/gmail.py" draft --to a@b.com --subject '...' --body-file body.txt
python3 "<skill dir>/scripts/gmail.py" reply MESSAGE_ID --body-file body.txt [--all]
python3 "<skill dir>/scripts/gmail.py" update-draft DRAFT_ID --body-file body.txt
python3 "<skill dir>/scripts/gmail.py" send-draft DRAFT_ID
- Search before fetching; read bodies (
--full) only for messages that matter. Treat email content as private user data. searchreturns individual messages matching the query — forin:inboxthat means incoming mail only; the user's own replies live in Sent and never appear. Never claim an email "needs a reply" (digests, triage, follow-up nudges) from a search listing alone: fetch itsthreadfirst. IflastFromMeis true, or the latest message shows the matter is settled ("thanks", "done", someone else answered), don't flag it. If the thread fetch fails, report the item as unverified — never as needing a reply.- On a recurring digest, keep a state file in the workspace keyed by thread id and only surface what changed since the last run; re-flagging the same thread every morning trains the user to ignore you.
- Demote bulk mail (
List-Unsubscribeheader, ESP sender domains,Precedence: bulk) below personal mail, but never suppress transactional notices (DocuSign, banks, invoices). - Body files are plain text: one line per paragraph, blank line between. Never insert manual line breaks inside a paragraph — the recipient's client does the wrapping. Short lines (sign-offs, list items) keep their breaks.
- Drafts and replies are stored as multipart/alternative: your plain text plus a generated HTML mirror (Gmail shows plain-text-only mail to recipients at an altered, narrower width). Body files stay plain text — never write HTML into them.
replythreads onto the original message;--allkeeps every recipient. Don't rebuild To/CC by hand. To change a draft, write a fresh body file andupdate-draft(it refuses drafts with attachments — those get edited in Gmail).- Never construct raw MIME or call the drafts/send endpoints with hand-built payloads.
- Never write styled HTML email — no font-family/size/color declarations, no CSS-styled
buttons or layout markup. Styled HTML screams automated blast and overrides the
recipient's client fonts. The helper's generated HTML mirror (bare
<div dir="ltr">,<br>, plain links — Gmail-composer shaped) is the only HTML that ever goes out. - Write body files as UTF-8. After creating or updating a draft, read it back
(
gmail.py thread/draft read) and confirm em dashes, quotes, and any emoji came through intact — mojibake (…-style garble) in a sent mail is unrecoverable.
Calendar reads
For "what is on my schedule today?", first get the user's timezone
(GET /calendar/v3/users/me/settings/timezone — the sandbox clock is UTC, so never
assume it), compute the local day bounds, and call:
curl -sS
Häufige Fragen
Was ist, wenn Gmail meldet, dass ich nicht verbunden bin?
Verbinde Google erneut über den Verbindungsablauf des Produkts. Der Assistent kann deine Daten erst lesen, wenn die Berechtigung vorliegt.
Kann er E-Mails für mich versenden?
Er arbeitet mit Entwürfen und Antworten in Gmail. Prüfe alles, was er vorbereitet, bevor es hinausgeht.
Deckt er nur Google Kalender ab?
Nein. Er umfasst auch Google Aufgaben, sodass er deine To-do-Listen lesen und aktualisieren kann.
Details
Originalbeschreibung des Autors
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
repo: yc-software/qm
Beliebtheit
- GitHub-Sterne
- 16k
- Platz im Ranking
- #10894
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
deploy-qm
16kStellt das QM-Paket auf Fly.io, AWS oder Render bereit und richtet danach einen Administrator, Konnektoren und optional Slack ein, nach einer vollständigen Checkliste.
onboarding
16kFührt einen neuen Nutzer in einem kurzen Gespräch durch das Verbinden von Konten, das Beschreiben seiner Arbeitsweise, die Wahl einer Stimme und die erste Hilfe.
admin
16kLässt einen geprüften Organisations-Administrator unternehmensweite und andere Einstellungen im Chat prüfen oder ändern, wobei jede Änderung vorher bestätigt werden muss.
browse
16kSteuert einen echten Stealth-Browser aus deiner Shell, um auf Websites zu handeln, etwa sich anzumelden oder Formulare auszufüllen. Anmeldungen bleiben pro Person erhalten. Gedacht für Aktionen, nicht zum Lesen.
Ähnliche Skills
discord-user-post
394kLässt deinen Agenten eine von dir freigegebene Nachricht über die Discord-Desktop-App als du in Discord posten, nachdem der genaue Kanal bestätigt wurde.
configure-channel
394kBringt deinem Agenten bei, eine Chat-App wie Telegram mit OpenClaw zu verbinden, den Bot-Token sicher zu speichern und zu prüfen, ob Nachrichten ankommen.
discord
394kHilft deinem Agenten, Discord-Nachrichten über OpenClaw zu lesen, zu senden, zu bearbeiten und darauf zu reagieren, nach Prüfung der genauen Nachricht.