copilotkit-channels
하는 일
이 스킬은 Slack이나 Microsoft Teams용 관리형 CopilotKit 채널의 코드 쪽을 다룹니다. 기존 채널 설정을 바꾸거나, CopilotKit CLI가 만들지 않은 프로젝트에 채널을 추가하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓CopilotKit 프로젝트에 이미 포함된 채널을 맞춤화하고 싶을 때.
- ✓CLI로 만들지 않은 프로젝트에서 Slack이나 Teams에 에이전트를 두고 싶을 때.
- ✓무엇을 바꾸기 전에 어떤 채널 제품을 다루는지 알고 싶을 때.
스킬 링크
https://github.com/CopilotKit/CopilotKit/blob/main/skills/copilotkit-channels/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 CopilotKit 프로젝트의 Slack 채널을 맞춤화해서, 에이전트가 한 특정 채널에서만 답하도록 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 먼저 프로젝트가 관리형 채널을 쓰는지, 자체 호스팅 어댑터 패키지를 쓰는지 확인합니다. 둘은 작동 방식이 다르기 때문입니다. 그다음 프로젝트에 필요한 채널 선언, 장기 실행 호스트, 활성화 호출을 편집합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
자체 호스팅 어댑터와 같은가요?
아니요. 관리형 채널은 제공자 자격 증명을 CopilotKit 쪽에 두고, 어댑터 패키지는 자체 프로세스에 둡니다.
에이전트는 어떻게 내 설정이 무엇인지 아나요?
프로젝트 루트에 있는 채널 호스트 파일을 찾습니다.
Slack 앱을 대신 만들어 주나요?
처음으로 Slack 앱을 만드는 일은 별도의 설정 스킬이 다룹니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 38k
- 순위
- #7487
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
channels-setup
38k에이전트를 CopilotKit의 안내 설정으로 연결해, 처음부터 끝까지 Slack이나 Microsoft Teams에서 답하는 첫 에이전트를 만들도록 돕습니다.
copilotkit-cli
38k에이전트가 CopilotKit 명령줄 도구를 써서 프로젝트 설정을 점검하고, 프로젝트를 만들고, 호스팅 설정을 관리하도록 돕습니다.
copilotkit
38k에이전트가 코드를 쓰기 전에 현재 CopilotKit 문서와 소스를 찾도록 돕습니다. 바뀌는 API에 대한 기억에 의존하지 않습니다.
setup-slack-channel
38k에이전트가 로컬에서 실행 중인 CopilotKit 에이전트를 Slack에 연결하도록 돕습니다. Slack 앱, 토큰, 관리형 채널을 만듭니다.