Agent Creator 标志

Agent Creator

组织
Navinspire-ia
agent-creator

为 Navin 创建自定义子智能体(定义文件位于 .navin/agents 或 ~/.navin/agents),供模型通过 spawn(agent="<name>") 委派任务时调用。当用户要求创建、添加、编写或编辑子智能体、智能体、角色、专家、审查者或辅助智能体时使用(例如“为这个创建一个智能体”、“cree un agent”、“添加一个代码审查智能体”)。

Add to TypingMind

概览

发布者Navinspire-ia
代码仓库navin
技能名称agent-creator
星标数
37
复刻数
5
附带文件
仅含指令
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Navinspire-ia/navin.git /tmp/navin
mkdir -p .claude/skills
cp -r /tmp/navin/navin/skills/agent-creator .claude/skills/agent-creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Agent Creator

A subagent is a markdown file whose body becomes the system prompt of a delegated worker. Navin discovers these files on every turn, lists them in the system prompt under Project Subagents, and runs one when the model calls spawn(agent="<name>", task="..."). The definition's instructions are layered on top of Navin's standard subagent prompt, so the worker keeps every normal tool and skill.

When a subagent helps

Create one when at least one of these is true:

  • Isolated context: the job reads a lot (a whole module, logs, a long diff) and only the conclusion matters to the main chat.
  • Specialization: the job needs a fixed method, checklist or output format the main agent would otherwise improvise (security audit, release notes, video edit).
  • Reuse: the user will ask for the same kind of work again, in this project or in every project.
  • Parallelism: several independent chapters can run at once (one reviewer per package).

Do not create one for a one-off question, for a task that needs the live conversation, or when a skill is a better fit (skills add knowledge to the current agent; subagents run separately and report back).

Where to put it

ScopePathUse for
Project<workspace>/.navin/agents/<name>.mdAgents tied to this repo. Commit it so the team shares it.
Personal~/.navin/agents/<name>.mdThe user's own agents, visible from every project. Listed as "(personal)".

Navin also reads the same layout from other harness folders (.claude/agents, .cursor/agents, .opencode/agent, .agents/agents, .ai/agents, any other .<tool>/agents), recursively, in the project and in the home folder. Codex-style TOML (.codex/agents/<name>.toml with name, description, developer_instructions) is parsed too. Write new agents to .navin/agents unless the user asks for another tool's folder.

Precedence on a name clash: project beats personal, and within one scope .navin beats .agents, .claude, .cursor, .opencode, .codex, .omp, .ai, then other folders alphabetically. Names match case-insensitively. Files named README.md are ignored.

File format

md
---
name: code-reviewer
description: Reviews diffs and changed files for correctness bugs, security smells and missing tests. Use proactively after any non-trivial code change, or when the user asks for a review.
---
You are a senior code reviewer for this repository. ...

Fields Navin uses:

  • name (optional, defaults to the file name): lowercase letters, digits and hyphens, e.g. test-writer. Keep the file name equal to it.
  • description (strongly recommended): one or two sentences shown to the model in the subagent list. It is the only routing signal, so state what the agent does and when to use it, with the trigger words a user would actually say. Add "Use proactively ..." when the model should delegate without being asked (reviews after edits, tests after a feature).
  • Body (required): the system prompt. A file with an empty body is skipped.

Other harness fields (tools, model, color, ...) are ignored by Navin; leaving them in a file shared with another tool is harmless. To pick a model per run, the caller passes spawn(..., model_preset="<preset>"); to focus on paths, scope_paths="src/api, tests/api"; to work in a separate git checkout, isolate=true. Mention such hints in the description when they matter ("spawn with scope_paths for large audits").

Writing the system prompt

A good body is short, concrete and testable:

  1. Role and goal in one or two lines: who the agent is and what "done" means.
  2. Workflow: numbered steps in the order the agent should work (locate, read, verify, report). Name the Navin tools to prefer (grep, code_index, read_file, exec, montage, browser, ...).
  3. Output format: the exact shape of the final report (headings, a findings table, file:line references, a verdict line). The parent agent reads only this report.
  4. Constraints: what it must not do (no edits for a reviewer, no commits, no network, stay in scope), how to handle uncertainty (say "unverified" instead of guessing), and limits (max findings, time box).

Avoid restating generic advice ("be helpful", "write clean code"), long background essays, or instructions that duplicate the standard subagent prompt.

Inferring an agent from the conversation

When the user says "make an agent for this" or "turn this into an agent":

  1. Reread the recent turns: the task that was done, the steps that worked, the checks the user insisted on, the output format they liked, and any rules they gave ("never touch prod", "answer in French").
  2. Pick a precise name (deploy-verifier, not helper) and the scope: project if it depends on this repo's paths or stack, personal if it is about the user's way of working.
  3. Write the description with the triggers from the conversation, then a body that encodes those steps, checks and format.
  4. Show the file path and a short summary, then offer to test it. Ask only when the scope or purpose is genuinely ambiguous.

Examples

code-reviewer

md
---
name: code-reviewer
description: Reviews the current diff or given files for correctness bugs, regressions, security smells and missing tests. Use proactively after non-trivial edits and before commits.
---
You review code; you never edit it.

Workflow:
1. Get the change set (`git diff`, `git diff --staged`, or the paths in the task).
2. Read each changed hunk with enough surrounding code to judge it; follow callers with grep/code_index.
3. Check: logic errors, edge cases, error handling, concurrency, input validation, secrets, test coverage of the new behavior.
4. Run the related tests when they are fast.

Output:
- Verdict: approve | changes requested
- Findings table: severity (high/medium/low), file:line, problem, suggested fix
- Tests run and their result

Constraints: report only issues you verified in the code; cap at 10 findings, highest severity first.

debugger

md
---
name: debugger
description: Finds the root cause of an error, failing test or wrong behavior and proposes a minimal fix. Use when the user pastes a stack trace, a failing command, or says something is broken.
---
You are a root-cause debugger.

Workflow:
1. Reproduce: run the failing command or test and capture the exact error.
2. Trace the failure to its origin with read_file/grep; form one hypothesis at a time.
3. Prove the cause with evidence (a log line, a value, a minimal repro).
4. Apply the smallest fix, rerun the reproduction, then run the nearby tests.

Output: Symptom / Root cause (file:line) / Fix (diff summary) / Verification (commands and results) / Remaining risks.

Constraints: no speculative refactors; if you cannot reproduce, say so and list what you tried.

test-writer

md
---
name: test-writer
description: Writes or extends automated tests for a module, function or bug fix, matching the project's test framework and style. Use proactively after a feature or fix lands without tests.
---
You write tests that fail before the fix and pass after it.

Workflow:
1. Find the existing tests for the target and copy their framework, fixtures and naming.
2. List the behaviors to cover: happy path, edge cases, error paths, the reported bug.
3. Write focused tests; no network, no sleeps, deterministic data.
4. Run them and iterate until green; run the surrounding suite once.

Output: files changed, behaviors covered, test command and result.

Constraints: do not change production code unless a test reveals a real bug; report it instead when unsure.

security-auditor

md
---
name: security-auditor
description: Audits code for vulnerabilities (injection, XSS, authz/IDOR, SSRF, secrets, unsafe deserialization, weak crypto, risky dependencies). Use for security reviews, before releases, or when the user asks "is this safe". Spawn with scope_paths for large codebases.
---
You are an application security auditor. Read-only.

Workflow:
1. Map entry points (routes, CLI args, message handlers, file and network inputs).
2. Trace untrusted input to sinks (SQL, shell, templates, file paths, HTTP clients, eval).
3. Check authn/authz on each sensitive action, secret handling, and dependency manifests.
4. Confirm each finding with the exact code path; never run exploits against live systems.

Output: findings table with severity (CVSS-style label), CWE, file:line, exploit scenario, fix. End with the top 3 fixes in priority order.

Constraints: no edits, no network scans; mark anything not confirmed in code as "needs verification".

designer-video

md
---
name: designer-video
description: Produces short product and marketing videos with the montage pipeline (analyze, record demos, assemble, package platform formats). Use when the user asks for a demo video, teaser, reel or edit of existing footage.
---
You are a video editor working with the `montage` tool. Never publish anything.

Workflow:
1. `montage(action=doctor)`; if a dependency is missing, `montage(action=setup, package=...)`.
2. `montage(action=analyze)` to understand the product, then propose a short storyboard (shots, durations, captions, music mood).
3. Gather footage: `montage(action=screenshot)` / browser recordings registered with `montage(action=demo_register)`, or generated clips and stills.
4. Build and save a timeline (`timeline_save`), then `assemble` or `timeline_render` with voice over, music and subtitles.
5. `montage(action=package)` for the requested platforms (9:16, 1:1, 16:9) and `probe` each export.

Output: storyboard, export paths with resolution and duration, and what to tweak next.

Constraints: keep the user's brand colors and copy; stop and ask before any paid generation the user did not request.

Testing a new agent

  1. Confirm discovery: start a new turn and check that the agent appears under Project Subagents (personal ones are marked "(personal)").
  2. Ask for a delegation in plain words: "spawn the code-reviewer agent to review my last commit". The model should call spawn(agent="code-reviewer", task="...").
  3. Read the report: it should follow the output format from the body. Tighten the workflow or format where it drifted, then try once more.
  4. Check proactive routing: do the kind of work the description mentions and see whether the model delegates on its own.

Troubleshooting

  • Not listed: wrong folder (must be .navin/agents/ or another .<tool>/agents/, not .navin/agent-defs/), file extension not .md/.toml, empty body, file over 256 KB, or broken YAML frontmatter (the name then falls back to the file name and the description is empty).
  • Another definition runs: a same-named agent with higher precedence exists (project over personal, .navin over .claude, ...). Rename one or delete the duplicate.
  • Never chosen automatically: the description is vague. Add concrete triggers and "Use proactively when ...".
  • Ignores its instructions: the body is too long or generic. Cut it to role, workflow, output format and constraints.
  • Spawn warns the role was not found: the name in spawn(agent=...) does not match any definition; names are case-insensitive but must otherwise match exactly.

常见问题

Agent Creator AI 技能有什么作用?

为 Navin 创建自定义子智能体(定义文件位于 .navin/agents 或 ~/.navin/agents),供模型通过 spawn(agent="<name>") 委派任务时调用。当用户要求创建、添加、编写或编辑子智能体、智能体、角色、专家、审查者或辅助智能体时使用(例如“为这个创建一个智能体”、“cree un agent”、“添加一个代码审查智能体”)。

为什么在 TypingMind 中使用 Agent Creator?

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

如何在 TypingMind 中安装 Agent Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Navinspire-ia/navin/tree/main/navin/skills/agent-creator。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

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

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

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

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

Agent Creator AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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