slack-automator

Error: --action required. Use when you need slack automator capabilities. Triggers on: slack automator, token, channel, message, user-id, query.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "slack-automator" with this command: npx skills add xueyetianya/slack-automator

Slack Automator

A complete Slack automation toolkit for sending messages, managing channels, searching conversations, listing users, posting rich Block Kit messages, uploading files, and managing Slack workspace operations — all from the command line using the Slack Web API with a bot token.

Description

Slack Automator provides programmatic access to your Slack workspace. Send messages to channels or DMs, search through message history, manage channels (create, archive, set topic/purpose), list and look up users, post rich formatted messages with Block Kit, react to messages, and more. Ideal for notification pipelines, ChatOps automation, reporting bots, and workspace administration.

Requirements

  • SLACK_BOT_TOKEN — Slack Bot User OAuth Token (starts with xoxb-)
  • Create a Slack App at [configured-endpoint]
  • Add required bot scopes: chat:write, channels:read, channels:history, users:read, search:read, etc.
  • Install the app to your workspace

Commands

  • channel-history — Error: --channel required
  • list-channels — {} — {} members{}'.format(priv, ch.get('name',''), members,
  • list-members — Execute list-members
  • message — general" --message "Hello!" --token xoxb-xxx
  • search — {} — {}: {}'.format(channel, user, text))
  • set-topic — Error: --channel required
  • stdin — Error: --channel required
  • user-info — Error: --user-id required

Environment Variables

| Variable | Required | Description |

CommandDescription
send-messageSend message to channel (--channel --message)
list-channelsList all channels
list-membersList workspace members
channel-historyGet channel messages (--channel)
searchSearch messages (--query)
set-topicSet channel topic (--channel --message)
user-infoGet user info (--user-id)

Examples

# Send a message
SLACK_BOT_TOKEN=xoxb-xxx slack-automator send "#general" "Hello team! 🚀"

# Send a rich Block Kit message
SLACK_BOT_TOKEN=xoxb-xxx slack-automator send-blocks "#alerts" '[{"type":"section","text":{"type":"mrkdwn","text":"*Alert:* Server CPU > 90%"}}]'

# Search messages
SLACK_BOT_TOKEN=xoxb-xxx slack-automator search "deployment from:alice in:#engineering"

# List channels
SLACK_BOT_TOKEN=xoxb-xxx slack-automator channels

# Look up user by email
SLACK_BOT_TOKEN=xoxb-xxx slack-automator user lookup alice@company.com

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated