Aller au contenu
Skillpedia
Programmation générale38k · #7490

setup-slack-channel

Ce qu’il fait

Cette compétence guide un développeur dans la partie Slack d'un agent CopilotKit Channels local, qui implique plusieurs systèmes et plusieurs responsables. Elle s'adresse aux développeurs qui configurent Slack pour la première fois, ou qui réparent un canal en ligne mais qui ne répond pas.

Quand l’utiliser

  • ✓Quand vous configurez un bot Slack pour un agent CopilotKit Channels local, pour la première fois.
  • ✓Quand un canal affiche une configuration requise, attend le runtime ou ne répond pas à une mention Slack.
  • ✓Quand vous devez rattacher une nouvelle application Slack à un canal Intelligence géré.

Lien du skill

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

Copiez-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

Utilise ce skill pour m’aider : https://github.com/CopilotKit/CopilotKit/blob/main/skills/setup-slack-channel/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Mon canal CopilotKit est en ligne, mais quand je mentionne le bot dans Slack, il ne répond pas. Aide-moi à trouver ce qui manque.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent vous fait passer par chaque système dans l'ordre : l'espace de travail Slack, l'application Slack et ses jetons, le projet et le canal Intelligence, le runtime local et le backend de l'agent. Il vérifie comment chaque maillon de la livraison est connecté, car une mauvaise configuration peut s'installer proprement sans jamais répondre.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Pourquoi cela prend-il plusieurs étapes ?

Cinq systèmes distincts, gérés par différentes parties, doivent être alignés avant qu'une réponse Slack puisse arriver.

Qui doit faire quoi ?

L'administrateur de l'espace de travail ou le gestionnaire de l'application gère l'accès à Slack, et le développeur gère l'application, les jetons et le projet Intelligence.

L'application Slack est-elle créée par l'agent ?

La compétence vous guide pour la créer et la rattacher, car certaines étapes se font dans Slack et sur api.slack.com dans votre navigateur.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
38k
Position au classement
#7490
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires