Agent Slack logo

Agent Slack

Organization
stablyai
agent-slack

Slack CLI for agents: read URLs/threads/history/unreads/later/canvases/workflows, create/edit canvases from Markdown, search messages/files, download attachments, lookup users, list/create/invite channels, open DMs, compose messages, manage Slack-native drafts, schedule sends, and explicit sends/edits/deletes/reactions/mark-read/uploads.

Overview

Publisherstablyai
Repositoryagent-slack
Skill nameagent-slack
Stars
540
Forks
69
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by stablyai on GitHub. Read the source before you install it.

Installation

Install the Agent Slack AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/stablyai/agent-slack/tree/main/skills/agent-slack
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/stablyai/agent-slack.git /tmp/agent-slack
mkdir -p .claude/skills
cp -r /tmp/agent-slack/skills/agent-slack .claude/skills/agent-slack
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agent Slack in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Agent Slack on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Agent Slack is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

agent-slack

Use agent-slack from $PATH. If it is missing, install it with:

bash
curl -fsSL https://raw.githubusercontent.com/stablyai/agent-slack/main/install.sh | sh

Fallback: npm i -g agent-slack (Node >= 22.5).

Run agent-slack --help or the relevant subcommand help before guessing a command or flag. If a capability named here is absent from installed help, report version skew instead of guessing. Do not self-update the CLI without explicit authorization.

Safety

  • Read and search freely.
  • Perform write actions only when explicitly requested: sends, edits, deletes, reactions, invitations, channel or canvas creation/editing, mark-read operations, scheduling or canceling delivery, uploads, Later state/reminder changes, DM/group-DM creation, and workflow run. Workflow runs can execute downstream actions.
  • For compose- or review-only requests, return proposed text without invoking Slack, or use message draft create to add a Slack-native draft the user can review and send (nothing is posted). message compose is send-capable; use it only when the user explicitly asks to open the interactive editor. In CI or another noninteractive environment, do not invoke it without separate authorization to send immediately: CI skips the editor and sends supplied text.
  • With AGENT_SLACK_SAFE_MODE=1 (or the global --safe-mode flag) set, safe mode is enforced at the tool level: message send is redirected to the draft editor and message edit/message delete are blocked. Use it when nothing should post without human review.

Workflow

  1. Run agent-slack auth whoami. If needed, import credentials with auth import-desktop, auth import-brave, auth import-chrome, or auth import-firefox, then run auth test.
  2. Prefer a Slack message URL when one is available. It carries the workspace, channel, and timestamp needed by most message operations.
  3. Choose the narrowest read operation: message get for one message, message list for a full thread or channel history, and search messages or search files for discovery.
  4. Use output limits such as --limit, --max-body-chars, and --max-content-chars to avoid unnecessary context.
  5. For a requested write, execute only the requested mutation and verify the resulting JSON metadata.

For scheduled writes, prefer --schedule with an ISO 8601 timestamp and explicit offset when timezone matters. Named --schedule-in phrases use the executing environment's local timezone; confirm that it matches the user's intent.

Named later remind --in values such as tomorrow or monday also use the executing environment's local timezone at 9:00. Confirm that timezone or pass an explicit Unix timestamp.

Use --no-unfurl with message send or message compose when the user wants Slack link and media previews suppressed. It cannot be combined with message send --attach.

Ordinary message send and message edit calls auto-convert lists. message send --blocks and message edit --blocks use supplied Block Kit blocks, while message send --attach sends its initial comment without automatic list conversion. Inside auto-converted lists, use Slack's <URL|label> syntax because CommonMark [label](URL) links are not converted into labeled link elements.

Slack-native drafts (message draft list|create|update|delete) manage drafts that appear in the user's Slack client; create posts nothing. create and update accept repeatable --attach <path>; on update the files are added to the draft's existing attachments rather than replacing them. They use undocumented session endpoints and require browser-style auth (xoxc/xoxd).

canvas edit uses Slack's public canvases.edit API and applies exactly one operation per call. The default replace operation replaces the whole canvas; section-targeted inserts/replacements and deletes require the section ID returned by Slack's Canvas tooling, while rename takes --title. Content operations take exactly one --file or --markdown source. It requires a standard token with canvases:write; imported browser credentials can create standalone canvases but cannot edit.

Conditional references

  • Read references/targets.md only when choosing between a message URL, channel, or user target, or when resolving multiple workspaces.
  • Read references/output.md only when handling returned message or canvas metadata, resolved users, or downloaded and failed attachments.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Agent Slack AI skill do?

Slack CLI for agents: read URLs/threads/history/unreads/later/canvases/workflows, create/edit canvases from Markdown, search messages/files, download attachments, lookup users, list/create/invite channels, open DMs, compose messages, manage Slack-native drafts, schedule sends, and explicit sends/edits/deletes/reactions/mark-read/uploads.

Why use Agent Slack on TypingMind?

Because you install it once and use it with any model. Agent Slack is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Agent Slack in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/stablyai/agent-slack/tree/main/skills/agent-slack. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Agent Slack?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Agent Slack?

As many as you like. As long as a model supports skills, you can use Agent Slack with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Agent Slack AI skill free?

Yes. It is published on GitHub by stablyai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇