copilotkit
Skill0 starsChanged 2 months agoMITView on GitHub
Use for any CopilotKit question — adding it to an app, chat UI, frontend or server tools, generative UI, shared state, human-in-the-loop, agent frameworks (LangGraph, CrewAI, Mastra, ADK, PydanticAI, and others), the runtime, Intelligence, threads, voice, or diagnosing something that is not working. Do not answer from memory: this skill exists to point you at the current documentation and source, both of which are searchable.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- CopilotKit/CopilotKitedited, first seen Oct 8, 2026
- nihalnihalani/copilotkit-skilltheir own version, first seen Feb 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- CopilotKit/CopilotKit★ 39k45% same
Wrote their own version · 1
- nihalnihalani/copilotkit-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- angular-developerSkill
- channels-setupSkill
- copilotkit-channelsSkill
- copilotkit-cliSkill
- csharp-asyncSkill
- csharp-docsSkill
- csharp-xunitSkill
- ef-coreSkill
- github-actions-efficiencySkill
- github-actions-hardeningSkill
- github-actions-runtime-upgrade-conventionsSkill
- inspector-docsSkill
- inspector-workbenchSkill
- intelligence-docsSkill
- microsoft-agent-frameworkSkill
- microsoft-docsSkill
- ngrx-signal-storeSkill
- prdSkill
- setup-slack-channelSkill
- technical-writingSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Look it up before you write code: Not because the docs are more convenient, but because they are regenerated from the source and a …
- Distinctive: line 41
Check first — if the search tools above are already available, skip this.
- Very specific: line 88
Run the CLI's wiring check first — npx copilotkit@latest verify --json.
- Distinctive: line 97
Check which subpath a project imports before trusting anything else about it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CopilotKit
CopilotKit's APIs move. Anything written down in a skill file is a copy that starts drifting the day it is written, so this skill carries almost no API detail on purpose. It tells you where the current answer lives and how to get it.
Look it up before you write code. Not because the docs are more convenient, but because they are regenerated from the source and a recollection is not.
The search tools
An MCP server, copilotkit-docs, is bundled with this plugin. It exposes four search tools
and two exploration tools over four separate corpora. Picking the wrong one is the most
common way to come up empty:
| Tool | Corpus | Use it for |
search-docs | docs.copilotkit.ai | Usage, configuration, guides, quickstarts, the generated API reference |
search-code | CopilotKit library source | How something is implemented, and exact signatures. Library packages only — not examples or showcases |
search-ag-ui-docs | AG-UI protocol docs | The protocol itself: event types, transports, the SDKs |
search-ag-ui-code | AG-UI protocol SDK source | Protocol implementation detail |
explore-docs / explore-code | either tree | Browsing structure when you do not yet know what to search for |
CopilotKit questions go to the first two. AG-UI protocol questions go to the second two —
they are a different repository, and search-docs will not find them.
These are semantic searches. Several short, differently-phrased queries beat one long one. If a query returns something off-target, rephrase rather than widen — and if you get a plausible-looking page that does not actually contain the term you need, say so instead of reasoning from the title.
Setup
The server is registered once per tool, and installing the skills does not register it. Check first — if the search tools above are already available, skip this.
Claude Code — the CopilotKit plugin declares the server in its .mcp.json, so a
plugin install needs nothing. A skills-only install (npx skills add) does not carry
that file, so register it:
claude mcp add --transport sse copilotkit-mcp https://mcp.copilotkit.ai/sseCodex:
codex mcp add copilotkit --url https://mcp.copilotkit.ai/mcpAnything else — https://mcp.copilotkit.ai/mcp for streamable HTTP,
https://mcp.copilotkit.ai/sse for SSE. Keep the path: the bare host returns 404.
Per-tool instructions cover Cursor, Windsurf, Cline, GitHub
Copilot and VS Code.
Without the server, the documentation works as a plain
site, and appending .md to any docs URL returns that page as Markdown.
Where the answers are
Worth knowing so a search has somewhere to land:
- Getting started — quickstart, and the CLI for the CLI-driven path
- Frontend — frontend tools, human-in-the-loop, prebuilt components, styling, attachments, voice
- Runtime — the runtime, HTTP endpoints, runners, factory mode, server adapters, auth
- Agent frameworks — one quickstart per framework under
/integrations/ - Intelligence — overview and the pages under it
- Not working — common issues,
error reference, and the generated
CopilotKitCoreErrorCodefor a code the app actually reported - Protocol — AG-UI, and the AG-UI docs for the protocol itself
Before you debug anything
Run the CLI's wiring check first — npx copilotkit@latest verify --json. It settles up to
eleven things in one command and is almost always faster than reading the project. See the
copilotkit-cli skill.
Two versions exist
v2 is current. Import from the /v2 subpath — @copilotkit/react-core/v2,
@copilotkit/runtime/v2. The package root is the deprecated v1 surface and still resolves,
so mixing the two raises nothing at import time and surfaces later as a runtime mismatch.
Check which subpath a project imports before trusting anything else about it. v1 is
deprecated but supported; the migration guide covers moving off it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

