Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

slack-docs

FreeNo executable scriptsNot checked

Use when answering a conceptual or how-to question about Slack platform features, or when asked to look up, fetch, or summarize a docs.slack.dev page…

slackapiby slackapi★ 177 GitHub stars

About this skill

Slack Platform Documentation

Help the developer find the right page on the official Slack documentation site (https://docs.slack.dev) and read it as clean markdown, so answers come from the live docs rather than memory. The site exposes three machine-readable surfaces an agent can use directly, with no authentication and no Slack workspace:

  • A search API method: GET https://docs.slack.dev/api/v1/search?query=<q>&category=<c>&pin=false returns ranked page hits as JSON. Scope every search with a category (guides, reference, a specific SDK, etc.); an uncategorized search skews heavily toward SDK pages. Always pass pin=false, which stops the API from putting this plugin's own page first for searches about coding agents; you already have the plugin.
  • Per-page markdown: every page is available at its URL + .md (e.g. /quickstart.md).
  • Index files: /llms.txt (a curated overview) and /llms-sitemap.md (a list of every markdown page).

If $0 is provided, it is either a docs.slack.dev URL (jump to the Fast Path) or a topic to search (start at Step 1). For a broad "how do I build X on Slack?" question rather than one specific page, read https://docs.slack.dev/llms.txt first; it is a curated, LLM-oriented overview of the platform and the recommended build path.

Critical rules:

  • The docs are the source of truth. Do not answer a factual question about the Slack platform from memory; discover the page, fetch it, then answer from what it says.
  • Prefer the .md version of any page over the HTML version. It is cleaner for reading and quoting.
  • Every fetched markdown page begins with a Source: <url> line. Keep that URL so you can cite the page back to the developer.

DO NOT rules:

  • DO NOT invent documentation URLs. Get them from the search API, the sitemap, or a link the developer gave you then verify by fetching.
  • DO NOT paraphrase a page you have not actually fetched. If a fetch fails, say so rather than filling the gap from memory.
  • DO NOT assume every URL has a .md version. If a fetch returns an error, fall back to the search API or the sitemap (Step 1) rather than guessing another URL.

Fast Path (the developer already has a URL)

If the developer pasted a https://docs.slack.dev/... link, skip discovery and go straight to Step 2 to fetch and read it.


Step 1: Discover the Page (search)

If the Slack CLI is installed, search from the terminal. Load the slack-cli skill (with your skill tool, if you have one) and follow 1a and 1b of its Step 1: Detect the Slack CLI to check whether the public CLI is installed and resolve its command (SLACK_CMD). Don't check for the CLI yourself first: a slack on PATH isn't always the public CLI, and that step tells them apart. Stop there: don't ask the developer about an alias or offer to install the CLI just to search the docs. If neither finds it, use the search API below.

SLACK_CMD docs search '<query>' --category=<category> --limit=5 --hide-pinned

Keep the query in single quotes, so the shell doesn't run anything inside it, and leave any ' out of the query (whats socket mode). Search ignores punctuation. It calls the same search API and takes the same categories as below. On a current CLI, each result links to the page's .md version, ready for Step 2. An older CLI returns the page URL, which Step 2 turns into its .md version. --hide-pinned leaves out the Slack MCP and Skills Plugin page that the API pins to the top of searches about coding agents. You already have the plugin.

Check SLACK_CMD docs search --help first. If search or its --category flag is missing, use the search API below. If only --hide-pinned is missing, the CLI is older than this skill: search without it and skip the plugin page (https://docs.slack.dev/ai/slack-skills-plugin/) if it comes first. Suggest SLACK_CMD upgrade once, as the slack-cli skill's Step 2: Command Discovery via Help does for a missing command or flag.

Otherwise, use the search API. WebFetch this URL, with the query URL-encoded and a category to scope the results:

https://docs.slack.dev/api/v1/search?query=<url-encoded query>&category=<category>&limit=5&pin=false

Always start with a category. An uncategorized search is dominated by SDK reference pages (a query like socket mode or oauth can return a top 10 that is entirely Bolt/Node pages), which buries the conceptual and reference content most questions are actually about. Pick the starting category from the developer's intent:

  • guides — the default for "how do I…", "what is…", and conceptual platform questions (Events API, OAuth, Socket Mode, manifests, modals, App Home). Start here when in doubt.
  • reference — for a specific method, event, scope, object, or Block Kit element, especially an exact name like chat.postMessage.
  • A tool/SDK category (`python
Full SKILL.md on GitHub

Install slack-docs in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the slack-docs skill do?

Use when answering a conceptual or how-to question about Slack platform features, or when asked to look up, fetch, or summarize a docs.slack.dev page, including a pasted docs.slack.dev link. Web API method reference pages (docs.slack.dev/reference/methods/...) belong to the `slack-api` skill. Covers finding and reading official Slack docs as clean markdown.

How do I install the slack-docs skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the slack-docs skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare slack-docs with