Token导航 LogoToken导航

Agent Skill · 研究检索

slack-master(Slack master 搜索)

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

slack-master 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 64,698。

总安装 294周安装 12GitHub Stars 2下载 95核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

整合多维度 Slack 管理能力,覆盖用户、频道与权限系统操作。适合管理员进行批量账号处理、频道治理或权限审计。通过 GitHub 安装,支持 Cursor、Claude 等开发环境调用。执行敏感操作前务必确认操作者身份与变更影响范围。推荐在非高峰时段执行大规模变更以减少业务干扰。

slack-master 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/slack-master

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill sla…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

slack-master 怎么安装?

在终端执行 npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill slack-master。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

slack-master 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

slack-master 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

slack-master 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

slack-master 用的人多吗?

公开数据是累计安装 294 次,近一周安装 12 次,下载 95 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

slack-master 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
slack-master

Slack master 搜索 · 本页

2942接触敏感数据MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Slack Master

This is NOT a user-facing skill. It's a shared resource library referenced by Slack integration skills.

Purpose

Provides shared resources to eliminate duplication across:

  • slack-connect - Meta-skill for Slack workspace operations
  • slack-send-message - Send messages to channels/DMs
  • slack-list-channels - List available channels
  • slack-search-messages - Search message history
  • And 29 other operation skills...

Instead of loading this skill, users directly invoke the specific skill they need above.


Architecture: DRY Principle

Problem solved: Slack skills would have duplicated content (setup instructions, API docs, auth flow, error handling).

Solution: Extract shared content into slack-master/references/ and slack-master/scripts/, then reference from each skill.

Result: Single source of truth, reduced context per skill.


Authentication Model: User OAuth

This integration uses User OAuth (not Bot OAuth) for team-wide deployment:

┌─────────────────────────────────────────────────────────────┐
│  USER OAUTH (Per-User Authentication)                       │
├─────────────────────────────────────────────────────────────┤
│  • Each team member authenticates with their own account    │
│  • Messages sent appear as the user (not a bot)             │
│  • Users only see channels/DMs they have access to          │
│  • No cross-user data exposure possible                     │
│  • Token type: xoxp- (user tokens)                          │
└─────────────────────────────────────────────────────────────┘

Why User OAuth?

  • Messages appear from the actual user, not a bot
  • Respects existing channel permissions
  • No need for bot installation in every channel
  • Each user controls their own access

Shared Resources

All Slack skills reference these resources (progressive disclosure).

references/

setup-guide.md - Complete setup wizard

  • Creating a Slack App with User OAuth
  • Configuring OAuth scopes
  • Getting client ID and secret
  • Running the OAuth flow

api-reference.md - Slack API patterns

  • Base URL and authentication
  • All 32 API endpoints documented
  • Request/response examples
  • Rate limiting info

error-handling.md - Troubleshooting

  • Common errors and solutions
  • HTTP error codes
  • Token expiration handling
  • Scope issues

authentication.md - User OAuth flow

  • OAuth 2.0 authorization flow
  • Token exchange process
  • Token refresh (Slack tokens don't expire normally)
  • Per-user token storage

scripts/

Authentication & Configuration

check_slack_config.py - Pre-flight validation

python check_slack_config.py [--json]
ArgumentRequiredDefaultDescription
--jsonNoFalseOutput structured JSON for AI consumption

Exit codes: 0=configured, 1=partial, 2=not configured

When to Use: Run this FIRST before any Slack operation. Use to validate user token is configured, diagnose authentication issues, or check if OAuth setup is needed.


setup_slack.py - Interactive OAuth wizard

python setup_slack.py

No arguments - runs interactively. Guides through OAuth authorization, gets user token, saves to .env.

When to Use: Use when Slack integration needs initial setup, when check_slack_config.py returns exit code 2, or when user needs to re-authenticate.


slack_client.py - Shared API client

from slack_client import get_client
client = get_client()
result = client.post('chat.postMessage', {'channel': 'C123', 'text': 'Hello'})

Provides:

  • Automatic token loading from.env
  • Request formatting for Slack API
  • Error handling and response parsing
  • Rate limit awareness

When to Use: Import this in all Slack operation scripts for consistent API access.


Message Operations

send_message.py - Send message (chat.postMessage)

python send_message.py --channel CHANNEL --text "Message" [--thread-ts TS] [--json]

update_message.py - Update message (chat.update)

python update_message.py --channel CHANNEL --ts TIMESTAMP --text "New text" [--json]

delete_message.py - Delete message (chat.delete)

python delete_message.py --channel CHANNEL --ts TIMESTAMP [--json]

schedule_message.py - Schedule message (chat.scheduleMessage)

python schedule_message.py --channel CHANNEL --text "Message" --post-at UNIX_TS [--json]

Channel Operations

list_channels.py - List channels (conversations.list)

python list_channels.py [--types public,private] [--limit N] [--json]

channel_info.py - Get channel info (conversations.info)

python channel_info.py --channel CHANNEL [--json]

channel_history.py - Get messages (conversations.history)

python channel_history.py --channel CHANNEL [--limit N] [--oldest TS] [--latest TS] [--json]

create_channel.py - Create channel (conversations.create)

python create_channel.py --name NAME [--is-private] [--json]

User Operations

list_users.py - List workspace users (users.list)

python list_users.py [--limit N] [--json]

user_info.py - Get user info (users.info)

python user_info.py --user USER_ID [--json]

File Operations

upload_file.py - Upload file (files.upload)

python upload_file.py --file PATH --channels C1,C2 [--title TITLE] [--json]

list_files.py - List files (files.list)

python list_files.py [--channel CHANNEL] [--user USER] [--limit N] [--json]

Search Operations

search_messages.py - Search messages (search.messages)

python search_messages.py --query "search terms" [--count N] [--json]

search_files.py - Search files (search.files)

python search_files.py --query "search terms" [--count N] [--json]

Intelligent Error Detection Flow

When a Slack skill fails due to missing configuration, the AI should:

Step 1: Run Config Check with JSON Output

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

Step 2: Parse the ai_action Field

The JSON output includes an ai_action field that tells the AI what to do:

ai_actionWhat to Do
proceed_with_operationConfig OK, continue with the original operation
run_oauth_setupRun: python setup_slack.py to authorize
check_scopesToken exists but missing required scopes
token_revokedUser revoked access, need to re-authorize

Step 3: Help User Fix Issues

If ai_action is run_oauth_setup:

  1. Tell user: "Slack integration needs setup. Let's authorize your account."
  2. Run: python 00-system/skills/slack/slack-master/scripts/setup_slack.py
  3. User will be guided through OAuth flow
  4. Token saved to .env
  5. Re-run config check to verify

JSON Output Structure

{
  "status": "not_configured",
  "exit_code": 2,
  "ai_action": "run_oauth_setup",
  "missing": [
    {"item": "SLACK_USER_TOKEN", "required": true, "location": ".env"}
  ],
  "fix_instructions": [...],
  "setup_wizard": "python 00-system/skills/slack/slack-master/scripts/setup_slack.py"
}

How Skills Reference This

Each skill loads shared resources only when needed (progressive disclosure):

slack-connect uses:

  • check_slack_config.py (validate before any operation)
  • All API scripts based on user request
  • All references as needed

slack-send-message uses:

  • check_slack_config.py (validate before sending)
  • send_message.py (core functionality)
  • error-handling.md (troubleshooting)

Environment Variables

Required in .env:

# Slack User OAuth Token (starts with xoxp-)
SLACK_USER_TOKEN=xoxp-xxxxxxxxxxxxx

# Optional: For OAuth setup flow
SLACK_CLIENT_ID=your-client-id
SLACK_CLIENT_SECRET=your-client-secret

Required OAuth Scopes (User Token)

channels:read        # List public channels
channels:write       # Create/manage public channels
channels:history     # Read public channel messages
groups:read          # List private channels
groups:write         # Create/manage private channels
groups:history       # Read private channel messages
im:read              # List DMs
im:write             # Manage DMs
im:history           # Read DM messages
mpim:read            # List group DMs
mpim:write           # Manage group DMs
mpim:history         # Read group DM messages
chat:write           # Send messages
users:read           # List users
users:read.email     # Get user emails
files:read           # List/download files
files:write          # Upload files
reactions:read       # Get reactions
reactions:write      # Add/remove reactions
pins:read            # List pinned items
pins:write           # Pin/unpin items
search:read          # Search messages/files
reminders:read       # List reminders
reminders:write      # Create/delete reminders
team:read            # Get team info

API Base URL

All API requests go to: https://slack.com/api/


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

平台分布

Claude Code

29.48%
按下载量换算28

OpenCode

24.27%
按下载量换算23

Antigravity

19.6%
按下载量换算19

windsurf

13.06%
按下载量换算12

Codex

8.69%
按下载量换算8

Cursor

3.61%
按下载量换算3

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills