Langsung ke konten
Skillpedia
Pemrograman umum38k Β· #7490

setup-slack-channel

Fungsinya

Skill ini memandu pengembang melalui sisi Slack dari agent channel CopilotKit lokal, yang melibatkan beberapa sistem dan pemilik. Skill ini untuk pengembang yang menyiapkan Slack untuk pertama kali atau memperbaiki channel yang online tetapi tidak membalas.

Kapan dipakai

  • βœ“Saat Anda menyiapkan bot Slack untuk agent channel CopilotKit lokal untuk pertama kali.
  • βœ“Saat sebuah channel menampilkan status perlu penyiapan, menunggu runtime, atau tidak membalas mention di Slack.
  • βœ“Saat Anda perlu menghubungkan aplikasi Slack baru ke channel Intelligence yang dikelola.

Link skill

https://github.com/CopilotKit/CopilotKit/blob/main/skills/setup-slack-channel/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/CopilotKit/CopilotKit/blob/main/skills/setup-slack-channel/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œChannel CopilotKit saya sudah online, tetapi ketika saya menyebut bot di Slack, ia tidak membalas. Bantu saya cari apa yang kurang.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memandu Anda melalui setiap sistem secara berurutan: workspace Slack, aplikasi Slack dan token-nya, proyek dan channel Intelligence, runtime lokal, dan backend agent. Agent memeriksa bagaimana setiap bagian pengiriman terhubung, karena penyiapan yang salah bisa terpasang dengan bersih tetapi tidak menjawab apa pun.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Set up a Slack Channel for a local Channels agent

Take a developer from a code checkout to a working local Slack agent. Five separate systems have to line up, and they are owned by four different parties:

System Who owns it Where you work on it
Slack workspace Workspace owner / app manager Slack, in a browser
Slack app + its tokens The developer api.slack.com, in a browser
Intelligence project, API key, Channel, Slack adapter The developer The Intelligence dashboard, in a browser
Local Channels runtime The developer This repo, in the shell
AG-UI agent backend The developer This repo, in the shell

How delivery actually works β€” two legs, two mechanisms

Getting this wrong is the most expensive mistake available here, because a misconfigured Slack app installs cleanly and answers nothing.

Leg Mechanism What authenticates it
Slack β†’ Intelligence Slack posts events over HTTPS to an Intelligence-hosted Request URL: https://intelligence.copilotkit.ai/api/channels/adapters/slack/events The app's signing secret, held by Intelligence
Intelligence β†’ your runtime Your runtime dials out to the realtime gateway over a websocket CPK_INTELLIGENCE_API_KEY

Two consequences:

  • No tunnel and no public URL of your own is needed β€” but not because of Socket Mode. It is because Intelligence owns the public URL, and because the second leg is outbound from your machine.
  • Socket Mode is off, and there is no xapp- app-level token in this workflow at all. A managed Slack app needs socket_mode_enabled: false and a request_url. If you create the app with Socket Mode on and no Request URL, no event ever reaches Intelligence.

The Slack adapter form in Intelligence therefore asks for exactly two values: the bot token (xoxb-) and the signing secret. Nothing else.

Most of this workflow happens in a browser, not a shell. The supported path for v1 is the Intelligence browser experience. copilotkit channels does list commands for Channel creation, adapter attach, and key issuance β€” do not use them here; they are not hardened for this workflow yet. Never invent a command name to fill a gap, and if you are unsure whether a command covers something, check its --help rather than guessing.

Drive that browser yourself. That is the default here, not a bonus. Check what you actually have before Phase 0 and say which it is β€” never assume either way.

If you have no browser or computer-use tool, ask the developer to install one before you start. Work out which harness you are running in and name the single route that applies rather than reciting all of them: Claude Code and Codex each ship their own browser support and enable it differently, and most other harnesses take a general browser-use MCP server such as Playwright MCP. If you are not sure what your harness supports, look it up before you guess. Tell them what it buys β€” driving turns this into typing three secrets, while the fallback is roughly fifteen manual browser steps. Only if they decline, walk them through those steps one action at a time.

Done means three things, all verified

Do not report success until all three hold. Any one alone is a false positive.

  1. The Slack app is installed in a workspace, and the bot is a member of the channel you will test in.
  2. The managed Channel reports online β€” from `co
Pertanyaan umum

Mengapa butuh banyak langkah?

Lima sistem terpisah yang dimiliki pihak berbeda harus selaras sebelum balasan Slack bisa sampai.

Siapa yang harus melakukan apa?

Pemilik workspace atau manajer aplikasi menangani akses Slack, sedangkan pengembang menangani aplikasi, token, dan proyek Intelligence.

Apakah aplikasi Slack dibuat oleh agent?

Skill ini memandu Anda membuat dan menghubungkannya, karena sebagian langkah dilakukan di Slack dan api.slack.com di browser Anda.

Detail

Deskripsi asli dari pembuat

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet β€” setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setup_required, sits at "Waiting for runtime", the Channel is Online but a Slack mention gets no reply, or a Slack app was built with Socket Mode instead of an Intelligence Request URL. Scoped to an OpenTag checkout, or the OpenTag example inside a channels-sdk clone β€” the phases assume those conven

repo: CopilotKit/CopilotKit

Popularitas

Bintang GitHub
38k
Peringkat
#7490
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa