google-workspace
Fungsinya
Memungkinkan asisten membaca dan bertindak berdasarkan Gmail, kalender, dan daftar tugas Anda. Cocok untuk orang yang ingin dibantu dengan surel, jadwal, dan tugas harian mereka.
Kapan dipakai
- โSaat Anda bertanya rapat atau acara apa yang akan datang.
- โSaat Anda ingin asisten mencari, memberi label, atau membalas surel di Gmail.
- โSaat Anda ingin tugas ditambahkan atau ditandai selesai di daftar tugas Google Anda.
Link skill
https://github.com/yc-software/qm/blob/main/skills-seed/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
โApa yang ada di kalender saya besok, dan apakah ada surel belum dibaca dari manajer saya?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten memakai akses Google yang terhubung untuk mencari Gmail dan membaca kalender serta tugas Anda. Ia juga bisa menyiapkan balasan dan draf, sehingga Anda bisa meninjaunya lebih dulu.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Bagaimana jika Gmail mengatakan saya belum terhubung?
Hubungkan ulang Google melalui alur koneksi produk. Asisten tidak bisa membaca data Anda sampai izinnya tersedia.
Apakah ia bisa mengirim surel untuk saya?
Ia bekerja dengan draf dan balasan di Gmail. Tinjau apa pun yang disiapkannya sebelum dikirim.
Apakah ini hanya mencakup Google Calendar?
Tidak. Ini juga mencakup Google Tasks, sehingga ia bisa membaca dan memperbarui daftar tugas Anda.
Detail
Deskripsi asli dari pembuat
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
repo: yc-software/qm
Popularitas
- Bintang GitHub
- 16k
- Peringkat
- #10894
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
deploy-qm
16kMenerapkan paket QM ke Fly.io, AWS, atau Render, lalu menyiapkan administrator, konektor, dan opsional Slack, mengikuti daftar periksa penerapan yang lengkap.
onboarding
16kMemandu pengguna baru menghubungkan akun, menjelaskan cara kerja mereka, memilih suara, dan menyiapkan bantuan pertama, dalam satu percakapan singkat.
admin
16kMemungkinkan administrator organisasi yang terverifikasi memeriksa atau mengubah pengaturan tingkat organisasi dan cakupan lain dari chat, dengan mengonfirmasi setiap perubahan sebelum dibuat.
browse
16kMenjalankan peramban web sungguhan yang tersembunyi dari shell untuk bertindak di situs web, seperti masuk atau mengisi formulir, dengan sesi masuk yang dipisahkan per orang. Untuk tindakan, bukan membaca.
Skill serupa
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
configure-channel
394kMengajari agent Anda menghubungkan aplikasi chat seperti Telegram ke OpenClaw, menyimpan token bot dengan aman, dan memastikan pesan benar-benar mengalir.
discord
394kMembantu agent Anda membaca, mengirim, mengedit, dan memberi reaksi pada pesan Discord lewat OpenClaw, dengan memeriksa pesan yang tepat sebelum perubahan dilakukan.