slack-drafts
यह क्या करती है
यह स्किल असिस्टेंट को आपके Slack ऐप में एक संदेश तैयार करने देती है, जो आपके नाम से हो और आपकी चुनी चैट के लिए हो। यह उन लोगों के लिए है जो जवाब लिखने में मदद चाहते हैं, पर उन्हें खुद भेजना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी Slack बातचीत का जवाब चाहते हैं जो आपके लिए लिखा जाए और आप उसकी समीक्षा करें।
- ✓जब आप चाहते हैं कि किसी चैनल के लिए संदेश तैयार हो, पर पोस्ट न हो।
- ✓जब किसी मौजूदा Slack चर्चा में थ्रेड का जवाब ड्राफ़्ट करना हो।
Skill का लिंक
https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Slack के प्रोडक्ट चैनल में Priya के सवाल का जवाब ड्राफ़्ट कीजिए और उसे मेरे भेजने के लिए छोड़ दीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
असिस्टेंट आपके Slack कंपोज़र में ड्राफ़्ट बनाता है, जो सही चैनल या व्यक्ति की ओर निर्देशित होता है। आप उसे देखकर Slack में भेजें बटन दबाने तक कुछ भी पोस्ट नहीं होता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Slack drafts
Use this skill when the user wants a Slack message prepared for them to review and send themselves: "draft a reply to X", "prep a message for #general", "write that up as a Slack draft". The draft lands in their own Slack composer, attributed to them, targeted at the conversation you choose — nothing is posted.
This is an OAuth connector. The resolved user's Slack user token lives on your
computer as $VAULT_TOKEN_SLACK_COM. Do not ask the user for a token, log it, or
use another principal's. If the variable is empty or Slack returns 401/403, the user
either has not connected Slack or connected before this permission existed — tell
them to (re)connect it through the product OAuth flow.
Use the bundled helper for every draft — it owns destination resolution, rich-text block construction, and the required draft envelope:
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/slack_drafts.py" create --to '#general' --text 'hello'
python3 "<skill dir>/scripts/slack_drafts.py" create --to '@jane' --text-file body.txt
python3 "<skill dir>/scripts/slack_drafts.py" create --to C0123ABCDEF --thread-ts 1712345678.000100 --text '...'
python3 "<skill dir>/scripts/slack_drafts.py" resolve --to '#general'
--totakes a channel/IM ID (C…/G…/D…), a user ID (U…/W…),#channel-name, or@name(matched against username, display name, real name, or email; ambiguous matches are refused — fall back to a user ID).- Text is plain; URLs become clickable links. Write it exactly as the user would send it — it goes out under their name, in their voice, once they hit send.
--thread-tstargets the draft at a thread reply instead of the channel composer.- Drafts are create-only through this API: you cannot list, edit, or delete a draft once made. To revise, tell the user to discard the old draft in Slack and create a fresh one. Never work around this by posting messages — drafting means the user sends.
- Opening a brand-new DM needs the
im:writescope; tokens connected before that scope existed can only draft into conversations that already exist. On amissing_scopeerror, tell the user to reconnect Slack. - Slack keeps at most one draft per composer: a second draft into the same channel or
thread fails with
attached_draft_exists. Tell the user to send or discard the existing draft, then retry.
अक्सर पूछे जाने वाले सवाल
क्या असिस्टेंट मेरे लिए संदेश पोस्ट करेगा?
नहीं। वह केवल ड्राफ़्ट बनाता है, और उसे आप Slack से खुद भेजते हैं।
क्या वह थ्रेड के भीतर जवाब दे सकता है?
हाँ। वह किसी थ्रेड को लक्ष्य बना सकता है, ताकि ड्राफ़्ट उस बातचीत में जवाब बनकर आए।
अगर Slack कहे कि पहुँच नहीं है तो?
ऐप की कनेक्शन प्रक्रिया से Slack जोड़ें, क्योंकि ड्राफ़्ट बनाने के लिए असिस्टेंट को आपकी Slack अनुमति चाहिए।
जानकारी
लेखक का मूल विवरण
Create Slack message drafts in the user's own composer, as the user, through their per-user Slack OAuth. Drafting only — the user reviews and sends from Slack.
repo: yc-software/qm
लोकप्रियता
- GitHub स्टार
- 16k
- रैंकिंग में स्थान
- #10906
- लाइसेंस
- 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 संदेश पढ़ने, भेजने, बदलने और उन पर रिएक्शन देने में मदद करती है, बदलाव से पहले सटीक संदेश जांचकर।