Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

formatting-slack-messages

Skill by PostHog

Builds and validates Slack Block Kit messages, modals, and App Home layouts. Useful for anyone formatting Slack output with tables, cards, buttons, and menus.

  • Score 86
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install formatting-slack-messages

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/.agents/skills/formatting-slack-messages ~/.claude/skills/formatting-slack-messages

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install formatting-slack-messages in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The formatting-slack-messages skill guides an AI assistant through building Slack Block Kit messages, modals, and App Home layouts. It starts by identifying the surface and the change, then reads the live Block Kit schemas before choosing components such as sections, tables, cards, carousels, and task cards. It covers text formats like mrkdwn and native markdown blocks, and accessibility and fallback text.

It ends with validation through the blocks.validate method, which checks a payload's schema without requiring any scopes. The skill then recommends inspecting the layout in Block Kit Builder or a live authorized message. It is for Slack formatting work and excludes workspace setup. Its comparison tables are not treated as permanent schemas.

Written from the project's SKILL.md and checked against it.

What it can do

  • Surface identificationIdentifies whether a payload is a message, modal, or App Home view before changing it.
  • Block selectionMatches content to blocks such as tables, cards, carousels, and task cards.
  • Live schema readingReads current Block Kit schemas and examples before building a payload.
  • Payload validationValidates blocks, messages, or views with the blocks.validate method and reads error pointers.
  • Text formattingHandles mrkdwn, native markdown blocks, and rich_text, and escapes dynamic values.
  • Accessibility supportAdds useful alt text and fallback text, and checks that button labels explain their action.
  • Chart handlingChooses between an image block and a native chart block for chart data.
  • Rendering reviewGuides layout checks in Block Kit Builder and on live messages with sample content.

What you need

  • An available Slack API client or connector, for validation
  • Block Kit Builder, for rendering inspection
  • Slack CLI, only if one is available

Try asking

  • Build a Slack Block Kit message with a table of this week's results.
  • Validate this Slack modal JSON and fix any blocks.validate errors.
  • Redesign this App Home view with empty-state and refresh handling.

Good to know

  • Not for workspace setup.
  • Schema validation does not confirm surface support, block counts, or visual layout.
  • Legacy colored attachments can collapse, so check block support before nesting.
  • Comparison tables in the skill are not permanent schemas; read live docs.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/formatting-slack-messages/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/block-selection.md10 KB

Alternatives to formatting-slack-messages

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

formatting-slack-messages: common questions

Does this skill validate Slack payloads?

Yes. It sends one of blocks, message, or view to blocks.validate and fixes reported errors. Schema success does not prove visual or functional approval.

Does it help with Slack workspace setup?

No. The description says it is not for workspace setup.

Does it need another Slack skill installed?

No. The source says it is self-contained and another installed skill is not required.

How do I install formatting-slack-messages?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is formatting-slack-messages free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is formatting-slack-messages safe to use?

It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to formatting-slack-messages?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

formatting-slack-messages Install

Add to stack

Loading.