Slack

From understudy-ai/understudy · View interactive version

Slack is an AI agent skill from the GitHub repository understudy-ai/understudy. Use when you need to control Slack from Understudy via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.

How to use this skill

Skill file

Slack Actions

Overview

Use slack to react, manage pins, send/edit/delete messages, and fetch member info. The tool uses the bot token configured for Understudy.

Inputs to collect

Message context lines include slack message id and channel fields you can reuse directly.

Actions

Action groups

| Action group | Default | Notes |

| ------------ | ------- | ---------------------- |

| reactions | enabled | React + list reactions |

| messages | enabled | Read/send/edit/delete |

| pins | enabled | Pin/unpin/list |

| memberInfo | enabled | Member info |

| emojiList | enabled | Custom emoji list |

React to a message

{
  "action": "react",
  "channelId": "C123",
  "messageId": "1712023032.1234",
  "emoji": "✅"
}

List reactions

{
  "action": "reactions",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

Send a message

{
  "action": "sendMessage",
  "to": "channel:C123",
  "content": "Hello from Understudy"
}

Edit a message

{
  "action": "editMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234",
  "content": "Updated text"
}

Delete a message

{
  "action": "deleteMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

Read recent messages

{
  "action": "readMessages",
  "channelId": "C123",
  "limit": 20
}

Pin a message

{
  "action": "pinMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

Unpin a message

{
  "action": "unpinMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

List pinned items

{
  "action": "listPins",
  "channelId": "C123"
}

Member info

{
  "action": "memberInfo",
  "userId": "U123"
}

Emoji list

{
  "action": "emojiList"
}

Ideas to try

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.