Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

slack-connectSlack connect 搜索

Agent Skill

用于处理 Slack 工作区里的频道、消息、线程、用户和通知信息。它适合让 Agent 查询团队沟通记录、整理上下文、回复线程或辅助协作提醒。使用时需要确认机器人或用户 token 是否具备目标频道访问权,私有频道和历史消息通常有额外权限限制;发送消息、@成员或批量读取对话时,应避免泄露内部讨论和敏感工作信息。

总安装

261

周安装

11

GitHub Stars

2

下载量

92
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:slack-connect(Slack connect 搜索)
来源仓库:https://github.com/abdullahbeam/nexus-design-abdullah
仓库路径:skills/slack-connect
安装命令:
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill slack-connect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill slack-connect

简介

提供 Slack 连接建立与维持的基础能力,支持实时通信通道。

  • 适用于需要长连接推送、状态同步或双向交互的应用开发。
  • 通过 GitHub 安装,适配多种 Agent 运行环境。
  • 必须正确处理 WebSocket 握手与心跳保活机制。
  • 网络不稳定环境下需增加重连策略与异常降级方案。slack-connect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Slack Connect

Entry point for all Slack operations. Validates configuration, discovers workspace, and routes requests to appropriate skills.

Trigger Phrases

Load this skill when user says:

  • "slack" / "connect slack" / "slack connect"
  • "send slack message" / "message [channel]"
  • "list slack channels" / "slack channels"
  • "search slack" / "find in slack"
  • "slack users" / "who's on slack"
  • Any reference to Slack operations

Quick Reference

First-time setup:

python 00-system/skills/slack/slack-master/scripts/setup_slack.py

Check configuration:

python 00-system/skills/slack/slack-master/scripts/check_slack_config.py --json

Workflow

Step 1: Validate Configuration

Always run first:

python 00-system/skills/slack/slack-master/scripts/check_slack_config.py --json

If ai_action is proceed_with_operation:

  • Continue to Step 2

If ai_action is run_oauth_setup:

  1. Tell user: "Slack needs to be set up. Let me guide you through authorization."
  2. Run: python 00-system/skills/slack/slack-master/scripts/setup_slack.py
  3. After setup, re-check config

If ai_action is create_slack_app:

  1. Guide user through creating a Slack App
  2. Load: slack-master/references/setup-guide.md
  3. After app created, run setup wizard

Step 2: Identify User Intent

Parse what the user wants to do:

User SaysRoute To
"send message to #general"Messaging → send_message.py
"list channels"Channels → list_channels.py
"get messages from #dev"Channels → channel_history.py
"search for 'project update'"Search → search_messages.py
"list users"Users → list_users.py
"upload file"Files → upload_file.py
"add reaction"Reactions → (see Phase 7)
"pin message"Pins → (see Phase 9)
"set reminder"Reminders → (see Phase 10)

Step 3: Execute Operation

Use the appropriate script from slack-master/scripts/:

Messaging Operations

Send message:

python 00-system/skills/slack/slack-master/scripts/send_message.py \
  --channel "C1234567890" \
  --text "Hello from Nexus!" \
  --json

Update message:

python 00-system/skills/slack/slack-master/scripts/update_message.py \
  --channel "C1234567890" \
  --ts "1234567890.123456" \
  --text "Updated message" \
  --json

Delete message:

python 00-system/skills/slack/slack-master/scripts/delete_message.py \
  --channel "C1234567890" \
  --ts "1234567890.123456" \
  --json

Channel Operations

List channels:

python 00-system/skills/slack/slack-master/scripts/list_channels.py \
  --types "public_channel,private_channel" \
  --limit 50 \
  --json

Get channel info:

python 00-system/skills/slack/slack-master/scripts/channel_info.py \
  --channel "C1234567890" \
  --json

Get channel history:

python 00-system/skills/slack/slack-master/scripts/channel_history.py \
  --channel "C1234567890" \
  --limit 20 \
  --json

User Operations

List users:

python 00-system/skills/slack/slack-master/scripts/list_users.py \
  --limit 100 \
  --json

Get user info:

python 00-system/skills/slack/slack-master/scripts/user_info.py \
  --user "U1234567890" \
  --json

Search Operations

Search messages:

python 00-system/skills/slack/slack-master/scripts/search_messages.py \
  --query "project update" \
  --count 20 \
  --json

Search files:

python 00-system/skills/slack/slack-master/scripts/search_files.py \
  --query "report.pdf" \
  --count 10 \
  --json

File Operations

Upload file:

python 00-system/skills/slack/slack-master/scripts/upload_file.py \
  --file "/path/to/file.pdf" \
  --channels "C1234567890" \
  --title "My Report" \
  --json

List files:

python 00-system/skills/slack/slack-master/scripts/list_files.py \
  --channel "C1234567890" \
  --limit 20 \
  --json

Step 4: Handle Results

Success:

  • Display relevant information to user
  • Format output nicely (channel names, usernames, etc.)

Error:

  • Load slack-master/references/error-handling.md if needed
  • Common errors:

- channel_not_found → Help user find correct channel - missing_scope → Need to add scope and re-authorize - rate_limited → Wait and retry


Operation Scripts Reference

All scripts are in 00-system/skills/slack/slack-master/scripts/:

Messaging

ScriptAPI MethodDescription
send_message.pychat.postMessageSend a message
update_message.pychat.updateEdit a message
delete_message.pychat.deleteDelete a message
schedule_message.pychat.scheduleMessageSchedule a message

Conversations

ScriptAPI MethodDescription
list_channels.pyconversations.listList channels
channel_info.pyconversations.infoGet channel details
channel_history.pyconversations.historyGet messages
create_channel.pyconversations.createCreate channel

Users

ScriptAPI MethodDescription
list_users.pyusers.listList workspace users
user_info.pyusers.infoGet user details

Files

ScriptAPI MethodDescription
upload_file.pyfiles.uploadUpload a file
list_files.pyfiles.listList files

Search

ScriptAPI MethodDescription
search_messages.pysearch.messagesSearch messages
search_files.pysearch.filesSearch files

Channel Resolution

When user references a channel by name (e.g., "#general"):

  1. First, list channels to find the ID: python list_channels.py --json
  2. Find matching channel in response
  3. Use the channel ID (e.g., "C1234567890") for operations

Common Pattern:

# User says: "send message to #general"
# 1. List channels to find ID
# 2. Use ID in send_message.py --channel C123...

User Resolution

When user references someone by name (e.g., "@john"):

  1. List users to find the ID: python list_users.py --json
  2. Find matching user in response
  3. Use the user ID (e.g., "U1234567890") for operations

Example Interactions

Send a Message

User: "Send 'Hello team!' to #general"

AI Actions:

  1. Check config: check_slack_config.py --json
  2. List channels: list_channels.py --json
  3. Find #general ID → C1234567890
  4. Send message: send_message.py --channel C1234567890 --text "Hello team!" --json
  5. Confirm to user: "Message sent to #general"

Search Slack

User: "Search slack for 'quarterly report'"

AI Actions:

  1. Check config
  2. Search: search_messages.py --query "quarterly report" --json
  3. Display results with channel names and snippets

List My Channels

User: "What slack channels am I in?"

AI Actions:

  1. Check config
  2. List: list_channels.py --types "public_channel,private_channel" --json
  3. Display channel names and member counts

Error Handling

Configuration Errors

ErrorAction
No tokenRun setup_slack.py
Invalid tokenRe-authenticate
Token revokedRe-authenticate

Operation Errors

ErrorAction
channel_not_foundList channels, help user find correct one
missing_scopeAdd scope to app, re-authorize
rate_limitedWait retry_after seconds, then retry
not_in_channelJoin channel first

For detailed error handling:

Load: slack-master/references/error-handling.md


Related Resources

  • Setup: slack-master/references/setup-guide.md
  • API Reference: slack-master/references/api-reference.md
  • Authentication: slack-master/references/authentication.md
  • Errors: slack-master/references/error-handling.md

Version: 1.0 Created: 2025-12-17 Status: Production Ready

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.01%
按下载量换算29

Antigravity

20.71%
按下载量换算19

windsurf

18.37%
按下载量换算17

Codex

11.58%
按下载量换算11

OpenCode

7.37%
按下载量换算7

Gemini CLI

3.38%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills