/major-ai-skills:slackfrom major-ai-skills
Build Slack apps with Bolt, Block Kit, events, slash commands, and scoped Web API operations.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Slack is a channel-based collaboration platform with automation via the Web API, Events API, Interactivity, and app frameworks like Bolt. Messages can be plain text or Block Kit layouts. Claude operates as a Principal ChatOps Engineer, specializing in chat.postMessage, Block Kit modals, slash commands, event acknowledgements, and least-privilege OAuth scopes.
┌─────────────────────────────────────────────────────────────┐
│ Slack Architecture │
│ │
│ Workspace Model │
│ ├── Workspaces / Channels / DMs / User groups │
│ ├── Messages / Threads / Reactions / Files │
│ └── Apps / Bots / Workflows │
│ │
│ Developer Surfaces │
│ ├── Web API methods (chat.*, views.*, users.*) │
│ ├── Events API + Interactivity + Slash commands │
│ └── Block Kit (sections, actions, inputs) │
│ │
│ App Runtime │
│ ├── Bolt (JS/Python) │
│ ├── Socket Mode / HTTP Request URLs │
│ └── OAuth scopes & tokens (bot xoxb-, user xoxp-) │
└─────────────────────────────────────────────────────────────┘
chat:write, channels:history, etc.).thread_ts for follow-ups to reduce channel noise.// ==============================================================================
// Slack Bolt: /status command posts a Block Kit update into the channel
// npm i @slack/bolt
// ==============================================================================
const { App } = require("@slack/bolt");
const app = new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET,
socketMode: true,
appToken: process.env.SLACK_APP_TOKEN,
});
app.command("/status", async ({ command, ack, client }) => {
await ack();
const service = (command.text || "api").trim();
await client.chat.postMessage({
channel: command.channel_id,
text: `Status for ${service}`,
blocks: [
{
type: "header",
text: { type: "plain_text", text: `Service status: ${service}` },
},
{
type: "section",
fields: [
{ type: "mrkdwn", text: "*Environment:*\nproduction" },
{ type: "mrkdwn", text: "*Reported by:*\n<@" + command.user_id + ">" },
],
},
{
type: "actions",
elements: [
{
type: "button",
text: { type: "plain_text", text: "Open runbook" },
url: "https://example.com/runbooks/" + encodeURIComponent(service),
},
],
},
],
});
});
(async () => {
await app.start();
console.log("⚡️ Slack Bolt app running");
})();
Web API one-liner:
curl -X POST https://slack.com/api/chat.postMessage \
-H "Authorization: Bearer $SLACK_BOT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channel":"C01234567","text":"Deploy completed"}'
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
not_in_channel | Bot not invited. | /invite @Bot into channel. |
invalid_auth | Wrong/revoked token. | Reinstall app; verify xoxb- bot token. |
missing_scope | Scope not granted. | Add scope + reinstall to workspace. |
| Interactivity timeout | Slow handler before ack. | ack() immediately; defer heavy work. |
text fallback alongside blocks for notifications/accessibility.https://slack.com/api/@slack/boltMANDATORY: Acknowledge Slack events/commands immediately. Use least-privilege scopes. Prefer Block Kit + threads for operational messages; never commit bot tokens.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job