Slack send message

From theexperiencecompany/gaia · View interactive version

Slack send message is an AI agent skill from the GitHub repository theexperiencecompany/gaia. Send Slack messages intelligently - discover channels/users, understand conversation context, craft contextual messages, handle DMs and threads.

How to use this skill

Skill file

Slack Send Message

When to Use

Tools

Discovery

Context

Messaging

Workflow

Step 1: Discover the Target (NEVER assume IDs)

For channels:

SLACK_FIND_CHANNELS(query="engineering")

For users:

SLACK_FIND_USERS(search_query="Sarah")

If multiple matches, ask user to clarify.

Step 2: Read Before Writing

Understand the conversation context before sending:

For channel messages:

SLACK_FETCH_CONVERSATION_HISTORY(channel=channel_id, limit=20)

For thread replies:

SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION(channel=channel_id, thread_ts=message_ts)

This helps you:

Step 3: Craft Contextual Message

Based on what you've read:

Step 4: Send

Channel message:

SLACK_SEND_MESSAGE(channel=channel_id, text="Message here")

Thread reply:

SLACK_SEND_MESSAGE(channel=channel_id, text="Reply here", thread_ts=thread_ts)

DM workflow:

1. SLACK_FIND_USERS(search_query="Bob")
2. SLACK_OPEN_DM(users=user_id)
3. SLACK_SEND_MESSAGE(channel=dm_channel_id, text="Hey Bob...")

Step 5: Quick Acknowledgments

When a reaction is more appropriate than a text reply:

SLACK_ADD_REACTION_TO_AN_ITEM(channel=channel_id, timestamp=message_ts, name="thumbsup")

Use reactions for: acknowledgments, approvals, celebrations (🎉), simple yes/no.

Important Rules

  1. Never assume IDs: Always discover channels and users first
  2. Read before writing: Fetch recent context for better messages
  3. Thread replies stay in thread: Use thread_ts for threaded conversations
  4. DMs need OPEN_DM first: Can't send DM without opening the channel
  5. Reactions over text: Use emoji reactions for simple acknowledgments
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.