AgentHubAgentHub

react-core

SkillSkillsMP

io.github.CopilotKit/CopilotKit/react-core · vmain

@copilotkit/react-core — mount CopilotKitProvider in a Next.js App Router / React Router v7 / TanStack Start / SPA app, drop in CopilotChat/CopilotPopup/CopilotSidebar (v2 chat components ship from react-core/v2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent / useAgentContext / useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool / useComponent / 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/ that matches your task.

概览

react-core 是一个Agent Skill,收录自 SkillsMP。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

Agent Skill 是带 SKILL.md 的指令包。安装后,AI 会根据 description 在匹配任务时自动加载,无需每次手动粘贴提示词。

安装

选择你的平台查看安装方式

# 通用 CLI(Cursor / Claude Code / Codex 等均支持)
npx skills add CopilotKit/CopilotKit@react-core

使用方式

安装完成后,在对话中直接描述你的任务(或提及技能名称)。Agent 会先读取 SKILL.md 的 description 判断是否启用,再按其中的步骤执行。可用 /skills(Claude Code)或在设置中查看已加载的 Skills。

相关资源

统一 Manifest

{
  "id": "io.github.CopilotKit/CopilotKit/react-core",
  "type": "skill",
  "version": "main",
  "displayName": "react-core",
  "description": "@copilotkit/react-core — mount CopilotKitProvider in a Next.js App Router / React Router v7 / TanStack Start / SPA app, drop in CopilotChat/CopilotPopup/CopilotSidebar (v2 chat components ship from react-core/v2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent / useAgentContext / useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool / useComponent / 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/ that matches your task.",
  "author": {
    "name": "CopilotKit",
    "url": "https://github.com/CopilotKit"
  },
  "repository": {
    "url": "https://github.com/CopilotKit/CopilotKit",
    "source": "github",
    "subfolder": "packages/react-core/skills/react-core"
  },
  "homepage": "https://skillsmp.com/skills/copilotkit-copilotkit-packages-react-core-skills-react-core-skill-md",
  "distribution": {
    "packages": [
      {
        "registryType": "source",
        "identifier": "CopilotKit/CopilotKit@react-core",
        "version": "main",
        "runtimeHint": "npx skills add"
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "codex",
    "vscode"
  ],
  "keywords": [
    "stars:34489"
  ],
  "provenance": {
    "origin": "skillsmp",
    "originalId": "copilotkit-copilotkit-packages-react-core-skills-react-core-skill-md",
    "originalUrl": "https://skillsmp.com/skills/copilotkit-copilotkit-packages-react-core-skills-react-core-skill-md",
    "isOfficial": false,
    "status": "active"
  }
}
react-core — Agent Skill 安装与配置 · AgentHub