Zum Inhalt springen
Skillpedia
E-Mail & Nachrichten394k · #36

block-kit

Was er macht

Er bringt einem KI-Agenten bei, Slack-Antworten als native Block-Kit-Layouts zu formatieren, etwa mit Abschnitten, Tabellen und Schaltflächen. Er ist für Menschen gedacht, die ihre Slack-Antworten klar und leicht umsetzbar wollen.

Wann du ihn nutzt

  • ✓Wenn eine Slack-Antwort Schaltflächen braucht, damit du etwas freigeben oder eine Option wählen kannst.
  • ✓Wenn die Antwort ein Bericht, ein Vergleich oder ein Plan ist, der in Abschnitten oder einer Tabelle besser lesbar ist.
  • ✓Wenn eine Antwort kurz oder ein lockerer Chat ist, bleibt sie beim Skill als reiner Text.

Link zum Skill

https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Schick dem Team eine Slack-Zusammenfassung der Verkäufe dieser Woche mit einer Tabelle und einer Schaltfläche, die den vollständigen Bericht öffnet.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill entscheidet, ob ein reichhaltiges Layout hilft, und sendet die Antwort dann über das Slack-Nachrichten-Werkzeug als strukturierte Darstellung. Außerdem enthält sie eine Textfassung, damit die Bedeutung erhalten bleibt, falls das Layout nicht angezeigt wird.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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 callback actions for conversational choices and url for an external destination. Do not use generic command actions for Slack controls; Slack renders them as text fallback rather than clickable controls.
  • Include a useful message fallback 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.

Häufige Fragen

Funktionieren die Schaltflächen in Slack tatsächlich?

Schaltflächen brauchen passende Folgeaktionen, etwa einen getippten Rückruf oder einen Web-Link, damit sie klickbar und nützlich sind.

Was ist, wenn das reichhaltige Layout nicht angezeigt wird?

Der Skill enthält eine Textfassung, die dieselbe Bedeutung bewahrt.

Nutzt er Layouts für jede Antwort?

Nein. Kurze Antworten und lockere Nachrichten bleiben als reiner Text.

Details

Originalbeschreibung des Autors

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

repo: openclaw/openclaw

Beliebtheit

GitHub-Sterne
394k
Platz im Ranking
#36
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills