Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Perform Slack operations using the Slack CLI for app management and the Slack Web API (curl) for messaging, channel, and user operations.
.claude/skills/abdullahkhawer-slack-cli/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 131% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 137% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-11 | ✓→✗ | ▼ Worse | 18% | 0% |
| case-17 | ✓→✓ | = Same ✓ | 43% | 0% |
This skill uses two tools depending on the operation:
| Use case | Tool | |---|---| | App management (install, deploy, auth) | slack CLI | | Messaging, channels, users, search | Slack Web API via curl |
Update the Slack workspace name below before using this skill:
| Setting | Value | |---|---| | Slack Workspace | <your-workspace>.slack.com | | Slack Team Name (for CLI) | <your-team-name> |
If not already authenticated, ask the user to complete these steps manually. Do not perform these steps yourself.
bashbrew install slack-cli # install if needed slack login # authenticate slack auth list # confirm your workspace is listed
Always pass --team <your-team-name> on every command.
| Command | Description | |---|---| | slack auth list | List authenticated workspaces | | slack auth whoami | Show current authenticated user | | slack app list --team <your-team-name> | List apps in the workspace | | slack app install --team <your-team-name> | Install app to workspace | | slack app uninstall --team <your-team-name> | Uninstall app (requires explicit user approval) | | slack deploy --team <your-team-name> | Deploy app to Slack Platform | | slack trigger list --team <your-team-name> | List triggers for an app |
curl (messaging, channels, users)To get started, create a Slack app at api.slack.com/apps. On the OAuth & Permissions page, add the required scopes, then install the app to your workspace. After installation, your user token (starting with xoxp-) will appear on the same page. Save it to ~/.slack/token. Never print or display the token value. Do not perform these steps yourself.
Required token scopes: channels:read, channels:history, groups:read, groups:history, users:read
bashecho "xoxp-..." > ~/.slack/token && chmod 600 ~/.slack/token
https://slack.com/api/<method>bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/conversations.list?limit=200&exclude_archived=true&types=public_channel,private_channel" \ | jq '.channels[] | {id, name}'
general with channel name)bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/conversations.list?limit=200&exclude_archived=true&types=public_channel,private_channel" \ | jq -r '.channels[] | select(.name == "general") | .id'
bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/conversations.history?channel=<CHANNEL_ID>&limit=10" \ | jq '.messages[] | {ts, user, text}'
search:read scope)bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/search.messages?query=<search+term>&count=10" \ | jq '.messages.matches[] | {channel: .channel.name, user: .username, text, ts}'
bashcurl -s -X POST -H "Authorization: Bearer $(cat ~/.slack/token)" \ -H "Content-Type: application/json" \ --data '{"channel": "<CHANNEL_ID>", "text": "<MESSAGE>"}' \ "https://slack.com/api/chat.postMessage" \ | jq '{ok, ts, error}'
bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/users.list" \ | jq '.members[] | select(.deleted == false) | {id, name, real_name: .profile.real_name}'
bashcurl -s -H "Authorization: Bearer $(cat ~/.slack/token)" \ "https://slack.com/api/users.list" \ | jq -r '.members[] | select(.name == "<username>") | .id'
Every Slack API response includes an ok field. Always check it:
bash| jq 'if .ok then . else error(.error) end'
~/.slack/token or any credential value.~/.slack/token does not exist, inform the user and stop. Do not attempt to find or guess the token.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | fail→fail | 4,595 | 8,574 | +87% | 1 | 1 | 0% | 772 | 1,892 | +145% | 0 | 0 | — |
case-01 | fail→fail | 2,583 | 4,436 | +72% | 1 | 1 | 0% | 421 | 1,611 | +283% | 0 | 0 | — |
case-02 | fail→fail | 27,303 | 9,381 | -66% | 1 | 1 | 0% | 648 | 1,742 | +169% | 0 | 0 | — |
case-03 | fail→fail | 3,601 | 6,882 | +91% | 1 | 1 | 0% | 576 | 1,615 | +180% | 0 | 0 | — |
case-04 | fail→fail | 6,682 | 28,177 | +322% | 1 | 1 | 0% | 1,178 | 1,694 | +44% | 0 | 0 | — |
case-05 | fail→pass | 6,103 | 7,829 | +28% | 1 | 1 | 0% | 1,188 | 2,745 | +131% | 0 | 0 | — |
case-07 | fail→pass | 4,146 | 2,028 | -51% | 1 | 1 | 0% | 642 | 1,522 | +137% | 0 | 0 | — |
case-08 | fail→fail | 3,051 | 8,598 | +182% | 1 | 1 | 0% | 480 | 1,558 | +225% | 0 | 0 | — |
case-09 | fail→fail | 2,479 | 6,894 | +178% | 1 | 1 | 0% | 382 | 1,872 | +390% | 0 | 0 | — |
case-10 | fail→fail | 16,176 | 5,469 | -66% | 1 | 1 | 0% | 1,122 | 1,645 | +47% | 0 | 0 | — |
case-11 | pass→fail | 9,323 | 7,751 | -17% | 1 | 1 | 0% | 1,541 | 1,822 | +18% | 0 | 0 | — |
case-12 | fail→fail | 5,123 | 17,585 | +243% | 1 | 1 | 0% | 889 | 1,780 | +100% | 0 | 0 | — |
case-13 | fail→fail | 6,081 | 8,682 | +43% | 1 | 1 | 0% | 1,008 | 1,818 | +80% | 0 | 0 | — |
case-14 | fail→fail | 4,664 | 7,350 | +58% | 1 | 1 | 0% | 841 | 2,584 | +207% | 0 | 0 | — |
case-15 | fail→fail | 5,399 | 11,462 | +112% | 1 | 1 | 0% | 1,024 | 3,534 | +245% | 0 | 0 | — |
case-16 | fail→fail | 12,081 | 5,802 | -52% | 1 | 1 | 0% | 2,602 | 2,560 | -2% | 0 | 0 | — |
case-17 | pass→pass | 8,581 | 2,080 | -76% | 1 | 1 | 0% | 1,166 | 1,665 | +43% | 0 | 0 | — |
case-18 | fail→fail | 3,544 | 8,239 | +132% | 1 | 1 | 0% | 539 | 1,871 | +247% | 0 | 0 | — |
case-19 | fail→pass | 8,402 | 2,773 | -67% | 1 | 1 | 0% | 1,672 | 1,779 | +6% | 0 | 0 | — |
case-20 | fail→fail | 8,496 | 10,260 | +21% | 1 | 1 | 0% | 1,524 | 2,047 | +34% | 0 | 0 | — |
case-21 | fail→fail | 6,835 | 12,797 | +87% | 1 | 1 | 0% | 1,190 | 2,406 | +102% | 0 | 0 | — |
case-22 | pass→pass | 3,715 | 9,166 | +147% | 1 | 1 | 0% | 715 | 2,946 | +312% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 8 counted toward the lift figure. The other 14 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +9 percentage points is the difference between those two pass rates over the 8 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/3/2026 | +32% |
Other measured skills in the registry, with their headline benchmark lift.