Logo Agent Creator

Agent Creator

Tổ chức
Navinspire-ia
agent-creator

Create custom subagents for Navin (agent definition files under .navin/agents or ~/.navin/agents) that the model delegates to with spawn(agent="<name>"). Use when the user asks to make, add, write or edit a subagent, agent, persona, specialist, reviewer or helper agent ("make an agent for this", "cree un agent", "add a code-reviewer agent").

Tổng quan

Nhà phát hànhNavinspire-ia
Kho mãnavin
Tên kỹ năngagent-creator
Sao
37
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Navinspire-ia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Agent Creator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/agent-creator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Agent Creator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Agent Creator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Agent Creator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Agent Creator làm được gì?

Create custom subagents for Navin (agent definition files under .navin/agents or ~/.navin/agents) that the model delegates to with spawn(agent="<name>"). Use when the user asks to make, add, write or edit a subagent, agent, persona, specialist, reviewer or helper agent ("make an agent for this", "cree un agent", "add a code-reviewer agent").

Vì sao nên dùng Agent Creator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Agent Creator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Agent Creator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Navinspire-ia/navin/tree/main/navin/skills/agent-creator. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Agent Creator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Agent Creator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Agent Creator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Agent Creator có miễn phí không?

Có. Kỹ năng này được Navinspire-ia phát hành trên GitHub theo giấy phép AGPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇