经 AI Skill Hub 精选评估,Slack自动化 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Slack自动化 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Slack自动化 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g agent-slack # 方式二:npx 直接运行(无需安装) npx agent-slack --help # 方式三:项目依赖安装 npm install agent-slack # 方式四:从源码运行 git clone https://github.com/stablyai/agent-slack cd agent-slack npm install npm start
# 命令行使用
agent-slack --help
# 基本用法
agent-slack [options] <input>
# Node.js 代码中使用
const agent_slack = require('agent-slack');
const result = await agent_slack.run(options);
console.log(result);
# agent-slack 配置说明 # 查看配置选项 agent-slack --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENT_SLACK_CONFIG="/path/to/config.yml"
Slack automation CLI for AI agents (TypeScript + Bun).
Guiding principle:
- Token-efficient — (compact JSON, minimal duplication, and empty/null fields pruned) so LLMs can consume results cheaply. - Zero-config auth — Auth just works if you have Slack Desktop (with fallbacks available). No Python dependency. - Human-in-the-loop — When appropriate (not in CI environments), loop humans in. Ex: message draft <img width="1228" height="741" alt="image" src="https://github.com/user-attachments/assets/92ecbb71-18ca-4516-a874-c83c154b0709" />
agent-slack user list --workspace "https://workspace.slack.com" --limit 200 | jq .
Install via Bun (recommended):
curl -fsSL https://raw.githubusercontent.com/stablyai/agent-slack/main/install.sh | sh
OR npm global install (requires Node >= 22.5):
npm i -g agent-slack
OR run via Nix flake:
nix run github:stablyai/agent-slack
On macOS and Windows, authentication happens automatically:
You can also run manual imports:
agent-slack auth whoami
agent-slack auth import-desktop
agent-slack auth import-brave
agent-slack auth import-chrome
agent-slack auth import-firefox
agent-slack auth test
[!NOTE]import-brave/import-chromeread tokens from a logged-in Slack tab via AppleScript. Both browsers ship with Allow JavaScript from Apple Events disabled by default — enable it in View → Developer before running these commands. macOS will prompt for your password the first time.
Alternatively, set env vars:
export SLACK_TOKEN="xoxc-..." # browser token
export SLACK_COOKIE_D="xoxd-..." # cookie d
agent-slack auth test
Or use a standard Slack token (xoxb/xoxp):
export SLACK_TOKEN="xoxb-..."
agent-slack auth test
[!TIP] You should probably just use the skill for your agent instead of reading below.
message get fetches a single message. If the message is in a thread, it also returns thread metadata (reply count, participants) but not the full thread contents:
{
"message": { "ts": "...", "text": "...", "user": "U123", ... },
"thread": { "ts": "...", "length": 6 }
}
message list fetches all replies in a thread, or recent channel messages when no thread is specified. Use this when you need the full conversation:
{
"messages": [
{ "ts": "...", "text": "...", "user": "U123", ... },
{ "ts": "...", "text": "...", "user": "U456", ... }
]
}
When to use which:
get to check a single message or see if there's a thread worth expandinglist to read an entire thread conversationlist on a channel (without --thread-ts) to browse recent channel messageslist with --with-reaction / --without-reaction plus --oldest to filter channel history by reaction markers高质量的Slack自动化工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Slack自动化 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | agent-slack |
| 原始描述 | 开源AI工作流:Slack automation CLI for AI agents。⭐431 · TypeScript |
| Topics | automationclislacktypescript |
| GitHub | https://github.com/stablyai/agent-slack |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-05 · 更新时间:2026-06-05 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端