copilotkit-channels
O que ela faz
Esta skill cobre o lado do código de um Channel gerenciado do CopilotKit para Slack ou Microsoft Teams. É para desenvolvedores que querem alterar uma configuração de canal existente ou adicionar um canal a um projeto que não foi criado pela CLI.
Quando usar
- ✓Quando você quer personalizar o canal que um projeto do CopilotKit já inclui.
- ✓Quando você quer um agente no Slack ou no Teams e o projeto não foi criado pela CLI do CopilotKit.
- ✓Quando você quer saber com qual produto de canal está trabalhando antes de alterar qualquer coisa.
Link da skill
https://github.com/CopilotKit/CopilotKit/blob/main/skills/copilotkit-channels/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Personalize o canal do Slack neste projeto do CopilotKit para que o agente responda apenas em um canal específico.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica primeiro se o projeto usa um canal gerenciado ou os pacotes de adaptadores self-hosted, já que os dois funcionam de formas diferentes. Depois edita a declaração do canal, o host de longa duração e a chamada de ativação que o projeto precisa.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
CopilotKit Channels
Managed Channels let an agent answer in Slack or Microsoft Teams. Intelligence owns the provider edge — signed ingress, egress, credential storage — and delivers turns to your runtime over its realtime transport.
Scope
This skill covers managed Intelligence Channels: CopilotIntelligenceRuntime, app-api Channel resources, and the realtime gateway.
It does not cover the self-hosted @copilotkit/channels provider adapters (@copilotkit/channels-slack, -teams, -discord, -whatsapp). Those hold provider credentials in your process and talk to the provider directly. Both products use the words "channels" and "Slack", so confirm which one the user means before wiring anything. If they want to hold their own Slack tokens and run their own ingress, they want the adapter packages, not this skill.
Decide which path you are on first
Everything below depends on this, and getting it wrong produces a project with two Channel declarations that fight over one Channel.
Look for channel-host.mts at the project root.
| It is there | It is not |
|---|---|
The project was scaffolded by npx copilotkit init. The code half is already done — go to "Customising a scaffolded Channel". Do not write a new host or a second createChannel. |
The project predates the Channel, or was not made by the CLI. Go to "Wiring a project the CLI did not generate", at the end. |
The scaffolded path is the one exercised end to end. Wiring an existing project is supported and works, but it is less trodden: the CLI reads source it did not generate, so a project laid out unusually may get a status leg reported as undetermined rather than a confident answer. That is deliberate — an unsure answer beats a wrong one — but verify the wiring yourself there rather than trusting a green report.
A Channel has two halves
A Channel only works when both are correct, and each half is invisible from the other:
- The provider half — an app registered with Slack or Microsoft, credentials stored server-side, ingress pointed at Intelligence. Three entry points converge on it:
npx copilotkit initguides a new project,npx copilotkit channels addhandles an existing project or agent, and the dashboard wizard works in a browser. A new Teams app begins with the browser-created draft and uses one of the two paths below. - The code half — a long-running runtime that declares the Channel and awaits activation. A scaffolded project already has this; for anything else, it is what this skill writes.
The most confusing failure in this product is a correct provider half with a missing code half: the app serves HTTP normally, reports no error, shows an encouraging badge in the dashboard, and answers nothing. Nothing in the browser can diagnose it, because the missing piece is in the source tree.
Teams provider setup has two peer paths
For Teams, create the durable Channel draft in Intelligence before provisioning Microsoft resources. The browser then offers:
Fast CLI setup (recommended): copy the fully scoped command from the draft:
npx copilotkit@latest channels add --project-id <project-id> --channel-id <channel-id> --adapter teams --provision --via skill:copilotkit-channelsAdd
--via skill:copilotkit-channelsto the copied command, and keep it on every CLI command in this skill. It only tells CopilotKit's telemetry that the call came from this skill. If the CLI reportsUnknown option '--via', npx ran an old cached version: run the command again without the flag.It works outside a repository, reuses the CopilotKit login, confirms the Microsoft tenant, creates one single-tenant Teams-managed app, and sends the generated secret directly to encrypted Intelligence storage. It does not print the secret, write provider environment files, or modify runtime code.
**Guided manual
Perguntas frequentes
É o mesmo que os adaptadores self-hosted?
Não. Os canais gerenciados mantêm as credenciais do provedor do lado do CopilotKit, enquanto os pacotes de adaptadores as guardam no seu próprio processo.
Como o agente descobre qual configuração eu tenho?
Ele procura um arquivo de host do canal na raiz do projeto.
Ele cria o app do Slack para mim?
A criação de um app do Slack pela primeira vez é coberta por uma skill de configuração separada.
Detalhes
Descrição original do autor
Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope, because the CLI or dashboard wizard performs it. Creating a Slack app for the first time is not: if no Slack app exists yet, use setup-slack-channel for the provider half and return here for the code.
repo: CopilotKit/CopilotKit
Popularidade
- Estrelas no GitHub
- 38 mil
- Posição no ranking
- #7487
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
channels-setup
38 milDireciona seu agente para a configuração guiada do CopilotKit, para que você tenha um primeiro agente respondendo no Slack ou no Microsoft Teams do início ao fim.
copilotkit-cli
38 milAjuda seu agente a usar a ferramenta de linha de comando do CopilotKit para verificar a configuração de um projeto, criar projetos e gerenciar as configurações hospedadas.
copilotkit
38 milAjuda seu agente a encontrar a documentação e o código-fonte atuais do CopilotKit antes de escrever código, em vez de confiar na memória de uma API que muda.
setup-slack-channel
38 milAjuda seu agente a conectar um agente do CopilotKit em execução local ao Slack, criando o app do Slack, seus tokens e o canal gerenciado.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.