slack-messaging · slackapi — скилл для Claude Code: что делает и как установить
Скилл учит агента форматировать и отправлять сообщения в Slack через MCP-инструменты. Помогает писать черновики, треды и планировать публикации.
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a claude-codeЧто делает slack-messaging
Скилл задаёт правила оформления текста для инструментов Slack MCP: slack_send_message, slack_send_message_draft и slack_schedule_message. Агент пишет стандартный Markdown с таблицами и блоками кода, а инструменты сами преобразуют его в формат Slack. При этом устаревший синтаксис mrkdwn вроде звёздочек для жирного текста использовать нельзя, иначе разметка сломается при конвертации.
Внутри сообщений действуют жёсткие границы: лимит текста составляет около 5000 символов, а картинки через  не встраиваются и превращаются в обычные ссылки. Для интерактивных кнопок или карточек нужен отдельный скилл slack:block-kit, а для документов с иллюстрациями — slack_create_canvas.
При отложенной публикации через slack_schedule_message временная метка post_at обязана попадать в интервал от 2 минут до 120 дней. Менять запланированный пост через API нельзя: редактировать текст придётся вручную в разделе «Drafts & sent» самого клиента Slack.
Какие задачи решает
- Оформить анонс или отчёт для Slack в Markdown без поломки синтаксиса
- Запланировать отправку сообщения через
slack_schedule_messageна нужный день - Составить чёткий ответ в тред с сохранением списков и таблиц
- Заменить лишние текстовые подтверждения на эмодзи-реакции
Примеры запросов агенту
- Напиши анонс релиза для канала #general и выдели главное жирным шрифтом.
- Подготовь черновик ответа в тред с таблицей статусов и отправь через slack_send_message_draft.
- Запланируй публикацию напоминания в Slack на завтра через slack_schedule_message.
Как установить slack-messaging
1Через Skills CLI (Vercel)
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a claude-code2Вручную: положить файлы
~/.claude/skills/slack-messaging/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/slack-messaging/
1Через Skills CLI (Vercel)
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a codex2Вручную: положить файлы
.agents/skills/slack-messaging/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a cursor2Вручную: положить файлы
.cursor/skills/slack-messaging/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install slackapi/slack-skills-plugin slack-messaging2Вручную: положить файлы
.github/skills/slack-messaging/SKILL.md1Через Skills CLI (Vercel)
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a gemini-cli2Командой платформы
gemini skills install https://github.com/slackapi/slack-skills-plugin --path skills/slack-messagingВручную: положить файлы
.devin/skills/slack-messaging/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора4
Другие версии slack-messaging
Похожие
Рядом в теме «Настройка агента: память, контекст, субагенты»
Всё по теме «Настройка агента: память, контекст, субагенты» →Вопросы о slack-messaging
Как установить slack-messaging в Claude Code?
Выполните команду npx skills add slackapi/slack-skills-plugin --skill slack-messaging -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/slack-messaging/SKILL.md.
Что делает скилл slack-messaging?
Он инструктирует модель, как составлять сообщения для MCP-инструментов Slack. Скилл объясняет правила разметки, ограничения по длине текста и принципы ведения тредов.
Поддерживает ли этот скилл интерактивные кнопки или вставку картинок?
Нет, обычные сообщения через эти инструменты не отображают картинки инлайном, а превращают их в ссылки. Для интерактивных кнопок и меню требуется скилл slack:block-kit, а для документов с картинками — вызов Canvas.
Исходный текст
SKILL.md · MIT
---
name: slack-messaging
description: "Use when writing, drafting, scheduling, or improving a Slack message, announcement, or reply sent via the Slack MCP tools (slack_send_message, slack_send_message_draft, slack_schedule_message). Covers Slack markdown formatting, message structure, thread etiquette, reactions, and scheduling, and points to the right dialect for canvases and Block Kit."
---
# Slack Messaging Best Practices
This skill provides guidance for composing well-formatted, effective Slack messages.
## When to Use
Apply this skill whenever composing, drafting, or helping the user write a Slack message, including when using `slack_send_message`, `slack_send_message_draft`, or `slack_schedule_message`. The formatting rules below cover these message tools. `slack_create_canvas` uses a different, richer markdown dialect — see the Canvas note below.
## Formatting
The message tools (`slack_send_message`, `slack_send_message_draft`, `slack_schedule_message`) accept **standard markdown** and convert it to Slack formatting on send. Write normal markdown. Do **not** use Slack's legacy `mrkdwn` syntax (`*bold*`, `~strike~`); those single-character forms mean something different in standard markdown. Each text element is limited to ~5000 characters.
| Format | Syntax |
| ------------- | ---------------------- |
| Bold | `**text**` |
| Italic | `_text_` (or `*text*`) |
| Strikethrough | `~~text~~` |
| Code (inline) | `` `code` `` |
| Quote | `> text` |
| Link | `[display text](url)` |
| Bulleted list | `- item` |
| Numbered list | `1. item` |
Block elements also work. Write them as literal markdown:
- **Code block** with an optional language for syntax highlighting:
````text
```python
print("hello")
```
````
- **Table** with `|` delimiters (escape a literal pipe inside a cell as `\|`):
```text
| Feature | Status |
|---------|--------|
| Tables | works |
```
- **Headers** with `#` / `##` / `###`:
```text
## Section title
```
The one thing that does **not** embed in a message: inline images (``) typically render as a plain link rather than an inline image. For rich embedded layouts (buttons, images, structured cards) you need Block Kit; for a document-style surface where images do embed, use a canvas. See the Notes below.
## Message Structure Guidelines
- **Lead with the point.** Put the most important information in the first line. Many people read Slack on mobile or in notifications where only the first line shows.
- **Keep it short.** Aim for 1-3 short paragraphs (the ~5000-character limit is a ceiling, not a target). If the message is long or structured, consider a Canvas instead.
- **Use line breaks generously.** Walls of text are hard to read. Separate distinct thoughts with blank lines.
- **Use bullet points for lists.** Anything with 3+ items should be a list, not a run-on sentence.
- **Bold key information.** Use `**bold**` for names, dates, deadlines, and action items so they stand out when scanning.
## Thread vs. Channel Etiquette
- **Reply in threads** when responding to a specific message to keep the main channel clean.
- **Use `reply_broadcast`** (also post to channel) only when the reply contains information everyone needs to see.
- **Post in the channel** (not a thread) when starting a new topic, making an announcement, or asking a question to the whole group.
- **Don't start a new thread** to continue an existing conversation; find and reply to the original message.
## Tone and Audience
- Match the tone to the channel: `#general` is usually more formal than `#random`.
- For simple acknowledgments, add an emoji reaction with `slack_add_reaction` instead of a reply message (use `slack_get_reactions` to read existing reactions).
- When writing announcements, use a clear structure: context, key info, call to action.
## Scheduling
- Use `slack_schedule_message` to post later. `post_at` is a Unix timestamp that must be at least 2 minutes in the future and at most 120 days out; the message body uses the same standard markdown as above.
- Scheduled messages can't be edited via the API once set — the user manages them from **Drafts & sent** in Slack.
## Notes
- **Canvas formatting is different.** `slack_create_canvas` uses Canvas-flavored Markdown, a richer dialect than the message tools: headers, tables, checklists, and inline images (``) all embed, and it also supports user/channel reference cards, callouts, and columns. Do **not** assume the message rules above apply — follow the `slack_create_canvas` tool's own formatting guidance when composing a canvas.
- **Scope:** this skill owns composing and formatting the _text_ of messages sent through the Slack MCP message tools. For interactive layouts (buttons, menus, modals, Home tabs, or any Block Kit JSON), use the `slack:block-kit` skill, which composes and validates the block payload. For calling the Slack Web API directly (`chat.postMessage` and friends) rather than the MCP tools, use the `slack:slack-api` skill.
© slackapi · MIT · slackapi/slack-skills-plugin