What problem does it solve? Upgrading a CopilotKit v1 application to v2 involves a ground-up rewrite: the GraphQL protocol is replaced by AG-UI, hooks and components are renamed or removed, and the runtime switches from service adapters to agent instances. This Skill guides that migration systematically so no deprecated API is missed. ## Core Features & Use Cases - Deprecation Mapping: Complete v1-to-v2 tables for hooks (useCopilotAction to useFrontendTool, useCoAgent to useAgent), components (CopilotKit to CopilotKitProvider), and runtime classes. - Runtime Migration: Converts service-adapter-based CopilotRuntime setups to the v2 agent-based pattern with createCopilotEndpoint and BuiltInAgent. - Breaking Change Reference: Detailed before/after code examples covering Zod parameter schemas, AG-UI event types, and removed packages like @copilotkit/react-textarea. - Use Case: A team with a Next.js app using useCopilotAction and CopilotChat on v1 can follow the workflow to audit imports, replace deprecated hooks, update the runtime endpoint, and verify the migration. ## Quick Start Migrate my CopilotKit v1 codebase to v2 by scanning for deprecated hooks and updating the runtime configuration.