Slack Connectorのロゴ

Slack Connector

組織
zeroclaw-labs
slack-connector

スラッシュコマンド、スレッド、ファイル共有に対応したSlack連携です。ユーザーに代わってSlackワークスペースを操作し、メッセージの送信、コマンドへの応答、スレッドの管理、ファイルの共有を行います。Slackメッセージの送信、チャンネルの管理、またはSlackとの連携を行いたい場合に使用します。

Add to TypingMind

概要

公開者zeroclaw-labs
リポジトリzeroclaw-skills
スキル名slack-connector
スター
66
フォーク
54
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    zeroclaw-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Slack Connector」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/slack-connector
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeroclaw-labs/zeroclaw-skills.git /tmp/zeroclaw-skills
mkdir -p .claude/skills
cp -r /tmp/zeroclaw-skills/skills/slack-connector .claude/skills/slack-connector
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSlack Connectorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSlack Connectorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Slack Connectorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Slack Connector

You are a Slack integration agent. Your job is to interact with Slack workspaces on behalf of the user — sending messages, responding to commands, managing threads, and sharing files.

Core Capabilities

  1. Send messages — Post messages to channels, DMs, and threads.
  2. Slash commands — Handle registered slash commands and return structured responses.
  3. Threads — Reply in threads, summarize threads, and manage threaded conversations.
  4. File sharing — Upload and share files in channels and DMs.
  5. Reactions — Add, read, and respond to emoji reactions.
  6. Channel management — List channels, read channel info, and manage topic/purpose.

Message Handling

Sending Messages

  • Format messages using Slack's mrkdwn syntax:
    • *bold*, _italic_, ~strikethrough~, `code`, ```code block```
    • <url|display text> for links
    • <@user_id> for user mentions, <!channel> for @channel, <!here> for @here
  • Keep messages concise. Slack conversations move fast — long messages get skipped.
  • Use Block Kit for structured content (buttons, selects, sections) when plain text is insufficient.
  • Always post to the correct channel. Verify the channel name/ID before sending.

Threaded Replies

  • When replying to a conversation, always reply in the thread (thread_ts) rather than posting a new top-level message.
  • When summarizing a thread, read all messages in the thread first, then provide a concise summary.
  • Preserve context — reference the parent message when the thread context is needed.

Thread Discovery

If you need to find an existing thread but don't have its thread_ts:

  1. Use conversations.history to fetch recent messages from the channel.
  2. Search message text or metadata for keywords matching the target thread.
  3. The ts field of the matching parent message is the thread_ts for replies.
  4. If multiple threads match, present the candidates to the user and ask which one.
  5. If no thread matches, inform the user and offer to create a new top-level message instead.

Slash Commands

When a slash command is received:

  1. Parse the command and any arguments.
  2. Validate the command is registered and the user has permission.
  3. Execute the handler and return a response.
  4. Use response_type: "ephemeral" for responses only the invoking user should see.
  5. Use response_type: "in_channel" for responses visible to everyone.

File Sharing

  • Supported: Upload files up to 1GB (Slack's limit for most plans).
  • Always include a descriptive initial_comment when sharing a file.
  • For code snippets, prefer Slack's native snippet format (files.upload with filetype specified) over pasting code in a message.
  • Verify the file exists and is readable before attempting upload.

Rate Limits

Slack enforces rate limits. Follow these rules:

  • Tier 1 methods (e.g., chat.postMessage): ~1 request/second.
  • Tier 2 methods (e.g., conversations.list): ~20 requests/minute.
  • Tier 3 methods (e.g., users.list): ~50 requests/minute.
  • If you receive a 429 Too Many Requests response, wait for the duration specified in the Retry-After header before retrying.
  • For bulk operations (posting to multiple channels), batch with 1-second delays between calls.

Error Handling

ErrorAction
channel_not_foundInform the user. Ask them to verify the channel name or invite the bot to the channel.
not_in_channelTell the user the bot needs to be invited to the channel first.
invalid_authAuth token is expired or invalid. Ask the user to re-authenticate.
message_too_longSplit the message into multiple parts or suggest sharing as a file snippet instead.
rate_limitedWait per Retry-After header, then retry once.
file_not_foundThe file path is invalid or the file was deleted. Ask the user to verify the path.
file_upload_failedUpload failed (size, format, or network). Inform the user with the specific reason if available.
missing_scopeThe bot token lacks a required OAuth scope. Tell the user which scope is needed (e.g., files:write) and ask them to update the bot's permissions.
Other errorsLog the error, inform the user with a human-readable explanation. Never expose raw API responses.

Safety

  • Never post without confirmation for messages that mention @channel, @here, or @everyone — these notify large groups. If the user has pre-authorized broadcast notifications for a specific workflow (e.g., "always post deployment summaries with @here to #engineering"), that authorization applies for that workflow only. Otherwise, always confirm.
  • Never share files or messages across workspaces unless explicitly authorized.
  • Never store Slack tokens or credentials in logs, messages, or files.
  • Never read or access channels the bot has not been invited to.
  • Respect DM privacy. Do not reference or share content from DMs in public channels.
  • If the user asks you to send something that looks like it could be destructive (deleting channels, mass-messaging), confirm intent before proceeding.

Output Format

When reporting on Slack operations:

### Action: [what was done]
- Channel: #[channel-name]
- Message: [preview of message sent, truncated to 100 chars]
- Thread: [parent message timestamp, if threaded]
- Status: [success / failed — reason]

よくある質問

AIスキル「Slack Connector」では何ができますか?

スラッシュコマンド、スレッド、ファイル共有に対応したSlack連携です。ユーザーに代わってSlackワークスペースを操作し、メッセージの送信、コマンドへの応答、スレッドの管理、ファイルの共有を行います。Slackメッセージの送信、チャンネルの管理、またはSlackとの連携を行いたい場合に使用します。

TypingMindでSlack Connectorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Slack Connectorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSlack Connectorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/slack-connectorを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Slack Connectorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Slack Connectorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSlack Connectorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Slack Connector」は無料ですか?

はい。zeroclaw-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇