slack-block-kit

slack-block-kit is a skill for Claude Code, Codex from ccheney/robust-skills. It costs 49 tokens per session (644 once invoked), scanned A, original, MIT.

A guide to Slack Block Kit, the system for arranging structured content and interactive controls in messages, pop-ups, and an app’s home screen.

In plain words
What is it for?
Creating Slack API payloads, structured reports, dashboards, messages with buttons, modals, App Home views, and streamed responses.
Why use it?
It helps choose suitable Slack layout elements and avoid using the wrong text format inside them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating Slack API payloads, structured reports, dashboards, messages with buttons, modals, App Home views, and streamed responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccheney/robust-skills/slack-block-kit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ccheney/robust-skills --skill slack-block-kit
Clone the repo
git clone --depth 1 https://github.com/ccheney/robust-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slack-block-kit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-block-kit/github.svg)](https://agentmods.dev/skills/ccheney/robust-skills/slack-block-kit)
Your own site
<a href="https://agentmods.dev/skills/ccheney/robust-skills/slack-block-kit"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-block-kit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slack-block-kit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccheney/robust-skills/slack-block-kit"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-block-kit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00644
Opus 5.5 $0.00020 $0.00258
Sonnet 5.5 $0.00010 $0.00129
Haiku 4.5 $0.00005 $0.00064

Measured 2mo ago against content hash 8ca9751e9ba3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slack-block-kit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/slack-block-kit/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slack Block Kit

Construct the requested Slack layout or interaction using the receiving surface's schema. The user's explicit instructions take precedence over this skill's guidelines.

Establish the surface

Use the requested content, interaction, target Slack method/surface, and any existing payload as input. Infer the surface from code when possible; ask if a missing choice changes the payload. Ordinary text replies do not require blocks.

Work Reference
Message, modal, App Home, or interaction lifecycle SURFACES.md
Block choice, fields, limits, surface compatibility BLOCKS.md
Buttons, inputs, menus, pickers ELEMENTS.md
Text objects, options, confirmation dialogs COMPOSITION.md
Structured rich-text nesting and inline elements RICH-TEXT.md
start/append/stop streaming, chunks, SDK differences STREAMING.md
Entity unfurls, flexpanes, edits, comments WORK-OBJECTS.md
Compact block/element/limit lookup CHEATSHEET.md

Load only the relevant reference or section. Payload construction does not require a Slack connection. Use the separately installed slack-mrkdwn skill for detailed text-formatting questions when available; the composition and rich-text references here cover the required object shapes independently.

Preserve the payload contract

  • Choose text syntax per field: mrkdwn uses *bold* and <url|label>; plain_text is literal; markdown blocks use standard Markdown; rich_text uses structured elements.
  • Check surface compatibility: for example, alerts are modal-only and message payloads have different limits from modal/Home views.
  • Keep top-level fallback text semantically aligned with blocks when provided. Screen readers and mobile notifications can depend on it.
  • Escape untrusted text for its receiving field. Preserve supplied IDs and URLs; do not fabricate real channel, user, trigger, or entity identifiers.
  • A modal needs a live trigger and interaction handling; a static preview does not prove the lifecycle works. Follow the current method/SDK contract when streaming schemas disagree.

Read the full file on GitHub · 38 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -453 lines · -163 tokens per session 8ca9751e9ba3
  2. 3mo ago First seen · 491 lines · 212 tokens per session scan A 6faf9ad7ca20

Subscribe to this mod's changes

slack-block-kit is a skill published in the GitHub repository ccheney/robust-skills (62 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 644 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

slack-block-kit compared with skills from other repositories

slack-block-kit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slack-block-kitccheney/robust-skillsSkill622mo agoMITA49Claude Code, Codex
principle-clean-architecturelugassawan/swe-workbenchSkill32d agoMITA43Claude Code
principle-resiliencylugassawan/swe-workbenchSkill32d agoMITA126Claude Code
principle-distributed-systemslugassawan/swe-workbenchSkill32d agoMITA96Claude Code
principle-performancelugassawan/swe-workbenchSkill32d agoMITA92Claude Code
principle-api-designlugassawan/swe-workbenchSkill32d agoMITA69Claude Code
principle-error-handlinglugassawan/swe-workbenchSkill32d agoMITA74Claude Code