Token导航 LogoToken导航

Agent Skill · 研究检索

slack(Slack 团队协作)

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

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

总安装 745周安装 32GitHub Stars 22下载 261核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tdimino/claude-code-minoan --skill slack

这个 Skill 是做什么的

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

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

当前无额外底部简介,可参考来源仓库获取完整功能说明。

来源仓库内路径:skills/slack

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/tdimino/claude-code-minoan --skill slack;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

slack 怎么安装?

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

slack 支持哪些 AI 工具?

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

slack 需要什么权限?

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

slack 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

slack 用的人多吗?

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

slack 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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

Slack 团队协作 · 本页

74522接触敏感数据未明确未通过

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

SKILL.md 原文

Slack Skill

Slack workspace integration with two components:

  1. Scripts — 7 Python scripts for on-demand Slack operations (bundled here)
  2. Session Bridge — connect THIS Claude Code session to Slack (background listener + inbox file, no extra API costs)
Daemon & Soul Engine: The Claudicle daemon (unified launcher, soul engine, cognitive pipeline, three-tier memory, Soul Monitor TUI) now lives in its own repo: github.com/tdimino/claudicle. Install Claudicle separately for daemon features.

When to Use This Skill

Scripts (on-demand)

  • Posting messages to Slack channels or threads
  • Reading channel history or thread replies
  • Searching messages or files across the workspace
  • Adding or managing reactions on messages
  • Uploading files or code snippets
  • Listing channels, getting channel info, or joining channels
  • Looking up users by name, ID, or email

Session Bridge (recommended)

  • Connecting any running Claude Code session to Slack
  • Responding to @mentions and DMs with full tool access (this session IS the brain)
  • No extra API costs — messages processed in the current session context
  • Auto-notification of new messages via UserPromptSubmit hook
  • Personality as Claudicle via soul.md instructions (no XML machinery needed)

Prerequisites

All scripts require the SLACK_BOT_TOKEN environment variable (a Bot User OAuth Token starting with xoxb-). Scripts also require requests (uv pip install --system requests).

# Verify token is set
echo $SLACK_BOT_TOKEN

First-Time Setup

  1. Go to api.slack.com/apps -> Create New App -> From Scratch
  2. Name it "Claude Code" -> select your workspace
  3. OAuth & Permissions -> Bot Token Scopes -> add all:

- app_mentions:read - channels:history, groups:history, im:history, mpim:history - channels:read, groups:read, im:read, im:write - chat:write - files:write, files:read - reactions:write, reactions:read - search:read - users:read, users:read.email - users:write (optional — enables green presence dot)

  1. Settings -> Socket Mode -> toggle ON -> generate an App-Level Token:

- Name: socket-mode - Scope: connections:write - Copy the xapp- token

  1. Event Subscriptions -> toggle ON (no Request URL needed with Socket Mode) -> Subscribe to Bot Events -> add:

- app_mention — channel @mentions - message.im — direct messages (required for DMs to work) - app_home_opened — App Home tab rendering

  1. App Home -> Show Tabs -> enable "Allow users to send Slash commands and messages from the messages tab"
  2. Install to Workspace -> approve permissions -> copy Bot User OAuth Token
  3. Set environment variables (add to shell profile): export SLACK_BOT_TOKEN=xoxb-... # Bot User OAuth Token export SLACK_APP_TOKEN=xapp-... # App-Level Token (Socket Mode)
  4. Invite the bot to channels: /invite @Claude Code

After any scope or event subscription change: reinstall the app (Install App -> Reinstall to Workspace) and restart the listener.


Quick Start

# Post a message
python3 ~/.claude/skills/slack/scripts/slack_post.py "#general" "Hello from Claude"

# Read recent messages
python3 ~/.claude/skills/slack/scripts/slack_read.py "#general" -n 10

# Search the workspace
python3 ~/.claude/skills/slack/scripts/slack_search.py "deployment status"

# Connect this session to Slack via Claudicle Session Bridge
# (requires Claudicle installed — see github.com/tdimino/claudicle)
cd ~/.claudicle/daemon && python3 slack_listen.py --bg
python3 ~/.claude/skills/slack/scripts/slack_check.py

Session Bridge

Connect any running Claude Code session to Slack. A background listener catches @mentions and DMs -> inbox.jsonl. This session reads the inbox, processes with full tool access, posts responses back. No extra API costs.

Requires Claudicle daemon installed — see github.com/tdimino/claudicle.

# Connect
cd ~/.claudicle/daemon && python3 slack_listen.py --bg

# Check messages
python3 ~/.claude/skills/slack/scripts/slack_check.py

# Respond to thread, remove hourglass, mark handled
python3 ~/.claude/skills/slack/scripts/slack_post.py "C12345" "response" --thread "TS"
python3 ~/.claude/skills/slack/scripts/slack_react.py "C12345" "TS" "hourglass_flowing_sand" --remove
python3 ~/.claude/skills/slack/scripts/slack_check.py --ack 1

# Disconnect
cd ~/.claudicle/daemon && python3 slack_listen.py --stop

Soul Formatter (optional): scripts/slack_format.py adds Open Souls cognitive step formatting — perception framing, dialogue extraction, monologue logging.

python3 slack_format.py perception "Tom" "What's the status?"   # -> Tom said, "..."
echo "$raw" | python3 slack_format.py extract                   # -> external dialogue only
echo "$raw" | python3 slack_format.py extract --narrate --log   # -> narrated + logged
python3 slack_format.py instructions                            # -> cognitive step XML format

Automated Respond: /slack-respond processes all pending messages as Claudicle with full cognitive steps — perception, monologue, dialogue, post, ack — in a single invocation. See ~/.claude/skills/slack-respond/SKILL.md.

For full installation, architecture, inbox format, auto-notification hook, and troubleshooting, see references/session-bridge.md.


Script Selection Guide

TaskScriptExample
Post a messageslack_post.pyslack_post.py "#general" "Hello"
Reply to a threadslack_post.pyslack_post.py "#ch" "reply" --thread TS
Schedule a messageslack_post.pyslack_post.py "#ch" "msg" --schedule ISO
Read channel historyslack_read.pyslack_read.py "#general" -n 20
Read threadslack_read.pyslack_read.py "#ch" --thread TS
Search messagesslack_search.pyslack_search.py "query"
Search filesslack_search.pyslack_search.py "query" --files
Add reactionslack_react.pyslack_react.py "#ch" TS emoji
Upload fileslack_upload.pyslack_upload.py "#ch"./file.pdf
Share code snippetslack_upload.pyslack_upload.py "#ch" --snippet CODE
List channelsslack_channels.pyslack_channels.py
Join channelslack_channels.pyslack_channels.py --join "#ch"
Find user by emailslack_users.pyslack_users.py --email user@co.com

For full script documentation (all parameters, examples, test suite, common workflows), see references/scripts-reference.md.


Rate Limit Awareness

TierRateKey Methods
Tier 11/minconversations.history, conversations.replies
Tier 220/minconversations.list, users.list, search.messages
Tier 350/minreactions.*, conversations.info, chat.update
Tier 4100+/minfiles.getUploadURLExternal, files.completeUploadExternal
Special1/sec/channelchat.postMessage

All scripts handle rate limits automatically via _slack_utils.py (local cooldown + retry with Retry-After). See references/rate-limits.md for full details.


Troubleshooting

ProblemFix
Bot not responding to @mentionsEnable Socket Mode; verify SLACK_APP_TOKEN (xapp-) is exported
"missing_scope" errorAdd the missing scope in OAuth & Permissions -> reinstall app
No search resultsInvite bot to channels with /invite @Claude Code, or use user token (xoxp-)
Rate limited (429)Scripts auto-retry; reduce batch sizes
"Sending messages turned off"App Home -> enable "Allow users to send Slash commands and messages from the messages tab"
No green presence dotAdd users:write scope -> reinstall app
App Home tab blankSubscribe to app_home_opened event

For daemon-specific troubleshooting (soul engine, memory, launcher), see Claudicle docs.


File Structure

scripts/
├── slack_check.py       # Session Bridge: read/ack inbox messages
├── slack_inbox_hook.py  # Session Bridge: UserPromptSubmit auto-check hook
├── slack_format.py      # Soul formatter: perception/extract/instructions (Open Souls paradigm)
├── slack_post.py        # Post messages to channels/threads
├── slack_read.py        # Read channel history or threads
├── slack_search.py      # Search messages or files
├── slack_react.py       # Add/remove reactions
├── slack_upload.py      # Upload files or snippets
├── slack_channels.py    # List/join channels
├── slack_users.py       # Look up users
└── _slack_utils.py      # Shared auth, rate limiting, API calls

Reference Index

ReferenceContents
references/session-bridge.mdSession Bridge: installation, architecture, inbox format, usage workflow, soul formatter, troubleshooting
references/unified-launcher-architecture.mdUnified launcher: installation, architecture, per-channel sessions, SDK integration, data flows, threading model
references/daemon-architecture.mdSoul engine cognitive steps, memory tiers, XML format, App Home, Soul Monitor TUI
references/scripts-reference.mdFull documentation for all 7 scripts, test suite, common workflows
references/onboarding-guide.mdUser model interview, CLAUDE.md generation, export commands
references/rate-limits.mdSlack API rate limit tiers and handling strategy

Assets

  • assets/app-icon.png — Slack app icon for bot configuration

平台分布

Codex

35.01%
按下载量换算91

Claude

29.12%
按下载量换算76

Cursor

19.7%
按下载量换算51

Gemini CLI

9.39%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

未通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills