hive.slack-notifications-setup
Ce qu’il fait
Cette compétence guide l'IA pour connecter une application Slack afin qu'elle puisse vous écrire lorsqu'une tâche se bloque. Elle s'adresse aux personnes qui veulent des alertes et pouvoir répondre dans Slack.
Quand l’utiliser
- ✓Quand vous voulez être averti sur Slack lorsqu'une tâche reste bloquée.
- ✓Quand vous voulez répondre à une tâche en cours depuis Slack.
- ✓Quand vous avez besoin de configurer l'application Slack et le canal pour les alertes.
Lien du skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/slack-notifications-setup/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Je veux recevoir un message Slack lorsque ma tâche se bloque, et pouvoir répondre là-bas.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA utilise un navigateur pour créer ou réutiliser une application Slack, enregistre ses jetons d'accès, choisit un canal et active les alertes. L'objectif est de terminer sans que vous ayez à coller de jetons.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Dois-je coller moi-même les jetons ?
Non. La compétence est conçue pour enregistrer les jetons et activer les alertes sans que vous les colliez.
Vérifie-t-elle l'espace de travail Slack que j'utilise ?
Oui. Elle vérifie d'abord que vous êtes connecté au bon espace de travail Slack.
Puis-je répondre depuis Slack ?
Oui. La configuration des alertes vous permet de répondre dans Slack pour faire avancer la tâche.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 11k
- Position au classement
- #11806
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
browser-edge-cases
11kAide votre agent à corriger l'automatisation de navigateur qui échoue sur des sites difficiles comme LinkedIn, X ou les pages très riches en scripts.
hive.browser-automation
11kApprend à votre agent à contrôler votre propre navigateur Chrome avec l'outil hive-browser, en utilisant des captures d'écran et des clics.
hive.colony-progress-tracker
11kAide votre agent à réclamer des tâches et à consigner ses étapes et contrôles dans une base de données partagée, pour suivre le travail au fil de l'eau.
hive.context-preservation
11kAide votre agent à noter les faits clés des longs résultats d'outils dans des notes avant que les anciens détails ne soient retirés de sa mémoire.
Skills similaires
discord-user-post
394kPermet à votre agent de publier sur Discord un message approuvé, en votre nom, via l'application de bureau, après confirmation du salon exact.
configure-channel
394kApprend à votre agent à connecter une messagerie comme Telegram à OpenClaw, à stocker le jeton du bot en sécurité et à vérifier les échanges.
discord
394kAide votre agent à lire, envoyer, modifier et réagir aux messages Discord via OpenClaw, en vérifiant le message exact avant toute modification.