创建第一个技能

只需要 5 分钟,你就能创建并运行第一个 CeeCore Agent 技能。

前置条件

  • CeeCore 设备已激活并联网
  • 已安装 CeeCore CLI 工具(可选,也可通过 App 操作)
  • 了解基本的 Markdown 语法

步骤 1:创建技能目录

mkdir my-first-skill
cd my-first-skill

步骤 2:编写 manifest.json

{
  "id": "my-first-skill",
  "name": "我的第一个技能",
  "version": "1.0.0",
  "author": {
    "name": "你的名字"
  },
  "description": "一个简单的问候技能",
  "category": "conversation",
  "price": "free",
  "createdAt": "2026-08-27T00:00:00Z",
  "updatedAt": "2026-08-27T00:00:00Z"
}

步骤 3:编写 System Prompt

prompt.md 中定义 Agent 的行为:

你是一个友好的问候助手。当用户打招呼时,用热情的语气回应,
并询问今天有什么可以帮忙的。

步骤 4:上传到设备

通过 CeeCore App 或 CLI 将技能包上传到设备:

ceecore skill install ./my-first-skill

步骤 5:测试

在 App 中激活该技能,然后与 Agent 对话测试。

下一步