360 Secure SkillHub
360 安全技能中心

Slack Assistant

这是一款终端端Slack助手,支持基础操作与AI增强功能:基础功能含收发消息、读取频道历史、搜索内容、创建/管理频道及成员;AI功能可生成频道摘要、专业回复、按重要性排序消息。适用于查询频道动态、补发消息摘要、起草回复、管理工作区等场景。通过bash命令调用,需先配置Slack OAuth凭据,AI功能需额外设置Evolink API密钥,输出为终端文本形式的操作结果。

evolinkai
evolinkai
热度 36.16
最近更新 2026-05-18 11:37:34
分类:协作依赖:代码执行 / 第三方 API / 读写文件应用场景:摘要总结 / 任务管理 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add slack-assistant
Metadata
name
Slack Assistant
description
Slack API integration with smart AI features — send messages, read channels, search conversations, and manage workspaces with Claude-powered summarization and drafting. Powered by evolink.ai

Slack Assistant

Send messages, read channels, search conversations, and manage your Slack workspace with AI-powered features. Summarize channels, draft replies, and prioritize important messages — all from your terminal.

Powered by Evolink.ai

When to Use

  • User says "send a Slack message", "post to #channel"
  • User wants to read channel history or search messages
  • User asks "what's happening in #general?" or "any important Slack messages?"
  • User says "summarize #channel" or "what did I miss in Slack?"
  • User wants to draft a professional Slack reply using AI
  • User needs to create channels, invite members, or manage workspace

Quick Start

1. Set up Slack OAuth credentials

# First time only — create Slack app and get credentials
bash scripts/slack-auth.sh setup

# Authorize your Slack workspace
bash scripts/slack-auth.sh login

2. Set your EvoLink API key (for AI features)

export EVOLINK_API_KEY="your-key-here"

3. Use Slack

# List recent messages in a channel
bash scripts/slack.sh list "#general"

# Send a message
bash scripts/slack.sh send "#general" "Hello team!"

# Search messages
bash scripts/slack.sh search "project update"

Capabilities

Core Operations

  • Send messages — Post to channels or DMs with text, markdown, or blocks
  • Read channels — Fetch message history from any channel
  • Search — Find messages by keyword, user, or date range
  • Manage channels — Create, archive, invite/remove members
  • File operations — Upload and download files

AI Features (Optional)

Requires EVOLINK_API_KEY. Get one free

  • ai-summary — Summarize channel activity with key points
  • ai-reply — Generate professional reply suggestions
  • ai-prioritize — Rank messages by importance

Commands

Basic Operations

# List channels
bash scripts/slack.sh channels

# List recent messages (default: 10)
bash scripts/slack.sh list "#channel-name" [limit]

# Send message
bash scripts/slack.sh send "#channel" "Message text"
bash scripts/slack.sh send "@username" "Direct message"

# Search messages
bash scripts/slack.sh search "keyword" [--channel "#name"] [--from "@user"]

# Get message details
bash scripts/slack.sh read CHANNEL_ID TIMESTAMP

AI Operations

# Summarize channel (last 50 messages)
bash scripts/slack.sh ai-summary "#channel-name" [limit]

# Generate reply suggestion
bash scripts/slack.sh ai-reply CHANNEL_ID TIMESTAMP

# Prioritize messages by importance
bash scripts/slack.sh ai-prioritize "#channel-name" [limit]

Channel Management

# Create channel
bash scripts/slack.sh create-channel "channel-name" [--private]

# Invite user to channel
bash scripts/slack.sh invite "#channel" "@user"

# Archive channel
bash scripts/slack.sh archive "#channel"

Example

User: "Summarize what happened in #engineering today"

bash scripts/slack.sh ai-summary "#engineering" 30

Output:

📊 Channel Summary: #engineering (30 messages)

Key Topics:
• Database migration completed successfully (5 messages)
• New API endpoint deployed to staging (3 messages)
• Code review requested for PR #234 (2 messages)

Action Items:
• @alice to review performance metrics
• @bob needs approval on deployment plan

Sentiment: Positive, productive discussions

Configuration

Variable Default Required Description
SLACK_SKILL_DIR ~/.slack-skill No Directory for credentials and cache
EVOLINK_API_KEY — Optional (AI) Your EvoLink API key for AI features. Get one free
EVOLINK_MODEL claude-opus-4-6 No Model for AI processing. EvoLink API

Required binaries: python3, curl

Security

Important: Data Consent for AI Features

AI commands (ai-summary, ai-reply, ai-prioritize) transmit message content, sender names, and channel information to api.evolink.ai for processing by Claude. By setting EVOLINK_API_KEY and using these commands, you explicitly consent to this transmission. Data is not stored after the response is returned. Core Slack operations never transmit data to any third party.

Network Access

  • api.slack.com — All Slack API operations
  • slack.com — OAuth authorization flow
  • api.evolink.ai — AI features only (optional)

Persistence & Privilege

This skill stores OAuth tokens in ~/.slack-skill/token.json (mode 600). No elevated or persistent privileges are requested.

Links