elnora-slack
The entire Slack Web API as a CLI and a Claude Code plugin — 201 methods, agent-friendly JSON, approval-gated sending. Built for AI agents to send, read, and manage Slack safely from the terminal.

What you can do in your first ten minutes:
- Call every public Slack Web API method — 201 across 29 groups — as
elnora-slack <group> <method> --flags, with clean JSON out.
- Let an agent send messages behind an approval gate: the
slack-messages skill drafts, shows you the exact target, and waits for your "send".
- Keep a cached workspace reference (users, channels, routing) so agents resolve names to IDs without an API round-trip.
- Wire up scheduled alerting — notify-on-failure DMs, weekly digests, log-sweep alerts — from the bundled templates.
- One-line plugin install in Claude Code:
/plugin marketplace add Elnora-AI/elnora-slack.
- Deploy the two-way bot: an AI assistant your whole workspace can DM or @-mention, with thread memory and pluggable tools (knowledge base, Linear, Gmail, web search) — see the bot template.
The binary is elnora-slack, not slack. Slack ships its own official slack CLI; we deliberately don't shadow it.
Install
The CLI and the Claude Code plugin are two separate installs. The plugin's skills and slash command shell out to the elnora-slack binary, so install the CLI first, even if you only want the plugin. /plugin install does not install the CLI.
Step 1 — Install the CLI (required for everyone)
npm install -g @elnora-ai/slack
elnora-slack --version
Then set up a Slack app and token (see Slack app setup) and smoke-test:
elnora-slack auth test
Step 2 — Add the Claude Code plugin (optional, Claude Code only)
Only after Step 1 succeeds. Run these as two separate slash commands (paste the first, hit enter, wait, then paste the second):
/plugin marketplace add Elnora-AI/elnora-slack
/plugin install slack-workspace@elnora-slack
Then /plugin inside Claude Code should list slack-workspace as enabled. If elnora-slack --version fails, go back to Step 1 — the skills won't work without the binary on PATH.
Using Codex, Cursor, or any other AI coding agent
Install the CLI (Step 1), then drop AGENTS.md at your project root. Those agents read it natively for the intent → CLI mapping. No plugin needed — the plugin is Claude-Code-only.
Installing via an AI agent? Point it at INSTALL_FOR_AGENTS.md — a gated, step-by-step runbook that creates the Slack app, collects the token, and smoke-tests, offering to drive the browser for you at each step.
Slack app setup
You create your own Slack app — nothing is shared or hosted by us.
- Go to api.slack.com/apps → Create New App → From a manifest, pick your workspace, and paste
app-manifest.json.
- Install to Workspace and authorize.
- Copy the Bot User OAuth Token (
xoxb-…). If you need search.*, also copy the User OAuth Token (xoxp-…).
- Save them:
mkdir -p ~/.config/elnora-slack
printf 'SLACK_BOT_TOKEN=xoxb-your-bot-token\n' >> ~/.config/elnora-slack/.env
# optional, only for search.*:
printf 'SLACK_USER_TOKEN=xoxp-your-user-token\n' >> ~/.config/elnora-slack/.env
chmod 600 ~/.config/elnora-slack/.env
elnora-slack auth test should return your bot identity.
Optional: to let "DM me" resolve without asking, add ~/.config/elnora-slack/config.json with {"default_dm_user": "U…"} (your Slack user ID) — the slack-messages skill reads it when present.
The manifest requests bot scopes for messaging, channels, files, reactions, pins, and bookmarks, plus one user scope (search:read). Trim anything you don't use. admin.*, canvases.*, and lists.* need a paid plan (Enterprise Grid / Business+) and may require extra scopes.
What you get
elnora-slack CLI (npm — Step 1) — complete Slack Web API coverage, scriptable and JSON-pipeable, with typed exit codes agents can self-correct from.
slack-workspace Claude Code plugin (separate /plugin install — Step 2) — two skills, a /slack-sync command, and a session hook, all delegating to the CLI.
Capabilities
Messaging — post, update, delete, schedule, thread replies, broadcasts, ephemeral, chat.postMessage with Block Kit.
Read — conversation history and replies, channel/user info, users.lookupByEmail, files, pins, reactions, bookmarks, reminders, team info, emoji.