slack-reply-drafting

bởi openai

Soạn thảo phản hồi Slack từ ngữ cảnh có sẵn. Sử dụng khi người dùng muốn trợ giúp tìm các tin nhắn có khả năng cần phản hồi và chuẩn bị bản nháp trả lời.

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.

Thêm skills từ openai

user-context
openai
Tải hoặc quản lý các tùy chọn định tuyến nguồn bền vững, logic giới thiệu, tiến trình thiết lập và sổ đăng ký lớp ngữ nghĩa của plugin Phân tích Dữ liệu.
official
notion-research-documentation
openai
Nghiên cứu nội dung Notion và tổng hợp thành các bản tóm tắt có cấu trúc, báo cáo hoặc so sánh kèm trích dẫn. Tìm kiếm và truy xuất các trang Notion bằng truy vấn mục tiêu, sau đó sắp xếp kết quả theo chủ đề với trích dẫn nguồn trong văn bản và phần tài liệu tham khảo. Chọn từ bốn định dạng đầu ra (tóm tắt nhanh, tổng hợp nghiên cứu, so sánh, báo cáo toàn diện) dựa trên phạm vi và mục tiêu của người dùng. Tạo và cập nhật các trang Notion bằng mẫu có sẵn; liên kết trực tiếp nguồn và theo dõi thay đổi khi
official
rcsb-pdb-skill
openai
Gửi yêu cầu RCSB PDB nhỏ gọn để lấy siêu dữ liệu cốt lõi, truy vấn API Tìm kiếm và tải xuống FASTA. Sử dụng khi người dùng muốn tóm tắt RCSB ngắn gọn; lưu JSON thô hoặc…
official
pdf
openai
Đọc, tạo và xác thực PDF với kết xuất trực quan và tạo theo chương trình. Kết xuất các trang PDF sang PNG để kiểm tra trực quan bố cục, khoảng cách và kiểu chữ trước khi bàn giao bằng Poppler (pdftoppm). Tạo PDF theo chương trình với reportlab để định dạng đáng tin cậy; trích xuất văn bản và siêu dữ liệu bằng pdfplumber hoặc pypdf. Thực thi các tiêu chuẩn chất lượng: không có văn bản bị cắt, phần tử chồng lấn, bảng bị hỏng hoặc hiện vật kết xuất; chỉ sử dụng dấu gạch nối ASCII, trích dẫn dễ đọc cho con người. Sử dụng...
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
Tự động hóa trình duyệt qua terminal với ảnh chụp nhanh phần tử và quy trình UI tương tác. Hoạt động thông qua script wrapper playwright-cli (yêu cầu npx); hỗ trợ chế độ headless và headed để gỡ lỗi trực quan. Quy trình cốt lõi: mở trang, chụp nhanh để tham chiếu phần tử ổn định, tương tác bằng refs, chụp lại sau khi điều hướng hoặc thay đổi DOM. Bao gồm điền biểu mẫu, nhấp chuột, gõ văn bản, quản lý nhiều tab, chụp ảnh màn hình/PDF và ghi lại trace để gỡ lỗi luồng. Tham chiếu phần tử (ví dụ: e3, e15)...
official
ukb-topmed-phewas-skill
openai
Lấy các bản tóm tắt PheWAS UKB-TOPMed nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh37 hoặc GRCh38 và phân giải thành truy vấn GRCh38 cần thiết. Sử dụng khi một…
official
code-review-context
openai
Ngữ cảnh hiển thị của mô hình
official