copilotkit-channels
यह क्या करती है
यह स्किल Slack या Microsoft Teams के लिए मैनेज्ड CopilotKit Channel के कोड वाले हिस्से को कवर करती है। यह उन डेवलपर के लिए है जो मौजूदा चैनल सेटअप बदलना चाहते हैं या ऐसे प्रोजेक्ट में चैनल जोड़ना चाहते हैं जिसे CLI ने नहीं बनाया।
कब इस्तेमाल करें
- ✓जब आप CopilotKit प्रोजेक्ट में पहले से शामिल चैनल को अपने हिसाब से बदलना चाहें।
- ✓जब आपको Slack या Teams में एजेंट चाहिए और प्रोजेक्ट CopilotKit CLI से नहीं बना।
- ✓जब कुछ बदलने से पहले आप जानना चाहें कि आप किस चैनल प्रोडक्ट के साथ काम कर रहे हैं।
Skill का लिंक
https://github.com/CopilotKit/CopilotKit/blob/main/skills/copilotkit-channels/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस CopilotKit प्रोजेक्ट में Slack चैनल को ऐसे बदलिए कि एजेंट सिर्फ़ एक खास चैनल में जवाब दे।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
channels-setup
38kयह आपके एजेंट को CopilotKit के निर्देशित सेटअप की ओर भेजती है, ताकि पहला एजेंट Slack या Microsoft Teams में शुरू से अंत तक जवाब दे।
copilotkit-cli
38kयह आपके एजेंट को CopilotKit कमांड-लाइन टूल इस्तेमाल करने में मदद करती है, प्रोजेक्ट का सेटअप जाँचने, प्रोजेक्ट बनाने और होस्टेड सेटिंग सँभालने के लिए।
copilotkit
38kयह आपके एजेंट को CopilotKit का मौजूदा डॉक्यूमेंटेशन और सोर्स कोड लिखने से पहले खोजने में मदद करती है, बदलते API की याद पर भरोसा किए बिना।
setup-slack-channel
38kयह आपके एजेंट को लोकल चल रहे CopilotKit एजेंट को Slack से जोड़ने में मदद करती है, Slack ऐप, उसके टोकन और मैनेज्ड चैनल बनाकर।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।