Slack Cliのロゴ

Slack Cli

コミュニティ
ericmjl
slack-cli

Use Slack CLI (`slack`) for app lifecycle and workspace operations including login/logout, create/init, run/deploy, manifest validation, trigger management, app install/uninstall, environment management, and diagnostics. Use when users ask to run or troubleshoot commands like `slack create`, `slack run`, `slack deploy`, `slack trigger`, `slack manifest`, `slack auth`, `slack activity`, `slack datastore`, `slack env`, or request help-first progressive discovery with `slack help` and `slack SUBCOMMAND --help`, plus version/documentation alignment and stale-skill refresh.

概要

公開者ericmjl
リポジトリskills
スキル名slack-cli
スター
41
フォーク
5
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ericmjlがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSlack CliをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ericmjl/skills/tree/main/skills/slack-cli
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericmjl/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/slack-cli .claude/skills/slack-cli
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSlack Cliを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSlack Cliを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Slack Cliは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Slack CLI

Use this skill when working with the Slack command-line tool (slack) for local development, app lifecycle, deployment, and command troubleshooting.

Default mindset: discover progressively with --help, verify against official docs, and keep both local CLI and this skill content current.

Requirements

  • Slack CLI installed and available as slack
  • Slack account/team authorization for operations that require workspace access

What This Skill Covers

  • Command discovery and flag lookup via help output
  • Local project setup (create, init, run)
  • Deployment and lifecycle operations (deploy, install, uninstall, delete)
  • App metadata and configuration (manifest, env, function, external-auth)
  • Operational support (activity, doctor, version, upgrade)
  • Version and documentation alignment (installed CLI vs official docs)
  • Self-maintenance when skill guidance is stale

Official Documentation

  • Main docs: https://docs.slack.dev/tools/slack-cli/
  • Command guide: https://docs.slack.dev/tools/slack-cli/guides/running-slack-cli-commands
  • Command reference root: https://docs.slack.dev/tools/slack-cli/reference/commands/slack

Default Workflow

  1. Clarify intent (discover command syntax, debug, or execute lifecycle action).
  2. Start from help and progressively narrow:
    • slack help
    • slack SUBCOMMAND --help
    • slack SUBCOMMAND SUBCOMMAND --help (when nested commands exist)
  3. Cross-check syntax/flags with official docs before recommending final commands.
  4. Identify whether the task is read-only/help-only or state-changing.
  5. For state-changing commands, confirm target workspace/app context (--team, --app) before execution.
  6. Prefer explicit flags over interactive prompts for reproducibility.

Auth secrets — never collect in chat

slack login / /slackauthticket challenge codes, OAuth codes, and bot tokens (xoxb-…, xoxp-…) are human-terminal-only.

  • Do not ask the user to paste a challenge code, ticket completion secret, or Slack token into the agent chat.
  • Do not run slack login (or --no-prompt ticket flows) as the agent when the human must approve the modal — give them the commands instead.
  • If auth is stale: hand them a copy-paste command block; continue only after they say auth/install/sync is done (no secrets in the reply).

Help-Only Study Mode

If a user asks to "study the CLI" or "do not run real operations":

  1. Restrict work to help output and documentation.
  2. Do not execute commands that create, modify, deploy, install, uninstall, or delete resources.
  3. Build a command map from help pages and global flags.
  4. Cross-check discovered commands against official docs links.
  5. Return recommended command templates and safe next steps.

Version and Documentation Alignment

Before making strong command recommendations:

  1. Determine the installed CLI version (slack version) when command execution is allowed.
  2. Compare installed behavior/help output with the current official docs.
  3. If docs and local help conflict, prefer local --help as runtime truth and explicitly report the mismatch.
  4. If the installed CLI appears older than docs, recommend that the user upgrade the local Slack CLI before continuing.

If command execution is not allowed, state that version validation was not performed and recommend the user run slack version.

Self-Improving Maintenance Rules

If this skill appears stale relative to current --help output or official docs:

  1. Update SKILL.md and references/command-map.md with corrected commands, flags, and workflows.
  2. Keep --help-first progressive discovery as the primary workflow.
  3. Record new or changed commands in the reference summary.
  4. Call out meaningful behavioral changes (renamed commands, deprecated flags, new subcommands).
  5. If stale guidance could cause user errors, prioritize fixing the skill before running high-risk operations.

Global Flags to Check First

  • -a, --app: target app ID or environment
  • -w, --team: target workspace/org
  • --token: token for a team context
  • -f, --force: continue on warnings
  • -v, --verbose: debug output
  • --no-color: plain output
  • -s, --skip-update: skip CLI update checks

Common Command Patterns

bash
slack help
slack <subcommand> --help
slack create <name>
slack run
slack deploy --team <TEAM_ID_OR_NAME>
slack manifest validate
slack trigger list

References

  • For a command overview and frequently used flags, read references/command-map.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Slack Cli」では何ができますか?

Use Slack CLI (`slack`) for app lifecycle and workspace operations including login/logout, create/init, run/deploy, manifest validation, trigger management, app install/uninstall, environment management, and diagnostics. Use when users ask to run or troubleshoot commands like `slack create`, `slack run`, `slack deploy`, `slack trigger`, `slack manifest`, `slack auth`, `slack activity`, `slack datastore`, `slack env`, or request help-first progressive discovery with `slack help` and `slack SUBCOMMAND --help`, plus version/documentation alignment and stale-skill refresh.

TypingMindでSlack Cliを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Slack Cliはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSlack Cliをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ericmjl/skills/tree/main/skills/slack-cliを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Slack Cliを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Slack Cliは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSlack Cliを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Slack Cli」は無料ですか?

はい。ericmjlがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇