slack-api
Slack bot development and workspace automation using Web API, Events API, Socket Mode, and Block Kit for building interactive messaging applications
Best use case
slack-api is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Slack bot development and workspace automation using Web API, Events API, Socket Mode, and Block Kit for building interactive messaging applications
Teams using slack-api should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/slack-api/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How slack-api Compares
| Feature / Agent | slack-api | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Slack bot development and workspace automation using Web API, Events API, Socket Mode, and Block Kit for building interactive messaging applications
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Slack Api ## When to Use This Skill ### USE when: - Building notification systems for CI/CD pipelines - Creating interactive bots for team workflows - Automating incident response and alerting - Building approval workflows with interactive messages - Integrating external services with Slack channels - Creating slash commands for common operations - Building internal tools with modal dialogs - Implementing scheduled message automation ### DON'T USE when: - Microsoft Teams is the primary platform (use teams-api) - Simple one-way notifications only (use incoming webhooks directly) - Need email-based workflows (different domain) - Slack Enterprise Grid with complex org requirements - Real-time gaming or high-frequency updates (consider WebSockets) ## Prerequisites ### Slack App Setup ```bash # 1. Create a Slack App at https://api.slack.com/apps # 2. Choose "From scratch" and select your workspace # Required Bot Token Scopes (OAuth & Permissions): # - chat:write - Post messages # - chat:write.public - Post to channels without joining # - channels:read - List public channels # - channels:history - Read channel messages # - groups:read - List private channels *See sub-skills for full details.* ### Python Environment Setup ```bash # Create virtual environment python -m venv slack-bot-env source slack-bot-env/bin/activate # Linux/macOS # slack-bot-env\Scripts\activate # Windows # Install Slack Bolt SDK pip install slack-bolt slack-sdk # Install additional dependencies *See sub-skills for full details.* ### Local Development with ngrok ```bash # Install ngrok brew install ngrok # macOS # Or download from https://ngrok.com/download # Authenticate ngrok ngrok config add-authtoken YOUR_AUTH_TOKEN # Start tunnel for local development ngrok http 3000 *See sub-skills for full details.* ## Version History | Version | Date | Changes | |---------|------|---------| | 1.0.0 | 2026-01-17 | Initial release with comprehensive Slack API patterns | ## Resources - [Slack API Documentation](https://api.slack.com/) - [Bolt for Python](https://slack.dev/bolt-python/) - [Block Kit Builder](https://app.slack.com/block-kit-builder/) - [Slack App Manifest](https://api.slack.com/reference/manifests) - [Socket Mode](https://api.slack.com/apis/connections/socket) - [Events API](https://api.slack.com/events-api) --- *This skill provides production-ready patterns for Slack bot development, enabling powerful team automation and interactive workflows.* ## Sub-Skills - [1. Basic Slack Bot with Bolt](1-basic-slack-bot-with-bolt/SKILL.md) - [2. Block Kit Messages](2-block-kit-messages/SKILL.md) - [3. Interactive Components and Actions](3-interactive-components-and-actions/SKILL.md) - [4. Modals and Views](4-modals-and-views/SKILL.md) - [5. Slash Commands](5-slash-commands/SKILL.md) - [6. Webhooks and Incoming Messages](6-webhooks-and-incoming-messages/SKILL.md) - [GitHub Actions Integration (+1)](github-actions-integration/SKILL.md) - [1. Rate Limiting (+3)](1-rate-limiting/SKILL.md) - [Common Issues (+1)](common-issues/SKILL.md)
Related Skills
baoyu-article-illustrator
Article illustrations: type × style × palette consistency.
vscode-extensions
VS Code productivity optimization with essential extensions, settings sync, profiles, keybindings, snippets, and workspace configuration
git-advanced
Advanced git workflows including rebase, worktrees, bisect, hooks, and monorepo patterns
docker
Complete Docker containerization patterns with multi-stage builds for development and production workflows
elite-frontend-ux
Create distinctive, production-grade frontend interfaces with expert-level UX design. Use when building SaaS dashboards, landing pages, marketing sites, React/Vue components, HTML/CSS layouts, or any web UI. Combines bold aesthetic direction with systematic design tokens, WCAG accessibility, conversion optimization, and Tailwind/React best practices. Produces polished, memorable interfaces that avoid generic AI aesthetics while meeting professional standards. type: reference
sphinx
Generate comprehensive Python documentation with Sphinx. Covers autodoc for API extraction, Napoleon for Google/NumPy docstrings, intersphinx for cross-references, and multiple output formats including HTML, PDF, and ePub.
pandoc
Universal document converter for transforming Markdown to PDF, DOCX, HTML, LaTeX, and 40+ other formats. Covers templates, filters, citations with BibTeX/CSL, and batch conversion automation scripts.
marp
Create professional Markdown-based slide presentations with Marp. Covers themes, directives, speaker notes, presenter view, and export to PDF, HTML, and PPTX formats. Includes VS Code integration, CLI usage, and CI/CD automation.
docusaurus
Build modern documentation websites with Docusaurus. Covers docs, blog, pages, versioning, i18n, search integration, and deployment patterns. React-based with MDX support for interactive documentation.
miro-api
Miro whiteboard automation using REST API v2 and Python SDK for creating boards, frames, shapes, connectors, and collaborative visual workflows
calendly-api
Calendly scheduling automation using REST API v2 for managing event types, availability, bookings, webhooks, and scheduling workflows
mkdocs
Build professional project documentation with MkDocs and Material theme. Covers site configuration, navigation, plugins, search optimization, versioning with mike, and deployment to GitHub Pages.