1. Habit
  2. Skills
  3. Slack Web API skill
slackapi · 3K installs

Slack Web API skill
Runs by itself, PR changes Slack calls.

Slack API calls stay correct.

Install the Slack Web API skill and make it a habit: follow https://gethabit.dev/skills/slackapi/slack-api.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

3K installs151 starsMIT licenceSource on GitHub ↗

Slack Web API

by slackapi · 3K installs

The skill

The slack web api skill helps developers find the right Slack method, read its scopes, token type and arguments from the live docs, call it safely, page with cursors and handle rate limits and errors.

Only when you ask.

The habit

Slack API calls stay correct.

↻ Runs by itselfPR changes Slack calls

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pull request and at most 30 methods per run.

  1. 01

    List called methods

    The agent collects every family.method name the changed code calls.

  2. 02

    Check the index

    It confirms each name on the live methods.md index at docs.slack.dev.

  3. 03

    Read each contract

    For new methods it reads the method page for HTTP verb, scopes, token type, arguments and rate tier.

  4. 04

    Review error handling

    It checks that the code reads ok and error, and honors Retry-After on ratelimited.

  5. 05

    Review pagination

    Collection calls must loop on response_metadata.next_cursor until it is empty.

  6. 06

    Report and log

    Findings go into a review comment and the log; no write method is ever run without the developer saying yes.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Slack Web API skill helps.

Use it when

  • ✓ you need the Slack method for a task
  • ✓ a call fails with missing_scope
  • ✓ you must page through results

Skip it when

  • – you only build Block Kit layouts
  • – you do not use Slack

Questions

Slack Web API skill, answered.

Does the loop call Slack methods?

It only reads docs. The skill lets read-only methods run directly but asks before any method that posts, deletes or changes state.

What about Block Kit payloads?

The skill hands those to the slack:block-kit skill and treats them as opaque arguments.

How do I install the Slack Web API skill?

Copy the prompt at the top into your agent. It installs the skill from slackapi/slack-skills-plugin and sets up the habit. Or run npx skills add slackapi/slack-skills-plugin --skill slack-api.

Is the Slack Web API skill free?

Yes. It is published under MIT. Habit is free too.

Slack Web API. Now as a habit.

Install the Slack Web API skill and make it a habit: follow https://gethabit.dev/skills/slackapi/slack-api.md

  • Free
  • No account
  • Undo in one line

All slackapi skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by slackapi, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.