slack-admin-cli-skill

A command-line tool for managing Slack workspaces through Slack's APIs, including enterprise administration and user, channel, group, team, app, and workflow tasks. A command-line tool lets you run these operations from a terminal and use the results in scripts.

In plain words
What is it for?
Use it to manage teams, users, channels, apps, workflows, invitations, permissions, user groups, tokens, and related Slack settings.
Why use it?
It makes bulk operations, information gathering, and automation easier than performing the same work manually in Slack's web interface. It supports table, JSON, and tab-separated output for people and scripts.

Skill for Claude CodeCodex

Part of the slack-admin-cli plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yamitzky/slack-admin-cli/slack-admin-cli-skill
Any agent
npx skills add yamitzky/slack-admin-cli --skill slack-admin-cli-skill
Clone the repo
git clone --depth 1 https://github.com/yamitzky/slack-admin-cli

Made for: Claude Code, Codex.

Or install slack-admin-cli, the plugin that ships this one along with the rest of its 1 skill.

Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00166 $0.01531
Opus 5 $0.00083 $0.00766
Sonnet 5 $0.00033 $0.00306
Haiku 4.5 $0.00017 $0.00153

Measured 2d ago against content hash 312d8fd8440e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

slack-admin-cli-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/slack-admin-cli-skill/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slack Admin CLI (sladm)

Slack Enterprise Grid / Business+ ワークスペースの管理 CLI。 admin.* スコープの API に加え、標準の users.* / conversations.* / usergroups.* / team.* API も利用可能。 Web UI では面倒な一括操作・情報取得・スクリプト化が可能。

CLI の使い方を調べる

CLI はセルフドキュメンティング。推測せず、必ず --help で確認すること。

sladm --help                          # トップレベルのコマンド一覧
sladm conversations --help            # conversations グループのサブコマンド一覧
sladm conversations search --help     # 個別コマンドのオプション詳細

インストール

# Bun でグローバルインストール
bun link

# または直接実行
bun run src/index.ts

認証

# プロファイルにトークンを登録(キーチェーンに保存)
sladm token add <PROFILE_NAME> <xoxp-...>

# 登録済みプロファイル一覧
sladm token list

# トークンの有効性を確認
sladm token status

admin コマンドには admin.* スコープが必要。非 admin コマンド(users.info, conversations.list 等)は標準スコープ(users:read, channels:read, usergroups:read, team:read 等)で利用可能。 環境変数 SLADM_PROFILE でデフォルトプロファイルを指定可能。

出力形式

すべてのコマンドで3種類の出力形式をサポート:

  • --json — JSON 形式(パイプ処理向き)
  • --plain — タブ区切りテキスト(TSV、スクリプト向き)
  • デフォルト — 整形済みテーブル表示

プロファイル切り替え

sladm --profile production teams list
sladm --profile staging users list

コマンドグループ

グループ 用途 レシピ
token プロファイル・トークン管理
teams チーム作成・設定・管理者一覧 teams
users ユーザー招待・昇格・セッション管理 users
conversations チャンネル操作・一括処理・アクセス制御 conversations
apps アプリ承認・制限・設定 apps
invite-requests ワークスペース招待の承認・拒否 invite-requests
workflows ワークフロー検索・権限・コラボレーター workflows
functions カスタム関数の一覧・権限設定 functions
scim-users SCIM ユーザー管理(作成・更新・無効化) scim-users
scim-groups SCIM グループ管理(作成・更新・削除) scim-groups
auth-policy 認証ポリシーへのエンティティ割り当て
barriers 情報バリア(Information Barriers)の作成・更新・削除
emoji カスタム絵文字の追加・エイリアス・リネーム・削除
roles システムロール割り当ての追加・一覧・削除
usergroups ユーザーグループのチーム・デフォルトチャンネル管理、CRUD(非 admin)

Read the full file on GitHub · 119 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 119 lines · 166 tokens per session scan A 312d8fd8440e

Subscribe to this mod's changes

slack-admin-cli-skill is a skill published in the GitHub repository yamitzky/slack-admin-cli (2 stars, last pushed 4mo ago), licensed MIT. It adds 166 tokens to every session and 1,531 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

add-adapter

Add a vendor-official or community adapter to the Chat SDK catalog and docs — adapters.json registry, chat/adapters catalog entry, the docs MDX page, meta.json, integration-test lists, and a changeset. Use when a developer wants to add, list, register, or submit a third-party (vendor-official or community) adapter to…

vercel/chat · 109 tokens

chat-sdk

Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to scaffold a bot with create-chat-sdk, build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files…

vercel/chat · 108 tokens

opentag

Use when installing, pairing, operating, or troubleshooting OpenTag through the published CLI, self-hosted Control Plane, governed completion, supported collaboration platforms, or built-in coding agents.

amplifthq/opentag · 40 tokens

update-model-pricing

Verify and refresh AgentConnect's daemon-side public OpenAI fallback pricing, exact model aliases, long-context and cache rules, and regression tests. Use when OpenAI model prices or IDs change, fallback cost becomes missing or stale, codex-acp changes its token mapping, or someone asks to audit or update…

agentconnect-md/agentconnect · 79 tokens

agentconnect-setup

Guide users through installing, configuring, and verifying the complete self-hosted AgentConnect OSS stack as an interactive tutorial. Use for Docker Compose setup, local no-auth evaluation, the bundled local Logto overlay, Logto Cloud authentication, Cloudflare Tunnel or reverse-proxy exposure, custom production…

agentconnect-md/agentconnect · 92 tokens

block-kit

Use when a developer wants to build or validate Block Kit layouts for Slack messages, modals, or Home tabs: message layouts, modals/forms/dialogs, Home tab interfaces, interactive buttons or menus, or modifying existing Block Kit JSON. Also trigger on any Slack UI component (sections, actions, inputs, headers, alerts…

slackapi/slack-skills-plugin · 112 tokens