slack-mcp: Instructions file for Claude Code

CLAUDE.md

slack-mcp CLAUDE.md is an instructions file for Claude Code from aaronsb/slack-mcp. It costs 1,869 tokens per session, scanned A, original, MIT.

A set of instructions for a Go-based MCP server that connects an AI agent to a Slack workspace. Slack is a team messaging service, and this server can read inbox items, messages, and workspace information.

In plain words
What is it for?
Use it as a development reference when compiling the server, cross-building it for different operating systems, or working on Slack message and workspace tools. It describes session-token authentication rather than OAuth.
Why use it?
It documents how to build, test, format, and package the server, as well as how its Slack tools are organized. This helps developers maintain or extend the integration.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is aaronsb/slack-mcp's own configuration. It tells Claude Code how to work on slack-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything slack-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aaronsb/slack-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aaronsb/slack-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/aaronsb/slack-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slack-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aaronsb/slack-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/aaronsb/slack-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aaronsb/slack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aaronsb/slack-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slack-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aaronsb/slack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aaronsb/slack-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,869 This file is loaded in full into every session.
When invoked 1,869 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01869 $0.01869
Opus 5.5 $0.00748 $0.00748
Sonnet 5.5 $0.00374 $0.00374
Haiku 4.5 $0.00187 $0.00187

Measured 17d ago against content hash f5100ce2e0f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slack-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slack MCP Server

Go-based MCP server for Slack workspace interaction using session tokens (xoxc/xoxd). No OAuth, no bot permissions, no admin approval.

Build

make build              # Build for current platform
make build-all-platforms # Cross-compile (darwin/linux/windows x amd64/arm64)
make test               # Run tests
make format             # Format code
make tidy               # Tidy go modules
make clean              # Remove build artifacts
make npm-publish NPM_TOKEN=... # Publish to npm

Architecture

  • cmd/slack-mcp/ — Entry point, transport selection (stdio/sse), setup command
  • pkg/server/ — MCP server, tool registration
  • pkg/provider/ — Slack API client, two-phase channel caching
  • pkg/features/ — Tool implementations
  • pkg/text/ — Text processing utilities
  • npm/ — npm wrapper packages (platform binary resolver)

Tools

Tool Kind What it does
inbox noun What needs you: view='new' (since your last dismiss), 'unreads', 'mentions'
messages noun Conversation content: target= reads in full, +around= context, +since= time window, query= raw Slack search syntax (passed as written) plus resolved filters in, from, after, before, has (link, pin, :emoji:), thread; scheduled=true lists your pending scheduled messages, soonest first, and never your unsent composer drafts (ADR-016)
estate noun Workspace shape and relationships: view='about'|'families'|'person'|'initiatives'|'convergence'|'people'|'channels'; about/person take render='graph' to also write a static HTML graph page (not in batch)
batch executor Run a held plan of reads in one call: commands=[{tool, params}...]; playbooks via save=/run=/list=/delete=
say verb Contribute content (Slack-visible): a message (a thread reply can also go to the channel with broadcast=true), files from the exchange directory (files=['report.pdf'], bare names, at most 10, shared as one message with text as the comment), or an emoji reaction; at= schedules a message for Slack to send later (2 minutes to 120 days; a time with no offset is read in your Slack profile zone and refused if this machine's zone disagrees) and cancel=<handle> withdraws one (ADR-016); scanned for secrets and gated before anything is sent or scheduled, with the send time part of what an approval covers (ADR-013)
dismiss verb Mark inbox items handled — private watermark, invisible to Slack
mark-read verb Fire read receipts — the one visibly-public read signal; refused at a quarantined destination, and never opens a DM
auth verb Interactive token setup (localhost only)
download verb Download a shared file into the exchange directory (filename= is a bare name, not a path; a taken name is saved as name (n).ext and the result says so)
put verb Write a new file into the exchange directory for say files= to attach, for clients whose file tools cannot reach the server's filesystem: name= (bare name) and exactly one of content= (text) or base64= (standard alphabet, padding optional); at most 5 MiB; never overwrites (a taken name is saved as name (n).ext), never reads, lists, or deletes (ADR-012)
unlock verb Open a local page (127.0.0.1, one-shot link, sent to the browser only) where the operator reviews and clears quarantines and the strike lock; the tool clears nothing, returns no link, and never reports what was cleared; refused on remote and SSE (ADR-013, #132)

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +1 lines · +147 tokens per session f5100ce2e0f4
  2. 23d ago Changed · +7 lines · +1,048 tokens per session 2e9d6449a2ae
  3. 1mo ago First seen · 54 lines · 674 tokens per session scan A 7a7e128d637b

Subscribe to this mod's changes

slack-mcp CLAUDE.md is an instructions file published in the GitHub repository aaronsb/slack-mcp (2 stars, last pushed 4d ago), licensed MIT. It adds 1,869 tokens to every session, about $0.0075 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens