slack-reply-drafting

作者: openai

從可用上下文中草擬 Slack 回覆。當使用者想要協助尋找可能需要回覆的訊息並準備回覆草稿時使用。

npx skills add https://github.com/openai/plugins --skill slack-reply-drafting

Slack Reply Drafting

Use this skill to identify messages that likely need a reply and produce Slack-ready draft responses from the available context.

Related Skills

WorkflowSkill
Refine, draft, or send the final Slack text../slack-outgoing-message/SKILL.md

Start Here

  • If the user provided channels, threads, DMs, people, or topics, use that scope instead of the default search.
  • If no source scope was provided, default to searching:
    • unanswered direct conversations
    • direct mentions
    • threads with prior user participation and newer replies
    • threads with prior user mention and newer replies
  • For time-specific requests, resolve the user's timezone with slack_read_user_profile.

Support Boundaries

  • This skill is for draft-first reply workflows.
  • If the user explicitly asks to send a reply now rather than prepare a draft, gather the needed Slack context here if useful, then switch to ../slack-outgoing-message/SKILL.md and send directly.
  • Do not invent facts, commitments, approvals, or decisions. If the context is not enough to answer confidently, draft a clarifying reply instead of guessing.

Workflow

  1. Resolve the current user with slack_read_user_profile so you have the user's user_id and can resolve the time window if necessary.
  2. Resolve the time window if the user supplied one.
  3. If the user provided an explicit scope, use the cheapest matching path:
    • specific thread: slack_read_thread
    • named channel: slack_search_channels, then slack_read_channel
    • named person or DM: slack_search_users, then slack_search_public_and_private
    • bounded keyword search: slack_search_public_and_private
  4. If no scope was provided, search these default categories:
    • unanswered direct conversations: slack_search_public_and_private across im,mpim to generate candidate conversations, then slack_read_channel for each plausible candidate before deciding whether it needs a reply; do not decide from the search snippet alone
    • direct mentions: slack_search_public_and_private with query set to <@USER_ID>
    • threads with prior user participation: slack_search_public_and_private with query set to from:<@USER_ID> is:thread, then slack_read_thread for newer replies
    • threads with prior user mention: slack_search_public_and_private with query set to <@USER_ID> is:thread, then slack_read_thread for newer replies after the mention
  5. Keep only candidates where the latest unresolved ask is from someone else, or where newer replies appeared after the user's last substantive reply or mention. Do not count emoji-only, acknowledgement-only, or other non-answer chatter from the user as a reply.
  6. Expand only the threads or surrounding messages needed to answer accurately. Answer the question first, then add clarification or next steps when the context supports it.
  7. If the context is incomplete, write the smallest useful clarifying reply instead of pretending the answer is known.
  8. Finish according to the user's explicit intent:
    • draft/review-first flow: create the draft with slack_send_message_draft in the source channel or DM
    • explicit send-now flow: switch to ../slack-outgoing-message/SKILL.md and send directly Include thread_ts only for thread replies; otherwise omit the parameter entirely. If Slack returns draft_already_exists, stop and tell the user you cannot overwrite the existing attached draft via API.

Drafting Rules

Formatting

  • For a concise Slack or chat summary, you MUST use exactly this structure unless the user explicitly requests a different format.
  • If you use ../slack-outgoing-message/SKILL.md to draft or send the final message, this output contract remains binding. The downstream skill does not relax or rename these sections.

Format multiple drafts as:

**Reply Drafts — <scope>**

**<channel / DM / thread info>**
Draft: <link to draft>

**<channel / DM / thread info>**
Draft: <link to draft>
  • Keep each item minimal: a short header plus the draft link.
  • The header should identify the channel, DM, or thread.
  • If the user asked for a single reply, return just that item.
  • If no unreplied messages are found, say so directly and explain the scope checked.

來自 openai 的更多技能

user-context
openai
載入或管理資料分析插件的持久性來源路由偏好設定、入門邏輯、設定進度以及語義層註冊表。
official
notion-research-documentation
openai
研究Notion內容,並將其整合為結構化的簡報、報告或附有引用的比較分析。透過精準查詢搜尋並擷取Notion頁面,然後按主題組織發現,並附上內文來源引用及參考文獻章節。根據範圍與使用者目標,從四種輸出格式(快速簡報、研究摘要、比較分析、綜合報告)中選擇。使用內建範本建立與更新Notion頁面;直接連結來源,並在新資訊到來時追蹤變更。
official
rcsb-pdb-skill
openai
提交精簡的RCSB PDB請求以獲取核心元數據、Search API查詢及FASTA下載。當用戶需要簡潔的RCSB摘要時使用;保存原始JSON或…
official
pdf
openai
PDF 讀取、建立與驗證,支援視覺化渲染與程式化生成。使用 Poppler(pdftoppm)將 PDF 頁面渲染為 PNG,以便在交付前檢查版面、間距與排版。透過 reportlab 程式化生成 PDF,確保格式可靠;使用 pdfplumber 或 pypdf 提取文字與元資料。執行品質標準:無文字裁切、元素重疊、表格破損或渲染瑕疵;僅使用 ASCII 連字號,引用格式需具可讀性。使用...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
終端驅動的瀏覽器自動化,具備元素快照與互動式UI工作流程。透過playwright-cli包裝腳本運作(需npx),支援無頭模式與有頭模式以進行視覺化除錯。核心流程:開啟頁面、擷取快照以取得穩定元素參照、使用參照進行互動、在導航或DOM變更後重新擷取快照。包含表單填寫、點擊、輸入、多分頁管理、螢幕截圖/PDF擷取,以及流程除錯的軌跡記錄。元素參照(例如e3、e15)...
official
ukb-topmed-phewas-skill
openai
接受rsID、GRCh37或GRCh38輸入,解析為所需的GRCh38查詢,以獲取單一變異的簡潔UKB-TOPMed PheWAS摘要。當需要…時使用。
official
code-review-context
openai
模型可見上下文
official