src/orchestrator/plugins/slack/SKILL.md
Slack MCP integration for agent-to-human notifications and bi-directional communication. Use when agents need to post progress updates, request approvals, or read user responses via Slack channels and threads.
npx skillsauth add etylsarin/opencastle slack-notificationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Package: @kazuph/mcp-slack (stdio). Auth: SLACK_MCP_XOXB_TOKEN env var. Enable SLACK_MCP_ADD_MESSAGE_TOOL=true.
See REFERENCE.md for OAuth scopes and token setup.
🔄 TAS-42 — In progress — implementing unit tests
Files: 3 (PriceFilter.tsx, test, index) | ETA: ~5 min
Post an approval request:
const res = mcp_slack_conversations_add_message({
channel: 'C012345',
text: '⏳ Approval Required — TAS-42: Run DB migration?',
thread_ts: null
});
if (!res?.ok) throw new Error('Slack post failed: ' + res?.error);
Approval requests are dual-channel — post to Slack AND ask in chat. First response wins.
Post to Slack:
⏳ Approval Required — TAS-42: Run DB migration
Reply: ✅ approved | ❌ rejected | 💬 questions
Ask in chat with the same question.
Chat response wins → post confirmation to Slack thread.
Waiting for Slack → poll thread:
// Poll for approval reply (30s interval, 10 min timeout)
const replies = mcp_slack_conversations_replies({ channel: 'C012345', ts: threadTs, limit: 20 });
for (const msg of replies?.messages || []) {
if (/\b(approved|yes|go)\b/i.test(msg.text)) return 'approved';
if (/\b(rejected|no|stop)\b/i.test(msg.text)) return 'rejected';
}
// Retry after 30s; timeout after 10 min
on-session-start hook checks for replies.Project-specific channel mappings: .opencastle/stack/notifications-config.md. Always thread replies; one thread per task; include tracker issue ID.
Write: 20/min; Read: 50/min. Batch updates; use threads; cache channel/user IDs.
See REFERENCE.md for security guidelines.
development
Defines 10 sequential validation gates: secret scanning, lint/test/build checks, blast radius analysis, dependency auditing, browser testing, cache management, regression checks, and smoke tests. Use when running pre-deploy validation or CI checks, CI/CD pipelines, deployment pipeline validation, pre-merge checks, continuous integration, or pull request validation.
development
Generates test plans, writes unit/integration/E2E test files, identifies coverage gaps, and flags common testing anti-patterns. Use when writing tests, creating test suites, planning test strategies, mocking dependencies, measuring code coverage, or test planning.
development
Provides model routing rules, validates delegation prerequisites, supplies cost tracking templates, and defines dead-letter queue formats for Team Lead orchestration. Load when assigning tasks to agents, choosing model tiers, starting a delegation session, running a multi-agent workflow, delegating work, choosing which model to use, or assigning tasks.
testing
Saves and restores session state including task progress, file changes, and delegation history. Use when saving progress, resuming interrupted work, picking up where you left off, or checkpointing current work.