[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBPNMM2QGV4Y5DXKT7RTR2":3,"skill-same:01M7FBPNMM2QGV4Y5DXKT7RTR2":141},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M7FBPNMM2QGV4Y5DXKT7RTR2","react-core",null,"@copilotkit\u002Freact-core — mount the CopilotKit provider (from @copilotkit\u002Freact-core\u002Fv2) in a Next.js App Router \u002F React Router v7 \u002F TanStack Start \u002F SPA app, drop in CopilotChat\u002FCopilotPopup\u002FCopilotSidebar (v2 chat components ship from react-core\u002Fv2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent \u002F useAgentContext \u002F useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool \u002F useComponent \u002F useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file attachments with useAttachments, configure suggestion pills, and register activity- and custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated alias). Load the reference under references\u002F that matches your task.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: react-core\ndescription: >\n  @copilotkit\u002Freact-core — mount the CopilotKit provider (from @copilotkit\u002Freact-core\u002Fv2)\n  in a Next.js App Router \u002F React Router v7 \u002F TanStack Start \u002F SPA app, drop in CopilotChat\u002FCopilotPopup\u002FCopilotSidebar (v2 chat\n  components ship from react-core\u002Fv2 — NOT react-ui, which is CSS-only in v2), access and\n  subscribe to agents with useAgent \u002F useAgentContext \u002F useCapabilities, switch between\n  multiple agents, manage durable Intelligence threads with useThreads, register\n  browser-side tools via useFrontendTool, render tool calls with useRenderTool \u002F\n  useComponent \u002F useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file\n  attachments with useAttachments, configure suggestion pills, and register activity- and\n  custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated\n  alias). Load the reference under references\u002F that matches your task.\ntype: framework\nlibrary: copilotkit\nlibrary_version: \"1.70.3\"\nrequires:\n  - copilotkit\u002Fruntime\nsources:\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fproviders\u002FCopilotKitProvider.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Findex.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002Findex.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChat.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChatView.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002FCopilotKitInspector.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent-context.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-capabilities.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-threads.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-frontend-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool-call.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-default-render-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-component.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-human-in-the-loop.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-attachments.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-configure-suggestions.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-suggestions.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-activity-message.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-custom-messages.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Flib\u002Fslots.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fcore.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fagent-registry.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Frun-handler.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Ftypes.ts\"\n---\n\n# CopilotKit React Core\n\n`@copilotkit\u002Freact-core` is the React frontend half of CopilotKit: it mounts a provider,\nspeaks AG-UI over SSE to a runtime (or directly to CopilotKit Intelligence in SPA mode), and\nexposes hooks for every interaction surface.\n\nThis SKILL.md is the **index**. Read the reference under `references\u002F` that matches\nyour task — do not try to absorb the whole package from this file.\n\n## Mental model — three shells you compose\n\n1. **Provider shell** — the `CopilotKit` provider (from `@copilotkit\u002Freact-core\u002Fv2`) at or near the root (inside `\"use client\"` for\n   Next.js App Router). Carries `runtimeUrl` (or `publicLicenseKey` for SPA), `headers`,\n   `credentials`, `properties`, `onError`, `debug`, `enableInspector`.\n2. **Chat shell** — `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar` or a composed\n   `CopilotChatView` + slot primitives (`CopilotChatInput`, `CopilotChatMessageView`, etc.).\n   All chat components ship from `@copilotkit\u002Freact-core\u002Fv2`. **`CopilotPanel` does not\n   exist** — it's a common hallucination.\n3. **Hook shell** — inside any component under the provider, call `useAgent`,\n   `useFrontendTool`, `useRenderTool`, etc. Every hook takes optional `{ agentId }` for\n   agent-scoped registration.\n\n## When to load which reference\n\n| Task                                                                                                      | Reference                                                                               |\n| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |\n| Mount the `CopilotKit` provider, pick `runtimeUrl` vs `publicLicenseKey`, RSC boundary rules              | `references\u002Fprovider-setup.md`                                                          |\n| Drop in `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar`, compose `CopilotChatView` with slot primitives | `references\u002Fchat-components.md`                                                         |\n| File \u002F image attachments via `useAttachments` — drag-drop, click, paste, custom upload                    | `references\u002Fattachments.md`                                                             |\n| Client-side debug tooling — `enableInspector`, `debug` prop, lazy-loaded web inspector                    | `references\u002Fdebug-mode.md`                                                              |\n| Read \u002F subscribe to an agent (`useAgent`) and push global context (`useAgentContext`)                     | `references\u002Fagent-access.md`                                                            |\n| Feature-gate UI on declared agent capabilities (`useCapabilities`)                                        | `references\u002Fcapabilities.md`                                                            |\n| Build a multi-agent UI (per-panel `useAgent`, agent-scoped tools, key-remount pattern)                    | `references\u002Fswitching-agents.md` (+ `switching-agents-recipes.md` for concrete layouts) |\n| List \u002F rename \u002F archive \u002F delete durable Intelligence threads (`useThreads`)                              | `references\u002Fthreads.md` (**requires runtime Intelligence mode**)                        |\n| Register browser-side tools (`useFrontendTool`)                                                           | `references\u002Fclient-side-tools.md`                                                       |\n| Render per-tool UI (`useRenderTool`, `useComponent`, `useDefaultRenderTool`, `useRenderToolCall`)         | `references\u002Frendering-tool-calls.md`                                                    |\n| Gate tool execution behind user approval (`useHumanInTheLoop`)                                            | `references\u002Fhuman-in-the-loop.md`                                                       |\n| Configure dynamic or static suggestion pills (`useConfigureSuggestions`, `useSuggestions`)                | `references\u002Fsuggestions.md`                                                             |\n| Render non-chat activity messages (`useRenderActivityMessage`)                                            | `references\u002Frendering-activity-messages.md`                                             |\n| Inject custom UI before\u002Fafter specific messages (`useRenderCustomMessages`)                               | `references\u002Fcustom-message-renderers.md`                                                |\n\n## Invariants and gotchas (load-once, before any reference)\n\n- `publicLicenseKey` is canonical. `publicApiKey` is a **deprecated alias** — expect it in legacy code.\n- `agents__unsafe_dev_only` and `selfManagedAgents` are dev-only aliases of each other. **Not production-safe.** See `packages\u002Fa2ui-renderer` or the `spa-without-runtime` lifecycle skill for the supported SPA path.\n- `CopilotPanel` does not exist. v2 chat components ship from `react-core\u002Fv2` — **not** `react-ui` (v2 `react-ui` is CSS-only).\n- No `useAgents()` hook exists. Discover agents via `copilotkit.subscribe({ onAgentsChanged })`.\n- `useRenderToolCall` is a **resolver** (for custom chat surfaces), **not** a registration hook. Register with `useRenderTool` \u002F `useComponent` \u002F `useDefaultRenderTool`.\n- UI-kit detection rule — any `render` or tool-call UI MUST reuse the consumer's shadcn \u002F MUI \u002F Chakra \u002F Ant \u002F Mantine primitives before writing raw JSX. This applies across `client-side-tools`, `rendering-tool-calls`, and `human-in-the-loop`.\n- Tool-call `status` values are camelCase: `'inProgress' | 'executing' | 'complete'`. In-progress args are `Partial\u003CT>`.\n- `useHumanInTheLoop` synthesized handler **MUST** call `respond(result)` (including reject paths), otherwise the agent run hangs. `respond` is `undefined` outside `Executing` status. Unmounting mid-Executing abandons the run.\n- `useThreads` errors with `'Runtime URL is not configured'` outside Intelligence mode.\n- `useAgent` returns `{ agent, isReady }`. While `isReady` is `false`, `agent` is a provisional stand-in that is **swapped** for the real instance when `\u002Finfo` resolves — `agent` changes reference and every effect depending on it re-runs. Never initialize app state (correlation maps, in-flight request records) inside an effect keyed on `agent`.\n- A React `key` discards **all** state below it. `key={activeAgent}` \u002F `key={threadId}` belongs on the smallest subtree that genuinely owns that state — on a layout-level provider it silently wipes unrelated app state, and with Intelligence wired the thread id changes asynchronously after mount, so it fires mid-interaction.\n- `v1 → v2` migration renames: `useCopilotAction` → `useFrontendTool` + `useHumanInTheLoop`; `imageUploadsEnabled` → `attachments`. See the `v1-to-v2-migration` lifecycle skill.\n\n## Reading order for a first-time reader\n\n1. `provider-setup` — mount the provider.\n2. `chat-components` — wire a chat surface.\n3. `agent-access` — talk to agents.\n4. `client-side-tools` + `rendering-tool-calls` — add tool-call UI.\n5. Anything else as your feature requires.\n","# CopilotKit React Core\n\n`@copilotkit\u002Freact-core` is the React frontend half of CopilotKit: it mounts a provider,\nspeaks AG-UI over SSE to a runtime (or directly to CopilotKit Intelligence in SPA mode), and\nexposes hooks for every interaction surface.\n\nThis SKILL.md is the **index**. Read the reference under `references\u002F` that matches\nyour task — do not try to absorb the whole package from this file.\n\n## Mental model — three shells you compose\n\n1. **Provider shell** — the `CopilotKit` provider (from `@copilotkit\u002Freact-core\u002Fv2`) at or near the root (inside `\"use client\"` for\n   Next.js App Router). Carries `runtimeUrl` (or `publicLicenseKey` for SPA), `headers`,\n   `credentials`, `properties`, `onError`, `debug`, `enableInspector`.\n2. **Chat shell** — `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar` or a composed\n   `CopilotChatView` + slot primitives (`CopilotChatInput`, `CopilotChatMessageView`, etc.).\n   All chat components ship from `@copilotkit\u002Freact-core\u002Fv2`. **`CopilotPanel` does not\n   exist** — it's a common hallucination.\n3. **Hook shell** — inside any component under the provider, call `useAgent`,\n   `useFrontendTool`, `useRenderTool`, etc. Every hook takes optional `{ agentId }` for\n   agent-scoped registration.\n\n## When to load which reference\n\n| Task                                                                                                      | Reference                                                                               |\n| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |\n| Mount the `CopilotKit` provider, pick `runtimeUrl` vs `publicLicenseKey`, RSC boundary rules              | `references\u002Fprovider-setup.md`                                                          |\n| Drop in `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar`, compose `CopilotChatView` with slot primitives | `references\u002Fchat-components.md`                                                         |\n| File \u002F image attachments via `useAttachments` — drag-drop, click, paste, custom upload                    | `references\u002Fattachments.md`                                                             |\n| Client-side debug tooling — `enableInspector`, `debug` prop, lazy-loaded web inspector                    | `references\u002Fdebug-mode.md`                                                              |\n| Read \u002F subscribe to an agent (`useAgent`) and push global context (`useAgentContext`)                     | `references\u002Fagent-access.md`                                                            |\n| Feature-gate UI on declared agent capabilities (`useCapabilities`)                                        | `references\u002Fcapabilities.md`                                                            |\n| Build a multi-agent UI (per-panel `useAgent`, agent-scoped tools, key-remount pattern)                    | `references\u002Fswitching-agents.md` (+ `switching-agents-recipes.md` for concrete layouts) |\n| List \u002F rename \u002F archive \u002F delete durable Intelligence threads (`useThreads`)                              | `references\u002Fthreads.md` (**requires runtime Intelligence mode**)                        |\n| Register browser-side tools (`useFrontendTool`)                                                           | `references\u002Fclient-side-tools.md`                                                       |\n| Render per-tool UI (`useRenderTool`, `useComponent`, `useDefaultRenderTool`, `useRenderToolCall`)         | `references\u002Frendering-tool-calls.md`                                                    |\n| Gate tool execution behind user approval (`useHumanInTheLoop`)                                            | `references\u002Fhuman-in-the-loop.md`                                                       |\n| Configure dynamic or static suggestion pills (`useConfigureSuggestions`, `useSuggestions`)                | `references\u002Fsuggestions.md`                                                             |\n| Render non-chat activity messages (`useRenderActivityMessage`)                                            | `references\u002Frendering-activity-messages.md`                                             |\n| Inject custom UI before\u002Fafter specific messages (`useRenderCustomMessages`)                               | `references\u002Fcustom-message-renderers.md`                                                |\n\n## Invariants and gotchas (load-once, before any reference)\n\n- `publicLicenseKey` is canonical. `publicApiKey` is a **deprecated alias** — expect it in legacy code.\n- `agents__unsafe_dev_only` and `selfManagedAgents` are dev-only aliases of each other. **Not production-safe.** See `packages\u002Fa2ui-renderer` or the `spa-without-runtime` lifecycle skill for the supported SPA path.\n- `CopilotPanel` does not exist. v2 chat components ship from `react-core\u002Fv2` — **not** `react-ui` (v2 `react-ui` is CSS-only).\n- No `useAgents()` hook exists. Discover agents via `copilotkit.subscribe({ onAgentsChanged })`.\n- `useRenderToolCall` is a **resolver** (for custom chat surfaces), **not** a registration hook. Register with `useRenderTool` \u002F `useComponent` \u002F `useDefaultRenderTool`.\n- UI-kit detection rule — any `render` or tool-call UI MUST reuse the consumer's shadcn \u002F MUI \u002F Chakra \u002F Ant \u002F Mantine primitives before writing raw JSX. This applies across `client-side-tools`, `rendering-tool-calls`, and `human-in-the-loop`.\n- Tool-call `status` values are camelCase: `'inProgress' | 'executing' | 'complete'`. In-progress args are `Partial\u003CT>`.\n- `useHumanInTheLoop` synthesized handler **MUST** call `respond(result)` (including reject paths), otherwise the agent run hangs. `respond` is `undefined` outside `Executing` status. Unmounting mid-Executing abandons the run.\n- `useThreads` errors with `'Runtime URL is not configured'` outside Intelligence mode.\n- `useAgent` returns `{ agent, isReady }`. While `isReady` is `false`, `agent` is a provisional stand-in that is **swapped** for the real instance when `\u002Finfo` resolves — `agent` changes reference and every effect depending on it re-runs. Never initialize app state (correlation maps, in-flight request records) inside an effect keyed on `agent`.\n- A React `key` discards **all** state below it. `key={activeAgent}` \u002F `key={threadId}` belongs on the smallest subtree that genuinely owns that state — on a layout-level provider it silently wipes unrelated app state, and with Intelligence wired the thread id changes asynchronously after mount, so it fires mid-interaction.\n- `v1 → v2` migration renames: `useCopilotAction` → `useFrontendTool` + `useHumanInTheLoop`; `imageUploadsEnabled` → `attachments`. See the `v1-to-v2-migration` lifecycle skill.\n\n## Reading order for a first-time reader\n\n1. `provider-setup` — mount the provider.\n2. `chat-components` — wire a chat surface.\n3. `agent-access` — talk to agents.\n4. `client-side-tools` + `rendering-tool-calls` — add tool-call UI.\n5. Anything else as your feature requires.\n",{"name":5,"type":24,"library":25,"sources":26,"requires":53,"description":55,"library_version":56},"framework","copilotkit",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fproviders\u002FCopilotKitProvider.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Findex.ts","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002Findex.ts","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChat.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChatView.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002FCopilotKitInspector.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent-context.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-capabilities.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-threads.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-frontend-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool-call.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-default-render-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-component.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-human-in-the-loop.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-attachments.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-configure-suggestions.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-suggestions.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-activity-message.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-custom-messages.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Flib\u002Fslots.tsx","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fcore.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fagent-registry.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Frun-handler.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Ftypes.ts",[54],"copilotkit\u002Fruntime","@copilotkit\u002Freact-core — mount the CopilotKit provider (from @copilotkit\u002Freact-core\u002Fv2) in a Next.js App Router \u002F React Router v7 \u002F TanStack Start \u002F SPA app, drop in CopilotChat\u002FCopilotPopup\u002FCopilotSidebar (v2 chat components ship from react-core\u002Fv2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent \u002F useAgentContext \u002F useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool \u002F useComponent \u002F useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file attachments with useAttachments, configure suggestion pills, and register activity- and custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated alias). Load the reference under references\u002F that matches your task.\n","1.70.3","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Freact-core",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill react-core",{"tool":71,"command":72},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill react-core",{"tool":74,"command":75},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill react-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002FSKILL.md",true,[79,85,89,93,97,101,105,109,113,117,121,125,129,133,137],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fagent-access.md","REFERENCE","参考文档",9349,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fagent-access.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fattachments.md",7870,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fattachments.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fcapabilities.md",3381,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fcapabilities.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fchat-components.md",5363,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fchat-components.md",{"path":98,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fclient-side-tools.md",8366,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fclient-side-tools.md",{"path":102,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fcustom-message-renderers.md",6479,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fcustom-message-renderers.md",{"path":106,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fdebug-mode.md",3552,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fdebug-mode.md",{"path":110,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fhuman-in-the-loop.md",8043,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fhuman-in-the-loop.md",{"path":114,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fprovider-setup.md",10668,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fprovider-setup.md",{"path":118,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":119,"sourceHtmlUrl":120},"references\u002Frendering-activity-messages.md",5537,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Frendering-activity-messages.md",{"path":122,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002Frendering-tool-calls.md",8704,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Frendering-tool-calls.md",{"path":126,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":127,"sourceHtmlUrl":128},"references\u002Fsuggestions.md",5064,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fsuggestions.md",{"path":130,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":131,"sourceHtmlUrl":132},"references\u002Fswitching-agents-recipes.md",4825,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fswitching-agents-recipes.md",{"path":134,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":135,"sourceHtmlUrl":136},"references\u002Fswitching-agents.md",6164,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fswitching-agents.md",{"path":138,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":139,"sourceHtmlUrl":140},"references\u002Fthreads.md",7847,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-core\u002Freferences\u002Fthreads.md",[142,149,154,161,168,175],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":150,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]