SKILL.md
Route to the appropriate sub-skill based on the user's task. If the task is ambiguous, ask one clarifying question before routing.
Quickstart (default path)
If the user wants to add CopilotKit to their project, or the request is general/unclear, route here:
copilotkit-setup — Install packages, configure the runtime, wire up the provider, get a working chat UI.
Routing Table
Task
Sub-skill
Initial setup, installation, adding CopilotKit to a project
Building features — frontend tools, shared state, generative UI, actions
Connecting agent frameworks — LangGraph, CrewAI, Mastra, Pydantic AI, etc.
Debugging errors, fixing runtime issues, troubleshooting
Upgrading versions, migrating between APIs
AG-UI protocol — building custom backends, event streaming, debugging protocol issues
Contributing to the CopilotKit repo
Update/refresh these skills, skills seem stale or wrong
MCP Documentation Server
The copilotkit-docs MCP server at mcp.copilotkit.ai/mcp provides live documentation search. Use its tools for up-to-date reference material:
search-docs— search CopilotKit documentation by topic
search-code— search CopilotKit source code and examples
search-ag-ui-docs— search AG-UI protocol documentation
search-ag-ui-code— search AG-UI TypeScript SDK source
Prefer MCP lookups over hardcoded knowledge when answering specific API or configuration questions.