slack

slack is a skill for Claude Code, Codex from azmym/agent-skills. It costs 125 tokens per session (3,408 once invoked), scanned A, original, MIT.

A tool for interacting with Slack through its web interface programming connection. Slack is a team messaging service with channels, conversations, users, and messages.

In plain words
What is it for?
Use it to read, search, summarize, post, react to, pin, or manage Slack conversations and look up users.
Why use it?
It lets an agent find and summarize team discussions or carry out requested channel actions without manually searching Slack.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read, search, summarize, post, react to, pin, or manage Slack conversations and look up users.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azmym/agent-skills/slack
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add azmym/agent-skills --skill slack
Clone the repo
git clone --depth 1 https://github.com/azmym/agent-skills

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/azmym/agent-skills/slack"><img src="https://agentmods.dev/badge/skills/azmym/agent-skills/slack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00125 $0.03408
Opus 5 $0.00063 $0.01704
Sonnet 5 $0.00025 $0.00682
Haiku 4.5 $0.00013 $0.00341

Measured 8d ago against content hash 236f39bd1a34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

slack scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/playwright-bridge.js, scripts/slack-api.sh, scripts/slack-browser-api.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Token | `token` | Direct curl calls using Chrome session tokens. Fast. macOS only. |
skills/slack/SKILL.md · 359 lines

How it starts

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

Slack Web API Skill

Interact with Slack: read, write, search, react, pin, and manage conversations via the Web API.

IMPORTANT: First-Use Initialization

Before executing any Slack operation, check if the mode config file exists:

cat ~/.agents/config/slack/config.env

If the file does not exist (or does not contain SLACK_MODE), you must ask the user which mode they want to use. Present these three options:

  1. Token (macOS only): Extracts session tokens directly from Chrome. Fastest option. Requires Chrome with Slack open, AppleScript enabled, and uvx installed.
  2. Browser (cross-platform): Uses a local Playwright browser to make API calls. Works on macOS, Linux, and Windows. Requires Node.js 18+. Supports SSO and 2FA login.
  3. Auto-detect (recommended): Automatically uses browser mode if a Playwright session exists, otherwise falls back to token mode. Best of both worlds.

Once the user selects a mode, save it immediately:

mkdir -p ~/.agents/config/slack
echo 'SLACK_MODE=<selected_value>' > ~/.agents/config/slack/config.env

Where <selected_value> is token, browser, or auto.

After saving, never ask again. On all subsequent invocations, the config file will exist and the skill will use the saved mode automatically.

If the user selected browser mode, also run the browser session setup:

{SKILL_DIR}/scripts/slack-browser-session.sh login-manual

This opens a visible browser for the user to log in to Slack (supports SSO/2FA). The session is saved and reused for all future API calls.


Mode Selection

The skill supports three modes. Set via ~/.agents/config/slack/config.env or the SLACK_MODE environment variable:

Mode Value Behavior
Token token Direct curl calls using Chrome session tokens. Fast. macOS only.
Browser browser API calls through a local Playwright browser session. Cross-platform.
Auto-detect auto Use browser if session exists; falls back to token on auth failure. (default)

Read the full file on GitHub · 359 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. 8d ago First seen · 359 lines · 125 tokens per session scan A 236f39bd1a34

Subscribe to this mod's changes

slack is a skill published in the GitHub repository azmym/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 125 tokens to every session and 3,408 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.