slack-api

slack-api is a skill for Claude Code from slack-samples/bolt-ts-starter-template. It costs 109 tokens per session (3,290 once invoked), scanned A, a copy of slack-api, MIT.

A guide for finding and using Slack Web API methods, the network endpoints that let software read or change Slack data. It covers method names, permissions, tokens, pagination, rate limits, and response errors.

In plain words
What is it for?
Use it to identify a Slack API method, check its contract and required permissions, and call it safely.
Why use it?
It reduces mistakes such as choosing an invalid method, requesting the wrong permission, or ignoring an API error.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

Good fit Use it to identify a Slack API method, check its contract and required permissions, and call it safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/slack-samples/bolt-ts-starter-template/slack-api
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 slack-samples/bolt-ts-starter-template --skill slack-api
Clone the repo
git clone --depth 1 https://github.com/slack-samples/bolt-ts-starter-template

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-api

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/slack-samples/bolt-ts-starter-template/slack-api"><img src="https://agentmods.dev/badge/skills/slack-samples/bolt-ts-starter-template/slack-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,290 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 92% copy Near-identical to another mod 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.00109 $0.03290
Opus 5.5 $0.00044 $0.01316
Sonnet 5.5 $0.00022 $0.00658
Haiku 4.5 $0.00011 $0.00329

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

Security

Grade A, and why

slack-api 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 yesterday.

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.

You do not need the CLI to call a method. Get a token of the type you determined above from the app's **OAuth & Permissions** page in the Slack app config (`https://api.slack.com/apps` → your app → **OAuth & Permissions*
Origin

This is a copy

92% identical to slack-api — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/slack-api/SKILL.md · 208 lines

How it starts

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

Slack Web API

Help the developer discover the right Web API method, read its contract, and call it correctly. Slack exposes hundreds of methods named in family.method dot notation (e.g. chat.postMessage, conversations.history) at https://slack.com/api/<method>. Every method's doc page follows a fixed URL pattern, so the contract for any method is always one fetch away.

If $0 is provided, it is either a full method.name (jump to Step 2 to read its contract) or a family name (go to Step 1 and find it in the index).

Critical rules:

  • Verify a method name and its required scopes against its doc page before calling it — never invent method names or guess scopes. Method names use family.method dot notation.
  • Every response has a top-level ok boolean. Always check ok before using the result; on ok: false, read the error string.
  • Method names, scopes, rate tiers, and arguments come from the live doc page (https://docs.slack.dev/reference/methods/<method-lowercased>.md). The docs are the source of truth — discover from the live index, read the contract from the method's own page.

DO NOT rules:

  • DO NOT assume a method is GET — many are POST. Check the doc page.
  • DO NOT hardcode bearer tokens into committed code or share them in plain text.
  • DO NOT use deprecated methods (files.upload, dialog.open, rtm.*, oauth.access, search.*, stars.*, reminders.*) without checking the replacement — a deprecated method's own doc page names what supersedes it; prefer the replacement for new apps.
  • DO NOT paginate by incrementing a page number — Slack uses opaque cursors (see Step 5).

Execution posture — run reads, confirm writes:

  • Read-only methods (*.list, *.info, *.history, conversations.members, auth.test, etc.) may be run directly to help the developer.
  • State-changing or destructive methods (chat.postMessage/update/delete, any *.delete/*.remove/*.kick/*.archive, and all admin.*) — prepare the exact command and confirm with the developer before running it.

Read the full file on GitHub · 208 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. yesterday First seen · 208 lines · 109 tokens per session scan A afd070461d51

Subscribe to this mod's changes

slack-api is a skill published in the GitHub repository slack-samples/bolt-ts-starter-template (65 stars, last pushed yesterday), licensed MIT. It adds 109 tokens to every session and 3,290 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to slack-api, differing in 20 lines, and is treated as a copy.

Related

slack-api compared with skills from other repositories

slack-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slack-apislack-samples/bolt-ts-starter-templateSkill65yesterdayMITA109Claude Code
mcp-tool-developersickn33/agentic-awesome-skillsSkill50ktodayMITA38Claude Code
mem0-oss-to-platformmem0ai/mem0Skill69kyesterdayApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill630todayMITA105Claude Code, Codex