Agent skill

Slack Automation

by davila7 in davila7/claude-code-templates

Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.

MITAuto-check passedProductivity & Automation

Install Slack Automation

skills CLI
$ npx skills add davila7/claude-code-templates --skill slack-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates slack-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/workflow-automation/slack-automation .claude/skills/slack-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
slack-automation
GitHub stars
33k
Used in
8 other repos
Token cost
~2.4k tokens
SKILL.md length
1,030 words
Files
1
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.

  • Works in 5 steps: Send Messages to Channels → Search Messages and Conversations → Manage Channels and Users → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 3 more sections
  • Reaches rube.app

What it does

Slack Automation is an agent skill from davila7/claude-code-templates. Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors. It works with Slack and Composio. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors

Example prompts

  • “/slack-automation”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Send Messages to Channels
  2. Search Messages and Conversations
  3. Manage Channels and Users
  4. React to and Thread Messages
  5. Schedule Messages

What it can do on your machine

Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Slack Automation loads about 2.4k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 1,030 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 1,030 words, ~2,403 tokens.

Download SKILL.mdSave it as .claude/skills/slack-automation/SKILL.md (or your agent's skills folder).
name
slack-automation
description
Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.
risk
critical
source
community
date_added
2026-02-27

Slack Automation via Rube MCP

Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Slack connection via RUBE_MANAGE_CONNECTIONS with toolkit slack
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit slack
  3. If connection is not ACTIVE, follow the returned auth link to complete Slack OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Send Messages to Channels

When to use: User wants to post a message to a Slack channel or DM

Tool sequence:

  1. SLACK_FIND_CHANNELS - Resolve channel name to channel ID [Prerequisite]
  2. SLACK_LIST_ALL_CHANNELS - Fallback if FIND_CHANNELS returns empty/ambiguous results [Fallback]
  3. SLACK_FIND_USERS - Resolve user for DMs or @mentions [Optional]
  4. SLACK_OPEN_DM - Open/reuse a DM channel if messaging a user directly [Optional]
  5. SLACK_SEND_MESSAGE - Post the message with resolved channel ID [Required]
  6. SLACK_UPDATES_A_SLACK_MESSAGE - Edit the posted message if corrections needed [Optional]

Key parameters:

  • channel: Channel ID or name (without '#' prefix)
  • markdown_text: Preferred field for formatted messages (supports headers, bold, italic, code blocks)
  • text: Raw text fallback (deprecated in favor of markdown_text)
  • thread_ts: Timestamp of parent message to reply in a thread
  • blocks: Block Kit layout blocks (deprecated, use markdown_text)

Pitfalls:

  • SLACK_FIND_CHANNELS requires query param; missing it errors with "Invalid request data provided"
  • SLACK_SEND_MESSAGE requires valid channel plus one of markdown_text/text/blocks/attachments
  • Invalid block payloads return error=invalid_blocks (max 50 blocks)
  • Replies become top-level posts if thread_ts is omitted
  • Persist response.data.channel and response.data.message.ts from SEND_MESSAGE for edit/thread operations
2. Search Messages and Conversations

When to use: User wants to find specific messages across the workspace

Tool sequence:

  1. SLACK_FIND_CHANNELS - Resolve channel for scoped search with in:#channel [Optional]
  2. SLACK_FIND_USERS - Resolve user for author filter with from:@user [Optional]
  3. SLACK_SEARCH_MESSAGES - Run keyword search across accessible conversations [Required]
  4. SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION - Expand threads for relevant hits [Required]

Key parameters:

  • query: Search string supporting modifiers (in:#channel, from:@user, before:YYYY-MM-DD, after:YYYY-MM-DD, has:link, has:file)
  • count: Results per page (max 100), or total with auto_paginate=true
  • sort: 'score' (relevance) or 'timestamp' (chronological)
  • sort_dir: 'asc' or 'desc'

Pitfalls:

  • Validation fails if query is missing/empty
  • ok=true can still mean no hits (response.data.messages.total=0)
  • Matches are under response.data.messages.matches (sometimes also response.data_preview.messages.matches)
  • match.text may be empty/truncated; key info can appear in matches[].attachments[]
  • Thread expansion via FETCH_MESSAGE_THREAD can truncate when response.data.has_more=true; paginate via response_metadata.next_cursor
3. Manage Channels and Users

When to use: User wants to list channels, users, or workspace info

Tool sequence:

  1. SLACK_FETCH_TEAM_INFO - Validate connectivity and get workspace identity [Required]
  2. SLACK_LIST_ALL_CHANNELS - Enumerate public channels [Required]
  3. SLACK_LIST_CONVERSATIONS - Include private channels and DMs [Optional]
  4. SLACK_LIST_ALL_USERS - List workspace members [Required]
  5. SLACK_RETRIEVE_CONVERSATION_INFORMATION - Get detailed channel metadata [Optional]
  6. SLACK_LIST_USER_GROUPS_FOR_TEAM_WITH_OPTIONS - List user groups [Optional]

Key parameters:

  • cursor: Pagination cursor from response_metadata.next_cursor
  • limit: Results per page (default varies; set explicitly for large workspaces)
  • types: Channel types filter ('public_channel', 'private_channel', 'im', 'mpim')

Pitfalls:

  • Workspace metadata is nested under response.data.team, not top-level
  • SLACK_LIST_ALL_CHANNELS returns public channels only; use SLACK_LIST_CONVERSATIONS for private/IM coverage
  • SLACK_LIST_ALL_USERS can hit HTTP 429 rate limits; honor Retry-After header
  • Always paginate via response_metadata.next_cursor until empty; de-duplicate by id
4. React to and Thread Messages

When to use: User wants to add reactions or manage threaded conversations

Tool sequence:

  1. SLACK_SEARCH_MESSAGES or SLACK_FETCH_CONVERSATION_HISTORY - Find the target message [Prerequisite]
  2. SLACK_ADD_REACTION_TO_AN_ITEM - Add an emoji reaction [Required]
  3. SLACK_FETCH_ITEM_REACTIONS - List reactions on a message [Optional]
  4. SLACK_REMOVE_REACTION_FROM_ITEM - Remove a reaction [Optional]
  5. SLACK_SEND_MESSAGE - Reply in thread using thread_ts [Optional]
  6. SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION - Read full thread [Optional]

Key parameters:

  • channel: Channel ID where the message lives
  • timestamp / ts: Message timestamp (unique identifier like '1234567890.123456')
  • name: Emoji name without colons (e.g., 'thumbsup', 'wave::skin-tone-3')
  • thread_ts: Parent message timestamp for threaded replies

Pitfalls:

  • Reactions require exact channel ID + message timestamp pair
  • Emoji names use Slack's naming convention without colons
  • SLACK_FETCH_CONVERSATION_HISTORY only returns main channel timeline, NOT threaded replies
  • Use SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION with parent's thread_ts to get thread replies
Show full SKILL.md (354 more words)Show less
5. Schedule Messages

When to use: User wants to schedule a message for future delivery

Tool sequence:

  1. SLACK_FIND_CHANNELS - Resolve channel ID [Prerequisite]
  2. SLACK_SCHEDULE_MESSAGE - Schedule the message with post_at timestamp [Required]

Key parameters:

  • channel: Resolved channel ID
  • post_at: Unix timestamp for delivery (up to 120 days in advance)
  • text / blocks: Message content

Pitfalls:

  • Scheduling is limited to 120 days in advance
  • post_at must be a Unix timestamp, not ISO 8601

Common Patterns

ID Resolution

Always resolve display names to IDs before operations:

  • Channel name -> Channel ID: SLACK_FIND_CHANNELS with query param
  • User name -> User ID: SLACK_FIND_USERS with search_query or email
  • DM channel: SLACK_OPEN_DM with resolved user IDs
Pagination

Most list endpoints use cursor-based pagination:

  • Follow response_metadata.next_cursor until empty
  • Set explicit limit values (e.g., 100-200) for reliable paging
  • De-duplicate results by id across pages
Message Formatting
  • Prefer markdown_text over text or blocks for formatted messages
  • Use <@USER_ID> format to mention users (not @username)
  • Use \n for line breaks in markdown_text

Known Pitfalls

  • Channel resolution: SLACK_FIND_CHANNELS can return empty results if channel is private and bot hasn't been invited
  • Rate limits: SLACK_LIST_ALL_USERS and other list endpoints can hit HTTP 429; honor Retry-After header
  • Nested responses: Results may be nested under response.data.results[0].response.data in wrapped executions
  • Thread vs channel: SLACK_FETCH_CONVERSATION_HISTORY returns main timeline only; use SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION for thread replies
  • Message editing: Requires both channel and original message ts; persist these from SEND_MESSAGE response
  • Search delays: Recently posted messages may not appear in search results immediately
  • Scope limitations: Missing OAuth scopes can cause 403 errors; check with SLACK_GET_APP_PERMISSION_SCOPES

Quick Reference

TaskTool SlugKey Params
Find channelsSLACK_FIND_CHANNELSquery
List all channelsSLACK_LIST_ALL_CHANNELSlimit, cursor, types
Send messageSLACK_SEND_MESSAGEchannel, markdown_text
Edit messageSLACK_UPDATES_A_SLACK_MESSAGEchannel, ts, markdown_text
Search messagesSLACK_SEARCH_MESSAGESquery, count, sort
Get threadSLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATIONchannel, ts
Add reactionSLACK_ADD_REACTION_TO_AN_ITEMchannel, name, timestamp
Find usersSLACK_FIND_USERSsearch_query or email
List usersSLACK_LIST_ALL_USERSlimit, cursor
Open DMSLACK_OPEN_DMuser IDs
Schedule messageSLACK_SCHEDULE_MESSAGEchannel, post_at, text
Get channel infoSLACK_RETRIEVE_CONVERSATION_INFORMATIONchannel ID
Channel historySLACK_FETCH_CONVERSATION_HISTORYchannel, oldest, latest
Workspace infoSLACK_FETCH_TEAM_INFO(none)

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/workflow-automation/slack-automation of davila7/claude-code-templates.

Open the folder on GitHubat commit c0ca7da

Used in 8 other repositories

We found 23 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 8 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Slack Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Slack Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Slack Automation this skilldavila7/claude-code-templates33k8 repos~2.4kAutomated safety check: PassMIT
Composioyc-software/qm15k—~1.6kAutomated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Composio Cloud Toolsquarqlabs/argus279—~543Automated safety check: PassApache-2.0
Setting Up RelayfileAgentWorkforce/relay869—~3.3kAutomated safety check: PassApache-2.0
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Composio

    yc-software/qm

    Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet.

    15k GitHub stars~1.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Composio Cloud Tools

    quarqlabs/argus

    Routes requests to external SaaS apps such as GitHub, Gmail, Google Calendar, Slack, Notion and Linear through cloud tools, with safeguards on irreversible actions.

    279 GitHub stars~543 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Setting Up Relayfile

    AgentWorkforce/relay

    A skill your agent uses when an agent or human needs to set up relayfile end-to-end so agents can read and write provider files through a local mount.

    869 GitHub stars~3.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Openloomi Connectors

    melandlabs/openloomi

    openloomi Connectors tools - manage the native 7 messaging integrations and pair with the composio skill for the 1000+ apps OAuth layer (Slack, Discord, X, Gmail, Outlook, Google…

    1k GitHub stars~3.3k tokensUpdated 16 days ago
    Productivity & AutomationAuto-check passed

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about Slack Automation

What does Slack Automation do?

Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit. Slack Automation is an agent skill from davila7/claude-code-templates. Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.

When should I use Slack Automation?

Slack Automation fits situations like: tasks that involve App automation through connectors.

How do I install Slack Automation in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill slack-automation -a claude-code`. Or copy the skill folder (cli-tool/components/skills/workflow-automation/slack-automation in davila7/claude-code-templates) into .claude/skills/slack-automation in your project. Claude Code loads it when a task matches its description.

How do I install Slack Automation in Codex?

Run `npx skills add davila7/claude-code-templates --skill slack-automation -a codex`. Or copy the skill folder (cli-tool/components/skills/workflow-automation/slack-automation in davila7/claude-code-templates) into .agents/skills/slack-automation in your project. Codex loads it when a task matches its description.

Can I use Slack Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill slack-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slack-automation, .gemini/skills/slack-automation, .github/skills/slack-automation and .opencode/skills/slack-automation in your project.

What does Slack Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: Slack Automation is instructions for the agent only.

Does Slack Automation access the network?

SKILL.md names 1 domain. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Slack Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Slack Automation use?

Slack Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Slack Automation use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Slack Automation?

Skills that share tags, products or a category with Slack Automation: Composio (yc-software/qm, 15k stars), Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars), Composio Cloud Tools (quarqlabs/argus, 279 stars) and Setting Up Relayfile (AgentWorkforce/relay, 869 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Slack Automation?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.