google-workspace
यह क्या करती है
यह स्किल असिस्टेंट को आपके Gmail, कैलेंडर और कामों की सूची पढ़ने और उन पर कार्रवाई करने देती है। यह उन लोगों के लिए है जो रोज़ के ईमेल, शेड्यूल और कामों में मदद चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप असिस्टेंट से पूछते हैं कि आपकी आने वाली मीटिंग या इवेंट कौन-से हैं।
- ✓जब आप चाहते हैं कि वह Gmail में ईमेल खोजे, लेबल लगाए या उनका जवाब दे।
- ✓जब आप Google की टू-डू सूची में कोई काम जोड़ना या उसे पूरा दिखाना चाहते हैं।
Skill का लिंक
https://github.com/yc-software/qm/blob/main/skills-seed/google-workspace/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कल मेरे कैलेंडर में क्या है, और क्या मेरे मैनेजर के कोई बिना पढ़े ईमेल हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
असिस्टेंट आपके जुड़े Google एक्सेस का उपयोग करके Gmail खोजता है और आपके कैलेंडर और कामों को पढ़ता है। वह ड्राफ़्ट और जवाब भी तैयार कर सकता है, ताकि आप भेजने से पहले उन्हें देख सकें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
अगर Gmail कहे कि मैं जुड़ा नहीं हूँ तो?
Google को कनेक्शन प्रक्रिया से फिर से जोड़ें। अनुमति लागू होने तक असिस्टेंट आपका डेटा नहीं पढ़ सकता।
क्या वह मेरे लिए ईमेल भेज सकता है?
वह Gmail में ड्राफ़्ट और जवाब के साथ काम करता है। बाहर जाने से पहले उसकी तैयार की हुई हर चीज़ आप देखें।
क्या यह केवल Google Calendar तक सीमित है?
नहीं। इसमें Google Tasks भी शामिल है, ताकि वह आपकी टू-डू सूचियाँ पढ़ और अपडेट कर सके।
जानकारी
लेखक का मूल विवरण
Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.
repo: yc-software/qm
लोकप्रियता
- GitHub स्टार
- 16k
- रैंकिंग में स्थान
- #10894
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
deploy-qm
16kयह आपके एजेंट को QM पैकेज को Fly.io, AWS या Render पर डिप्लॉय करने और पहला एडमिन सेट करने में मदद करती है।
onboarding
16kयह आपके एजेंट को एक छोटी बातचीत में खाते जोड़ने, आपका काम समझने, आवाज़ चुनने और पहली मदद सेट करने में मदद करती है।
admin
16kयह आपके एजेंट को सत्यापित एडमिन के लिए चैट से संस्था-स्तर की सेटिंग्स देखने और बदलने में मदद करती है, हर बदलाव से पहले पुष्टि के साथ।
browse
16kयह आपके एजेंट को असली स्टेल्थ ब्राउज़र से वेबसाइट पर साइन इन करने और फ़ॉर्म भरने जैसे काम करने देती है। यह पढ़ने के लिए नहीं, कार्रवाई के लिए है।
मिलती-जुलती skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
configure-channel
394kयह आपके एजेंट को Telegram जैसे चैट ऐप को OpenClaw से जोड़ना, बॉट टोकन सुरक्षित रखना और संदेश आने-जाने की जांच करना सिखाती है।
discord
394kयह आपके एजेंट को OpenClaw के ज़रिए Discord संदेश पढ़ने, भेजने, बदलने और उन पर रिएक्शन देने में मदद करती है, बदलाव से पहले सटीक संदेश जांचकर।