본문으로 건너뛰기
Skillpedia
이메일 및 메시지16k · #10906

slack-drafts

하는 일

이 스킬은 어시스턴트가 사용자의 Slack 앱에 메시지를 준비하게 합니다. 메시지는 사용자 이름으로, 선택한 채팅에 맞춰 작성됩니다. 답장은 도움받되 직접 보내고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Slack 대화에 대한 답장을 검토할 수 있도록 작성받고 싶을 때.
  • ✓게시하지 않고 채널에 보낼 메시지를 준비하고 싶을 때.
  • ✓기존 Slack 토론의 스레드 답장을 초안으로 만들어야 할 때.

스킬 링크

https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제품 Slack 채널에 있는 Priya의 질문에 대한 답장을 초안으로 써 주고, 보내는 것은 제가 하도록 남겨 주세요.”

매주 새 스킬 5개. 읽는 데 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'
  • --to takes 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-ts targets 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:write scope; tokens connected before that scope existed can only draft into conversations that already exist. On a missing_scope error, 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬