Create Agent 标志

Create Agent

组织
Asymmetric-al
create-agent

Guides a one-question-at-a-time design interview, captures alignment in agent/EVE-BRIEF.md, then scaffolds and implements a runnable eve agent with verbose teaching comments. Use when the user wants to create a new eve agent, build an agent from scratch, or invokes /create-agent.

Add to TypingMind

概览

发布者Asymmetric-al
代码仓库core
技能名称create-agent
星标数
383
复刻数
7
附带文件
2
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Asymmetric-al 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Create Agent AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Asymmetric-al/core/tree/develop/docs/ai/skills/create-agent
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Asymmetric-al/core.git /tmp/core
mkdir -p .claude/skills
cp -r /tmp/core/docs/ai/skills/create-agent .claude/skills/create-agent
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Create Agent,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Create Agent。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Create Agent 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

create-agent

Turn a rough agent idea into a runnable eve agent through structured Q&A, a written brief, then scaffold + implementation.

Phases

Task Progress:
- [ ] Phase 1 — Design interview (one question at a time)
- [ ] Phase 2 — Write agent/EVE-BRIEF.md and get confirmation
- [ ] Phase 3 — Scaffold eve, implement, verify

Do not skip Phase 1 or Phase 2. Do not scaffold or write agent code until the user confirms the brief.


Phase 1 — Design interview

Interview the user until you have a shared, implementable picture of the agent.

Rules

  1. One question at a time. Wait for the user's answer before the next question.
  2. Include a recommended answer with every question — state your pick and why in one or two sentences.
  3. Explore instead of asking when the answer is in the repo, docs, or env (existing agents, package.json, API keys, monorepo layout).
  4. Follow the decision tree. Resolve blockers before dependent questions (purpose → surfaces → tools → scope → runtime).
  5. Use concrete scenarios. When behavior is fuzzy, invent a user message and ask what the agent should do step by step.
  6. Tighten vague language. Replace overloaded words ("handle", "manage", "process") with specific capabilities or tool names.
  7. Surface contradictions. If a new answer conflicts with an earlier one, call it out before moving on.

What to cover (in rough order)

AreaGoal
PurposeOne sentence: what job does this agent do?
Users & entryWho talks to it, and through what channel(s)?
Core loopTypical turn: user says X → agent does Y → user sees Z
Eve surfacesWhich slots matter? (tools, skills, channels, connections, subagents, schedules, hooks, sandbox, evals)
Tools & dataNamed capabilities, inputs/outputs, real APIs vs connections
ScopeWhat is deliberately out of scope for v1?
ModelPreferred model string (default: openai/gpt-4.1-mini via AI Gateway)
SecretsEnv vars needed for real integrations (always include AI_GATEWAY_API_KEY)
LocationProject directory name and whether it lives inside an existing monorepo

Stop interviewing when you can fill every section of EVE-BRIEF template without guessing.

End Phase 1

Summarize decisions in a short bullet list. Ask: "Does this match what you want? Ready for me to write EVE-BRIEF.md?"


Phase 2 — EVE-BRIEF.md

Write agent/EVE-BRIEF.md using the template in reference.md.

  • If eve is not scaffolded yet, write the brief to a temp path or describe that it will land at agent/EVE-BRIEF.md after init — then place it there immediately after scaffold.
  • After writing, show the brief and ask for explicit confirmation before Phase 3.
  • Record any mock/stub fallback and the reason in the brief's data-source column.
  • Fill the Teaching comments section (which surfaces get annotated, primary "start here" files for the README table).

Phase 3 — Scaffold, implement, verify

0. Read eve docs (required before any implementation)

After eve is installed, must read bundled docs at node_modules/eve/docs/ before writing agent code:

  1. Introduction and Getting Started
  2. Every surface page listed in the brief (tools, channels, connections, etc.)
  3. Any API or pattern referenced by sibling agents in the repo

Never rely on hardcoded snippets from this skill or training memory. API shapes, imports, and conventions change — local docs are the source of truth. See reference.md.

1. Detect project layout

Before scaffolding, inspect the repo:

SituationAction
No agent/ directory anywherenpx eve@latest init <dir> (standalone) or npx eve@latest init . (add to existing app)
One existing eve agentMirror its project structure (package.json scripts, tsconfig, env pattern)
Multiple eve agents (monorepo)Inventory siblings; mirror naming, workspace deps, and folder conventions from the nearest agent

Do not assume a specific monorepo shape. Discover conventions from the codebase. See reference.md.

2. Install / scaffold

No eve project yet:

bash
npx eve@latest init <agent-dir>

init installs deps and may start the dev server — run in a controllable process and stop the server before editing files.

Existing project, no agent/ directory:

bash
cd <project-root>
npx eve@latest init .

eve already present: skip init; ensure agent/agent.ts and agent/instructions.md exist.

Optional: --channel-web-nextjs only when the user asked for Web Chat and they are using Next.js.

3. Place EVE-BRIEF.md

Write or move agent/EVE-BRIEF.md into the scaffolded agent/ directory.

4. Implement from the brief

Minimum bar for every agent:

  • agent/agent.ts — model config per brief (follow docs for current defineAgent API)
  • agent/instructions.md — identity, when to use tools, tone, guardrails from the brief
  • At least one real capability — tools, connections, or other surfaces from the brief
  • Channel config if the brief requires it
  • .env.example with AI_GATEWAY_API_KEY= and every env var for real integrations
  • README with clone-and-run steps

Implement only surfaces listed in the brief. For each surface, read the matching page in node_modules/eve/docs/ and follow patterns from the nearest existing agent in the repo when one exists.

Teaching comments (required):

Every file you create or substantially edit during scaffold + implementation must include verbose, educational comments that teach the user how eve works — not just what the line does. Treat the generated agent as a guided tutorial the user will read while running it.

See reference.md — Teaching comments for the full checklist. At minimum:

  • File header on every agent/**/*.ts file: which eve surface this file belongs to, how eve discovers/loads it, and what role it plays in a turn.
  • Section blocks before each logical unit (imports, schema, handler, export): explain the eve concept (e.g. tool identity from path, defineAgent slots, channel request lifecycle).
  • Inline comments on eve-specific APIs, config keys, and conventions the user would not know from TypeScript alone — link to the matching doc page under node_modules/eve/docs/ when helpful.
  • instructions.md: short callouts above each major section explaining how system instructions shape model behavior in eve.
  • README: a "How this agent is structured" section that maps files → eve surfaces and points to the most-commented files to read first.

Do not strip comments eve init generated if they teach a concept. Prefer adding over removing. Skip comments only on truly obvious TypeScript (e.g. import of a local type). Never use placeholder comments like // TODO: explain — write the explanation.

Conventions:

  • Always eve, never Eve
  • Tool identity is path-derived: agent/tools/foo.ts → foo
  • Prefer real connections (agent/connections/) and real data/APIs when feasible
  • Use mock/stub only when the user explicitly chooses it, credentials are not available yet, or a real integration would block v1 — document the choice and reason in EVE-BRIEF.md
  • Do not commit .env or secrets

5. Monorepo housekeeping (only when applicable)

If the repo already hosts multiple eve agents under a shared parent directory:

  1. Update any existing agent index or catalog the repo maintains — for ship-eve, add a row to both agents/README.md and the root README.md with Eve surfaces and Eve capabilities demonstrated (use labels from the capabilities key in agents/README.md)
  2. Register the new package in the workspace manifest (pnpm-workspace.yaml, package.json workspaces, etc.)
  3. Match package naming and shared config from sibling agents

Skip this step for standalone projects.

6. Verify

bash
pnpm install   # or npm install
pnpm typecheck # if available
pnpm build     # eve build

Tell the user how to run pnpm dev, what to ask in the TUI, and how to exercise the agent over HTTP per the eve docs. Point them to the most-commented files as the learning path. Do not commit unless asked.


Examples

User: "I want an agent that summarizes my GitHub PRs"

→ Phase 1 asks: which repo/PR scope? channel? recommended: GitHub connection or API-backed get_pr tool with real token, HTTP channel for v1. Mock only if the user has no credentials yet — note that in the brief.

User: "/create-agent" in a repo that already has eve agents

→ Inventory sibling agents, mirror their layout, interview, brief, scaffold alongside them, update any repo index.


Additional resources

  • reference.md — EVE-BRIEF template, repo layouts, docs discovery, question bank

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Create Agent AI 技能有什么作用?

Guides a one-question-at-a-time design interview, captures alignment in agent/EVE-BRIEF.md, then scaffolds and implements a runnable eve agent with verbose teaching comments. Use when the user wants to create a new eve agent, build an agent from scratch, or invokes /create-agent.

为什么在 TypingMind 中使用 Create Agent?

因为您只需安装一次,就能搭配任何模型使用。Create Agent 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Create Agent?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Asymmetric-al/core/tree/develop/docs/ai/skills/create-agent。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Create Agent?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Create Agent 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Create Agent 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Create Agent AI 技能免费吗?

是的。Asymmetric-al 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇