setup-slack

setup-slack is a skill for Claude Code from ai-analyst-lab/ai-analyst. It costs 64 tokens per session (784 once invoked), scanned A, original, MIT.

A browser-based setup guide for connecting a personal Slack account to a specified workspace and channel. Slack is a team messaging service, and OAuth is the browser approval process used to grant access without sharing a password.

In plain words
What is it for?
It helps connect Slack, verify the AI Analyst Lab workspace and `show-and-tell` channel, and prepare a previewed post through Slack's web API.
Why use it?
It removes the guesswork from authorizing the right account, checking the workspace and channel, and preparing a message without exposing the personal access token.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/slack_web_api.py verify.

Good fit It helps connect Slack, verify the AI Analyst Lab workspace and show-and-tell channel, and prepare a previewed post through Slack's web API.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst
agentmods
npx agentmods add skills/ai-analyst-lab/ai-analyst/setup-slack

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 setup-slack

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/setup-slack/github.svg)](https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/setup-slack)
Your own site
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/setup-slack"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/setup-slack/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 setup-slack

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/setup-slack"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/setup-slack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
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.00064 $0.00784
Opus 5.5 $0.00026 $0.00314
Sonnet 5.5 $0.00013 $0.00157
Haiku 4.5 $0.00006 $0.00078

Measured 1mo ago against content hash 273dd2b6429f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-slack 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 1mo 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/skills/setup-slack/SKILL.md · 103 lines

How it starts

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

Setup Slack

Purpose

Connect the user's own Slack account to the AI Analyst Lab workspace. Use Slack's browser OAuth flow for authorization and the repository's direct Web API helper for verification and posting. Do not configure or search for a Slack MCP server.

Course connection

  • Authorization page: https://slack-auth.shane-aea.workers.dev
  • Expected workspace: AI Analyst Lab
  • Expected workspace id: T0ACPJ21WRG
  • Expected public channel: show-and-tell
  • Expected channel id: C0ACN1QM0RL
  • Personal token environment variable: SLACK_USER_TOKEN

Instructions

1. Prepare the local environment file

Confirm .env is ignored by Git. Preserve every existing variable. Add these non-secret values and an empty token line if they are not already present:

SLACK_USER_TOKEN=
SLACK_WORKSPACE_NAME=AI Analyst Lab
SLACK_WORKSPACE_ID=T0ACPJ21WRG
SLACK_CHANNEL_NAME=show-and-tell
SLACK_CHANNEL_ID=C0ACN1QM0RL

Do not ask the user to paste the token into chat. Do not read, echo, or print its value.

2. Open browser authorization

Open the authorization page in the user's default browser. Tell the user to confirm that Slack shows the AI Analyst Lab workspace and asks for only these permissions:

  • send messages as the user;
  • view basic information about public channels.

Slack creates a personal token beginning with xoxp-. The user must copy it from the browser and paste it directly after SLACK_USER_TOKEN= in .env, then save the file. The token must never go into the conversation, a screenshot, a commit, or a saved report. Claude Code does not need to be restarted.

3. Verify the account and workspace

Run:

python scripts/slack_web_api.py verify

Show the non-secret workspace and user information. Stop if the workspace id is not T0ACPJ21WRG.

4. Verify the destination

Run:

python scripts/slack_web_api.py resolve --channel-name show-and-tell

Stop if the resolved channel id is not C0ACN1QM0RL.

Read the full file on GitHub · 103 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. 1mo ago First seen · 103 lines · 64 tokens per session scan A 273dd2b6429f

Subscribe to this mod's changes

setup-slack is a skill published in the GitHub repository ai-analyst-lab/ai-analyst (309 stars, last pushed 18d ago), licensed MIT. It adds 64 tokens to every session and 784 once invoked, about $0.0003 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-09-18.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens