Slack

Post messages, read channels, and manage threads via Slack Web API.

XAIHT Updated

File contents

Slack skill

Use the Slack Web API. SLACK_BOT_TOKEN must be in env.

Endpoints

  • postchat.postMessage
  • replychat.postMessage with thread_ts
  • read-historyconversations.history
  • reactreactions.add
  • uploadfiles.upload (or files.uploadV2 for >5MB)

Endpoints are at https://slack.com/api/<method>. Token goes in Authorization: Bearer .... Body is application/json for most modern methods.

XAIHT/Tlamatini/tree/main/Tlamatini/agent/skills_pkg/slack commit 48c5109cc0

Frequently asked questions

npx skillmds@latest add xaiht/slack