Communityコーディング&開発github.com

block-kit

構造化されたSlackの返信や、ネイティブなSlack Block Kit JSONの作成・検証を行うスキルです。

block-kit とは?

このスキルは、Slack上でのやり取りをよりネイティブでリッチな体験にするために設計されています。AIエージェントが返信する際に、単なるプレーンテキストではなく、ボタンやセレクトメニュー、テーブル、チャートなどを含むBlock Kitメッセージを自動的に生成します。これにより、ユーザーは次のアクションをワンクリックで実行でき、情報の視認性も向上します。サポートするプラットフォームはSlackで、`message`ツールを通じて`action: "send"`と`presentation`を指定することで動作します。また、ユーザーがSlackアプリを開発している場合や生のBlock Kit JSONを要求した場合には、公式ガイドに従った正確なJSONの作成と検証を支援します。スキルの適用判断は、返信内容が意思決定、状態比較、レポートなど構造化が有効な場合に自動的に行われ、簡易な会話ではプレーンテキストが使われます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/slack/skills/block-kit

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Slack Block Kit

Slackの返信をよりネイティブなものにします。構造化やワンクリックでのフォローアップが結果を向上させる場合、ユーザーがBlock Kitを要求するのを待たずにリッチなメッセージを送信します。

適切な表面を選ぶ

以下の形状のうち少なくとも1つが返信に含まれる場合、presentationを使用します:

  • ボタンやセレクトメニューに適した意思決定、確認、または次のアクション
  • タイトル付きセクション、テーブル、チャートとして表示した方が読みやすいステータス、比較、レポート、計画
  • 重要なコンテキストで、主要な結果から視覚的に区切る必要があるもの

簡潔な回答やカジュアルな会話で構造化に価値がない場合は、プレーンテキストを使用します。

結果を送信する

Slackで返信するには、messageツールをaction: "send"とポータブルなpresentationを指定して呼び出します。SlackプラグインがそれをネイティブなBlock Kitとしてレンダリングします。現在のツールで公開されている正確なスキーマを使用してください。サポートされるブロックタイプには、text、context、divider、buttons、select、chart、tableを含めることができます。

  • 結果を最初に配置します。タイトル、ラベル、コンテキストは簡潔に保ちます。
  • インタラクティブなコントロールには、実際のフォローアップのセマンティクスを与えます。会話の選択には型付きのcallbackアクションを、外部の宛先にはurlを使用します。Slackコントロールに汎用的なcommandアクションを使用しないでください。Slackはそれらをクリック可能なコントロールではなくテキストフォールバックとしてレンダリングします。
  • リッチなレイアウトなしでも意味を保持する有用なmessageフォールバックを含めます。
  • 表示可能な送信が成功した後は、最終的な応答で同じ内容を繰り返さないでください。

コントロールは、その値が次のエージェントターンで理解し行動するのに十分に自己完結している場合にのみ完全と見なされます。操作が戻ってきたら、選択を明示的に認識し、要求されたワークフローを続行します。

ネイティブBlock Kitの作成

ユーザーがSlackアプリを構築している場合、または生のBlock Kit JSONを明示的に要求した場合は、適応された公式Block Kitガイドを全文読んでください。一般的なメッセージ、モーダル、App Homeレイアウトについては、公式パターンも読んでください。

ネイティブJSONの場合は、適応されたガイドのライブドキュメントとblocks.validateワークフローに従ってください。ネイティブなSlackブロックをOpenClawのpresentationフィールドに渡さないでください。プラグインがその変換を担当します。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

claw-score

Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or committed inventory reports.

関連スキル