agentleFS
ulises-jeremiasulises-jeremias/agent-toolkit/skills/integrations/slack-cli/SKILL.md

slack-cli

Skill19 starsChanged 2 months agoMITView on GitHub

Interact with the official Slack CLI to create, run, deploy, and manage Slack apps, environments,

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the official Slack Developer CLI documented at docs.slack.dev/tools/slack-cli/.

    line 16
  2. Distinctive:

    Create or initialize a Slack app project

    line 23
  3. Distinctive:

    Run and deploy Slack apps

    line 25
  4. Very specific:

    Run diagnostics with slack doctor

    line 27
  5. Very specific:

    If slack is not found, or slack --help does not mention app development, see references/INSTALLATION.md.

    line 31
  6. Distinctive:

    Use this detection pattern first:

    line 35
  7. Distinctive:

    Prefer official docs and command reference for exact flags.

    line 107
  8. Very specific:

    Use "$SLACK_CMD" <command> --help before running destructive operations.

    line 108
  9. Very specific:

    Never use this skill for workspace chat automation (chat.send, conversations.history, reminders, etc.

    line 109

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Slack CLI (Official Slack Developer CLI)

Use the official Slack Developer CLI documented at docs.slack.dev/tools/slack-cli/.

This CLI is for Slack app development and platform management. It is not the community chat automation CLI (slack chat send, etc.).

When to Use

  • Create or initialize a Slack app project
  • Log in/out and manage authorized teams for app development
  • Run and deploy Slack apps
  • Manage manifests, env vars, functions, and triggers
  • Run diagnostics with slack doctor

Setup

If slack is not found, or slack --help does not mention app development, see references/INSTALLATION.md.

Some machines already have another slack binary (e.g., Slack desktop). In that case, the official CLI can be installed as slack-dev.

Use this detection pattern first:

if slack --help 2>/dev/null | grep -q "create, run, and deploy Slack apps"; then
  SLACK_CMD=slack
elif slack-dev --help 2>/dev/null | grep -q "create, run, and deploy Slack apps"; then
  SLACK_CMD=slack-dev
else
  echo "Official Slack CLI not found"
fi

Authorize after install:

"$SLACK_CMD" login
"$SLACK_CMD" list

Core Commands

"$SLACK_CMD" version
"$SLACK_CMD" doctor
"$SLACK_CMD" login
"$SLACK_CMD" logout
"$SLACK_CMD" list

Project Lifecycle

# Create a new project
"$SLACK_CMD" create

# Initialize an existing project directory
"$SLACK_CMD" init

# Run app locally
"$SLACK_CMD" run

# Deploy app
"$SLACK_CMD" deploy

App and Platform Management

"$SLACK_CMD" manifest info
"$SLACK_CMD" manifest validate
"$SLACK_CMD" env list
"$SLACK_CMD" env add
"$SLACK_CMD" trigger list
"$SLACK_CMD" trigger create
"$SLACK_CMD" trigger access list
"$SLACK_CMD" activity
"$SLACK_CMD" app list
"$SLACK_CMD" app install
"$SLACK_CMD" app uninstall

Recommended Workflow

  1. "$SLACK_CMD" login
  2. "$SLACK_CMD" create or "$SLACK_CMD" init
  3. "$SLACK_CMD" doctor
  4. "$SLACK_CMD" run
  5. "$SLACK_CMD" deploy
  6. "$SLACK_CMD" trigger list and validate trigger behavior

Notes

  • Prefer official docs and command reference for exact flags.
  • Use "$SLACK_CMD" <command> --help before running destructive operations.
  • Never use this skill for workspace chat automation (chat.send, conversations.history, reminders, etc. via community CLI patterns).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.