Pular para o conteúdo
Skillpedia
E-mail e mensagens16 mil · #10906

slack-drafts

O que ela faz

Permite que o assistente prepare uma mensagem do Slack no seu app, atribuída a você e endereçada à conversa que você escolher. É para quem quer ajuda com respostas, mas prefere enviá-las por conta própria.

Quando usar

  • ✓Quando você quer uma resposta a uma conversa do Slack escrita para você revisar.
  • ✓Quando você quer uma mensagem preparada para um canal sem publicá-la.
  • ✓Quando você precisa de uma resposta de thread rascunhada em uma discussão existente do Slack.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Rascunhe uma resposta à pergunta da Priya no canal de produto do Slack e deixe para eu enviar.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O assistente cria um rascunho no seu compositor do Slack, direcionado ao canal ou à pessoa certa. Nada é publicado até que você revise e clique em enviar no Slack.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.
Perguntas frequentes

O assistente publica a mensagem por mim?

Não. Ele só cria um rascunho, e você o envia pelo próprio Slack.

Ele consegue responder dentro de uma thread?

Sim. Ele pode direcionar o rascunho para uma thread, para que ele apareça como resposta naquela conversa.

E se o Slack disser que falta acesso?

Conecte o Slack pelo fluxo de conexão do produto, porque o assistente precisa da sua permissão no Slack para criar rascunhos.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
16 mil
Posição no ranking
#10906
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas