slack-api
БесплатноБез исполняемых скриптовНе проверенUse when a developer asks which Slack Web API method does something, needs a method's OAuth scopes or token type, wants to call or test a family.method…
от slackapi★ 177 звёзд на 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.methoddot notation.- Every response has a top-level
okboolean. Always checkokbefore using the result; onok: false, read theerrorstring.- 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 alladmin.*) — prepare the exact command and confirm with the developer before running it.
Fast Path (for clear, specific requests)
If the developer already knows the method — they named it, pasted a https://slack.com/api/<method> URL or a docs.slack.dev/reference/methods/<method> link, or gave a family.method — skip discovery:
- Go to Step 2 to read the method's contract.
- Go to Step 4 to call it (honoring the execution posture above).
Full-workflow indicators (start at Step 1):
- "Which method does X?" / "How do I list/fetch/post … via the API?"
- The capability is known but the method name is not.
- Exploratory questions about what the API can do.
Step 1: Identify the Method (Discover)
Map the developer's intent to a family, then to a candidate method.
Browsing the index
WebFetch the live method index:
https://docs.slack.dev/reference/methods.md
It lists every Web API method in family.method notation with a one-line description and a link to that method's own doc page. It is complete and always current — scan it for a candidate, then follow the method's link into Step 2 to read the contract (the index has descriptions only; rate tier, scopes, token type, and pagination all live on the per-method page).
Never publish or call a method name you have not seen on a live page.
Searching the docs
When you would rather search by keyword than scan the index, and the Slack CLI is available, use the slack-cli skill — Step 3: Searching Documentation (slack docs search) — to query Slack's docs from the terminal. That step covers the command and flags; results will point you to the method's reference page, which you then read in Step 2. Without the CLI, WebFetch the index (https://docs.slack.dev/reference/methods.md) and scan it instead.
Step 2: Read the Method Contract (Navigate)
Fetch the method's doc page with WebFetch. Either follow the method's link from the index (Step 1) or construct the URL — the path segment is all-lowercase and ends in .md:
https://docs.slack.dev/reference/methods/<method-lowercased>.md
For example, conversations.members → https://docs.slack.dev/reference/methods/conversations.members.md, and chat.postMessage → https://docs.slack.dev/reference/methods/chat.postmessage.md. When in doubt about casing, follow the index link rather than building the URL by hand.
Every method page documents, consistently:
- HTTP method (GET / POST) and the endpoint
https://slack.com/api/<method> - Required OAuth scopes and the token type (bot
xoxb-vs userxoxp-) - Arguments — required vs optional, with types
- An example request and response
- An errors table (method-specific codes)
- The rate-limit tier
Extract the required arguments and required scopes before calling. For what these cross-cutting concepts mean in general — beyond what the method pag
Установить slack-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл slack-api?
Use when a developer asks which Slack Web API method does something, needs a method's OAuth scopes or token type, wants to call or test a family.method endpoint (chat.postMessage, conversations.history, users.info, views.open), is handling cursor pagination (next_cursor) or rate limits (tier/ratelimited/Retry-After), or is debugging errors like missing_scope, invalid_auth, or channel_not_found. Also trigger on a pasted slack.com/api/ URL or docs.slack.dev/reference/methods link.
Как установить скилл slack-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slack-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic