hive.slack-notifications-setup
Fungsinya
Skill ini memandu AI menghubungkan aplikasi Slack agar bisa mengirimi Anda pesan saat sebuah tugas macet. Skill ini ditujukan untuk orang yang ingin peringatan dan balasan lewat Slack.
Kapan dipakai
- โSaat Anda ingin dikirimi pesan Slack ketika sebuah tugas macet.
- โSaat Anda ingin membalas tugas yang sedang berjalan dari dalam Slack.
- โSaat Anda membutuhkan aplikasi dan kanal Slack disiapkan untuk peringatan.
Link skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/slack-notifications-setup/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin mendapat pesan Slack saat tugas saya macet, dan bisa membalas di sana.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI memakai browser untuk membuat atau memakai ulang aplikasi Slack, menyimpan token aksesnya, memilih kanal, lalu mengaktifkan peringatan. Tujuannya agar penyiapan selesai tanpa Anda perlu menempelkan token apa pun.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah saya harus menempelkan token sendiri?
Tidak. Skill disiapkan untuk menyimpan token dan mengaktifkan peringatan tanpa Anda menempelkannya.
Apakah skill memeriksa workspace Slack mana yang saya pakai?
Ya. Skill memeriksa bahwa Anda sudah masuk ke workspace Slack yang benar terlebih dahulu.
Bisakah saya membalas dari Slack?
Bisa. Pengaturan peringatan memungkinkan Anda membalas di Slack untuk melanjutkan tugas.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 11k
- Peringkat
- #11806
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
browser-edge-cases
11kMembantu agent Anda memperbaiki otomatisasi browser yang gagal di situs yang rumit, seperti LinkedIn, X atau halaman dengan skrip yang berat.
hive.browser-automation
11kMengajari agent Anda mengendalikan browser Chrome Anda sendiri dengan alat hive-browser, memakai tangkapan layar dan klik.
hive.colony-progress-tracker
11kMembantu agent Anda mengklaim tugas dan mencatat langkah serta pemeriksaannya di basis data bersama, sehingga pekerjaan terlacak saat berjalan.
hive.context-preservation
11kMembantu agent Anda menyimpan fakta penting dari hasil alat yang panjang ke dalam catatan sebelum detail lama dihapus dari memorinya.
Skill serupa
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
configure-channel
394kMengajari agent Anda menghubungkan aplikasi chat seperti Telegram ke OpenClaw, menyimpan token bot dengan aman, dan memastikan pesan benar-benar mengalir.
discord
394kMembantu agent Anda membaca, mengirim, mengedit, dan memberi reaksi pada pesan Discord lewat OpenClaw, dengan memeriksa pesan yang tepat sebelum perubahan dilakukan.