agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/slack/SKILL.md

slack

Skill13 starsChanged 27 days agoMITView on GitHub

  • Installs packages

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, BlueBubbles and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 7 projects that use this

  • jiulingyunSkill

    BlueBubbles

    为Clawdbot构建或更新BlueBubbles外部通道插件(扩展包,REST发送/探测,webhook入站)。

    Also in 21 projects that use this

  • hkyutongSkill

    openclaw-release-maintainer

    Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.

    Also in 4 projects that use this

  • seedprodSkill

    voice-call

    Start voice calls via the OpenClaw voice-call plugin.

    Also in 19 projects that use this

  • seedprodSkill

    food-order

    Reorder Foodora orders + track ETA/status with ordercli. Never confirm without explicit user approval. Triggers: order food, reorder, track ETA.

    Also in 5 projects that use this

  • AtomicBot-aiSkill

    taskflow

    Also in 7 projects that use this

  • +4 more from seedprod

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 69 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use app.message() to listen to text.

    line 22
  2. Very specific:

    Use app.client.chat.postMessage to send messages.

    line 23
  3. Very specific:

    Use Block Kit Builder to design UIs.

    line 35
  4. Distinctive:

    If your app can't post to a channel, ensure you have invited the bot to the channel first.

    line 38
  5. Distinctive:

    Use this when your agent works with slack — structured patterns beat pasted docs and prevent common hallucinations.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 69 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Slack API Skill

Overview

Slack APIs enable custom apps, bots, and slash commands. This skill covers the @slack/web-api and @slack/bolt frameworks.

Installation

npm install @slack/bolt
pip install slack_bolt

Authentication

Uses Bot User OAuth Tokens (xoxb-) for sending messages, and Signing Secrets to verify incoming requests from Slack.

Core Concepts

  • Block Kit: A JSON-based UI framework for building rich messages.
  • Events API: Webhooks for real-time Slack activity.
  • Conversations: Channels, DMs, or Private Groups.

Common Workflows

  1. Initialize Bolt App with token and signing secret.
  2. Use app.message() to listen to text.
  3. Use app.client.chat.postMessage to send messages.

Error Handling

Catch WebAPIPlatformError. Check error.data.error (e.g., channel_not_found, not_in_channel).

Security

You MUST verify the signature of incoming Slack requests using your Signing Secret. The Bolt framework does this automatically.

Rate Limits

Tier 1 endpoints are 1 request per second. Tier 4 endpoints (like chat.postMessage) are 1 request per second per channel.

Best Practices

Use Block Kit Builder to design UIs. Store state in your database rather than trying to pass complex state through Slack modal private_metadata.

Troubleshooting

If your app can't post to a channel, ensure you have invited the bot to the channel first.

References

Why use this skill

Use this when your agent works with slack — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using outdated SDK or API versions from training data
  • Inventing environment variable names
  • Omitting error handling and retry logic

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • github-actions — integrates with
  • sentry — integrates with

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.