hive.slack-notifications-setup
What it does
This skill walks an AI through connecting a Slack app so it can message you when a task stalls. It is for people who want alerts and replies in Slack.
When to use it
- βWhen you want to be pinged on Slack when a task gets stuck.
- βWhen you want to reply to a running task from inside Slack.
- βWhen you need the Slack app and channel set up for alerts.
Skill link
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/slack-notifications-setup/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want to get a Slack message when my task stalls, and be able to reply there.β
5 new skills a week. 1 minute to read.
How it works
The AI uses a browser to create or reuse a Slack app, saves its access tokens, picks a channel and turns alerts on. The aim is to finish without you pasting any tokens.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Slack Notifications Setup (Sentinel)
Sentinel pings the user on Slack when a colony stalls and lets them reply from Slack to keep it going. It needs a Slack app with two tokens:
- a Bot User OAuth Token (
xoxb-β¦) β stored under credential idslack, used to send alerts and call the Slack API. - an App-Level Token (
xapp-β¦) withconnections:writeβ stored under credential idslack_app, used by Socket Mode to receive the user's reply.
You do the whole thing end to end: reuse-or-create the app, read the tokens, store
them with the sentinel_setup tool (the same API the desktop connector uses),
create/select the channel via the Slack API, and turn Sentinel on β without
making the user paste anything.
Activate hive.browser-automation first β this skill assumes you know the
lifecycle rules (the bridge attaches to the user's own Chrome; never launch or kill
a browser), the screenshot + viewport-fraction coordinate workflow, and
hive-browser interact.
Before you start β check what already exists
- Run
sentinel_setup({"action": "status"}). If it shows bothslack botandslack appalready configured, the app and tokens are already in place β skip Steps 1β4 entirely and go to Step 5 (channel). Don't recreate anything. - Confirm the user is signed into the right Slack workspace: run
hive-browser navigate https://api.slack.com/apps --jsonin the terminal. If it shows a sign-in screen, ask them to log into the workspace they want alerts in. If they have several workspaces, ask which one. - Reuse before create. Scan the apps list for an app named Hive Sentinel. If it exists, open it and skip to Step 2 (app-level token) / Step 3 (install) β do not create a second app. Only create one if none exists.
Step 1 β Create the app from a JSON manifest
The manifest sets the name, bot scopes (including channel management), Socket Mode, and event subscriptions in one shot.
- Click Create New App β From a manifest, pick the workspace, click Next.
- Switch to the JSON tab (not YAML β the browser type tools strip newlines and break YAML).
- Inject the manifest with
hive-browser evaluate(run in the terminal) using CodeMirror's API β see "Filling the manifest editor" below for the exact, non-doubling method. Use this manifest verbatim:
{
"display_information": { "name": "Hive Sentinel" },
"features": { "bot_user": { "display_name": "Hive Sentinel", "always_online": true } },
"oauth_config": {
"scopes": {
"bot": [
"chat:write",
"chat:write.public",
"channels:read",
"channels:history",
"channels:manage",
"groups:read",
"groups:history",
"users:read"
]
}
},
"settings": {
"event_subscriptions": { "bot_events": ["message.channels", "message.groups"] },
"socket_mode_enabled": true,
"org_deploy_enabled": false,
"token_rotation_enabled": false
}
}
channels:manage is included up front so you can create the channel by API in
Step 5 without ever reinstalling. Valid manifest keys only: socket_mode_enabled
(not socket_mode), and there is no org_domains field.
- With the editor showing a single copy and no "can't translate" error, click Next, then Create.
Filling the manifest editor (JSON tab β do this, nothing else)
Slack's manifest editor is CodeMirror 5, and it validates from React state, not the DOM. Two traps, both avoided by the method below:
hive-browser interact/insert_textstrips newlines (breaks the manifest) and the type path tries to parse the braces. Don't type into it.- A
paste/InputEventthat carries the text gets appended on top of the current value β paste it aftersetValueand you get the manifest twice.
Set the value once, then fire a value-less input event so React re-reads it.
Run this with hive-browser evaluate in the terminal β because the script is
multi-line and quote-heavy, pass it via --js - (stdin) or --js @file rather than
inline --js 'β¦':
// JSON tab must be active first (click the tab labelled "JSON").
const cm = document.querySelector('.CodeMirror').CodeMirror;
// Embed the manifest as a single-quoted JS string (it contains only double quotes).
const manifest = '{"display_information":{"name":"Hive Sentinel"}, ... }';
cm.setValue(manifest); // setValue REPLACES β i
FAQ
Do I have to paste tokens myself?
No. The skill is set up to store the tokens and turn alerts on without you pasting them.
Does it check which Slack workspace I use?
Yes. It checks that you are signed in to the right Slack workspace first.
Can I reply from Slack?
Yes. The alert setup lets you reply in Slack to keep the task going.
Details
Original description by the author
Set up a Slack notification channel (Sentinel) for a colony by driving the browser β reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept replies. Use when the user asks to "set up Slack notifications", "get pinged on Slack", "connect Slack for alerts", "set up Sentinel on Slack", or clicks the in-app "Set this up with the agent" button on the Slack channel step. Requires hive.browser-automation.
repo: aden-hive/hive
Popularity
- GitHub stars
- 11k
- Ranking position
- #11806
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
browser-edge-cases
11kHelps your agent fix browser automation that fails on tricky sites such as LinkedIn, X or pages with heavy scripts.
hive.browser-automation
11kTeaches your agent to control your own Chrome browser with the hive-browser tool, using screenshots and clicks.
hive.colony-progress-tracker
11kHelps your agent claim tasks and record its steps and checks in a shared database, so work is tracked as it goes.
hive.context-preservation
11kHelps your agent save key facts from long tool results into notes before older details are removed from its memory.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.