本文へ移動
cccskills
無料GitHub で公開

slack

Read and write Slack: list channels, read history, post messages, search, list users. Trigger phrases: slack, slack channel, post to slack.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md3.2 KB
  • bin/slack.py5.7 KB
  • slack.py5.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Slack

Purpose

Read and write the user's Slack workspace: list channels, read recent history, post messages, search messages, list users. Use when the user mentions Slack or wants something sent to / found in a Slack channel.

Tooling

All commands go through bin/slack.py:

bin/slack.py auth                                        # verify the connection (auth.test)
bin/slack.py channels                                    # list channels (public + private)
bin/slack.py history --channel C0123456789 --limit 20    # recent messages in a channel
bin/slack.py post --channel C0123456789 --text "hello"    # post a message
bin/slack.py users                                       # list workspace users
bin/slack.py search --query "deploy"                     # search messages (needs search:read on the token)

Channel arguments accept channel IDs (C...). Use channels to resolve a #name to its ID first.

Auth

  • Provider id: slack (credential is collected as custom.slack)
  • Collection: provider OAuth via the secure credential flow (credentials.request_api_access)
  • Required scopes: channels:read, channels:history, groups:read, groups:history, chat:write, users:read
  • Granting more scopes: the install requests the minimum above so setup always succeeds, but nothing locks you to that set. Add any bot scopes your Slack app needs (OAuth & Permissions in your app settings), then reconnect: the CLI never checks scopes itself, it calls the API with whatever your token carries and reports Slack's own errors when a scope is missing.
  • search:read only exists on user tokens: Slack never grants it to bot tokens, and the provider OAuth install used here issues bot tokens. The search command is included anyway; when the token lacks the scope it exits with exact instructions on what to add instead of a raw error. Requesting search:read as a bot scope makes Slack reject the whole install ("Invalid permissions requested"), so it stays out of the default set.
  • Allowed hosts: slack.com
  • Status check: bin/slack.py auth (must return "ok": true)

Operating Rules

  1. post is a write: confirm the exact text and destination channel with the user before sending, unless standing permission to post exists.
  2. Reading (channels, history, users, search) needs no confirmation.
  3. Slack rate-limits aggressively on bursts; if a call returns ratelimited, wait the Retry-After seconds and continue. Do not hammer.
  4. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/slack.py). Do not print, log, or transmit the token value.

Files

  • SKILL.md
  • bin/slack.py

Maturity

✅ Live-tested: installed from a raw URL and exercised against the real Slack API (auth, channels, users, history, post all verified; private-channel scopes untestable, this workspace has no private channels).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

<What it does, one line>. Trigger phrases: <phrases>.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

airtable

無料

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

amadeus

無料

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

anthropic

無料

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

apollo

無料

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

日本語の概要は準備中です。原文の説明を表示しています。

Anil-matcha/awesome-muse-connectors1,3562026年10月6日 更新

Anil-matcha のスキルをすべて見る

このスキルの問題を報告する