block-kit
What it does
It teaches an AI agent to format Slack replies as native Block Kit layouts, such as sections, tables, and buttons. It is for people who want their Slack answers to be clear and easy to act on.
When to use it
- ✓When a Slack reply needs buttons so you can approve or choose an option.
- ✓When the answer is a report, comparison, or plan that reads better in sections or a table.
- ✓When a reply is a short answer or casual chat, the skill keeps it as plain text.
Skill link
https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Send the team a Slack summary of this week's sales with a table and a button that opens the full report.”
5 new skills a week. 1 minute to read.
How it works
The skill decides whether a rich layout helps, then sends the reply through the Slack message tool as a structured presentation. It also includes a plain-text fallback so the meaning survives if the layout does not show.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Slack Block Kit
Make useful Slack replies feel native. When structure or one-click follow-up improves the outcome, send a rich message without waiting for the user to ask for Block Kit.
Choose the surface
Use a presentation when the reply has at least one of these shapes:
- a decision, confirmation, or next action that belongs on buttons or a select
- a status, comparison, report, or plan that scans better as titled sections, a table, or a chart
- important context that should be visually separated from the primary result
Use plain text for short answers and casual conversation where structure adds no value.
Send the result
For a reply in Slack, call the message tool with action: "send" and a portable presentation. The Slack plugin renders it as native Block Kit. Use the exact schema exposed by the current tool; supported block types can include text, context, divider, buttons, select, chart, and table.
- Put the outcome first. Keep titles, labels, and context concise.
- Give interactive controls real follow-up semantics. Use typed
callbackactions for conversational choices andurlfor an external destination. Do not use genericcommandactions for Slack controls; Slack renders them as text fallback rather than clickable controls. - Include a useful
messagefallback that preserves the meaning without the rich layout. - After the visible send succeeds, do not repeat the same content in the final response.
A control is complete only when its value is self-contained enough for the next agent turn to understand and act on. When an interaction returns, acknowledge the choice visibly and continue the requested workflow.
Native Block Kit authoring
When the user is building a Slack app or explicitly requests raw Block Kit JSON, read the adapted official Block Kit guide in full. For common message, modal, and App Home layouts, also read the official patterns.
Follow the adapted guide's live-documentation and blocks.validate workflow for native JSON. Do not pass native Slack blocks to OpenClaw's presentation field; the plugin owns that conversion.
FAQ
Will the buttons in Slack actually work?
Buttons need proper follow-up actions, such as a typed callback or a web link, to be clickable and useful.
What if the rich layout does not display?
The skill includes a plain-text fallback that keeps the same meaning.
Does it use layouts for every reply?
No. Short answers and casual messages stay as plain text.
Details
Original description by the author
Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.
repo: openclaw/openclaw
Popularity
- GitHub stars
- 394k
- Ranking position
- #36
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
Similar skills
to-questionnaire
310kTurns a question you cannot answer alone into a written questionnaire for another person to fill in, by email or in a meeting.
email-ops
280kLets your agent manage emails, organizing the inbox and verifying sends. It helps ensure important messages are sent and tracked.
messages-ops
280kHelps your agent read messages and verification codes. It's useful for checking conversations before replying or proving which message was seen.