Logo Agent Builder Skill

Agent Builder Skill

Cộng đồng
zeenie-ai
agent-builder-skill

How to use the Agent Builder tool's five canvas-mutation operations to inspect and grow your own toolset / skills / teammates / workflows mid-execution

Tổng quan

Nhà phát hànhzeenie-ai
Kho mãOpenCompany
Tên kỹ năngagent-builder-skill
Sao
912
Bản fork
137
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 zeenie-ai 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 Builder Skill 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/zeenie-ai/OpenCompany/tree/main/server/skills/assistant/agent-builder-skill
  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/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/assistant/agent-builder-skill .claude/skills/agent-builder-skill
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 Builder Skill 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 Builder Skill 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 Builder Skill 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 Builder

You are connected to an Agent Builder node. It exposes ONE LLM-callable tool, agentBuilder, which dispatches to FIVE canvas-mutation operations via the operation field:

operation valuePurpose
inspect_canvasRead-only view of the canvas PLUS the full catalogue of every tool, agent, and skill you can spawn. ALWAYS call this first.
add_toolSpawn a tool node + wire it to your input-tools handle. Idempotent — already-wired tools return success with no change.
add_skillToggle a skill on your Master Skill (auto-creates one if missing). Idempotent — already-enabled skills return success with no change.
add_subagentTeam-leads only — spawn a delegate agent + wire to your input-teammates. Idempotent — already-wired teammates return success with no change.
create_workflowTemporarily disabled. Mutate the current workflow instead.

Every call is agentBuilder({operation: "<one-of-above>", ...op-specific-fields}). There are no separate tools.

The cardinal rule

Call agentBuilder({operation: "inspect_canvas"}) BEFORE any mutation. The response carries the full registry of spawnable types (plus the live canvas) so you can pick the right one in a single follow-up call instead of guessing. Skipping inspect_canvas means you're flying blind on what's available.

Hot rebind (default: ON)

By default, tools / skills / teammates you spawn become callable in the same run, on your very next response. The mutation summary ends with "Available immediately — call it in your next response." Take this literally: you may invoke the new tool right away. No need to tell the user "send another message".

If the user has disabled the "Auto-Rebind Tools After Canvas Changes" toggle in Settings, mutation summaries end with "Available on your next turn." In that case the new wiring is staged but not callable this run — tell the user and stop calling that tool.

The summary text is your signal. Read it.

Operation reference

operation: "inspect_canvas"

No additional fields. Returns:

json
{
  "operation": "inspect_canvas",
  "summary": "<live counts: nodes, tools wired, available types>",
  "nodes": [{ "id", "type", "label", "key_params" }, ...],
  "edges": [{ "source", "target", "source_handle", "target_handle" }, ...],
  "you": {
    "node_id": "agent-1",
    "incoming": [...], "outgoing": [...]
  },
  "available_tools": [{ "type", "display_name", "description" }, ...],
  "available_agents": [{ "type", "display_name", "description" }, ...],
  "available_skills": [{ "folder", "name", "description" }, ...]
}
  • available_tools — every value add_tool({node_type: ...}) will accept, with descriptions.
  • available_agents — every value add_subagent({agent_type: ...}) will accept (team-leads only).
  • available_skills — every value add_skill({skill_folder: ...}) will accept.
  • you.incoming — connections wired TO your handles. Use this to see what tools / skills / teammates you already have.

API keys, prompts, and other secrets are stripped from key_params. Only safe planner-relevant fields surface (provider, model, operation, url, query).

operation: "add_tool"

Required field: node_type (string).

Spawns a tool node and wires it to your input-tools handle. Pick node_type from inspect_canvas.available_tools.

Idempotency: if a tool of this exact type is already wired to you, add_tool returns success with operations: [] and a summary like "Tool 'httpRequest' is already wired (node id=…). Reusing existing instance." Don't loop trying again — the tool is callable.

If the tool has a paired teaching skill, the auto-add-skill handler enables it too — no separate add_skill call needed.

operation: "add_skill"

Required field: skill_folder (string).

Enables a skill on your Master Skill. Pick skill_folder from inspect_canvas.available_skills. If no Master Skill is wired to your input-skill yet, one is created and wired automatically.

Idempotency: if the skill is already enabled=True in your Master Skill's config, add_skill returns success with operations: [] and "Skill 'X' is already enabled on your Master Skill. No change needed."

operation: "add_subagent"

Required field: agent_type (string).

Team-leads only (orchestrator_agent, ai_employee). Pick agent_type from inspect_canvas.available_agents. Spawns a specialized agent (coding_agent, web_agent, task_agent, etc.) and wires it to your input-teammates handle. The new agent appears in the Task Manager connected-teammate list on your next turn. Assign work with task_manager(operation="assign_task", assignee_node_id=...); do not call a delegate_to_* tool directly.

Idempotency: if a teammate of this exact type is already wired to you, add_subagent returns "Teammate 'X' is already wired (node id=…). Reusing existing instance."

The new agent starts with empty configuration — the user will need to set its provider/model after the run. Mention this in your response.

operation: "create_workflow" — temporarily disabled

This operation is currently disabled. Calling it returns a polite "temporarily disabled" summary; no workflow is created. Mutate the current workflow instead via add_tool / add_skill / add_subagent.

Worked examples

Adding a new tool and using it immediately

User: "Search the web for current weather in Tokyo and tell me."

1. agentBuilder({operation: "inspect_canvas"})
   → summary: "1 nodes, no tool(s) wired to you, 4 tool / 18 agent / 62 skill types available to spawn."
   → available_tools: [..., {type: "duckduckgoSearch", display_name: "DuckDuckGo Search", description: "..."}, ...]
   You see no web-search tool wired and one in the catalogue.

2. agentBuilder({operation: "add_tool", node_type: "duckduckgoSearch"})
   → "Added 'duckduckgoSearch' as a tool. Available immediately — call it in your next response."

3. duckduckgoSearch({query: "Tokyo weather today"})
   → search results

4. Tell the user the weather.

Handling an already-wired tool

User: "Add the calculator tool and compute 17 + 25."

1. agentBuilder({operation: "inspect_canvas"})
   → you.incoming includes a tool wired with source_type "calculatorTool".

2. agentBuilder({operation: "add_tool", node_type: "calculatorTool"})
   → "Tool 'calculatorTool' is already wired to you (node id=calc-1). Reusing existing instance."
   → operations: []

3. calculator({a: 17, b: 25, op: "add"})  ← already callable; no rebind needed
   → 42

4. Tell the user the answer.

You did NOT need to retry add_tool or wait for "next turn" — the existing instance is callable right now.

What NOT to do

  • Don't skip inspect_canvas. It's read-only, cheap, and gives you the full catalogue + canvas state in one call.
  • Don't guess node_type / agent_type / skill_folder values. Pick from the catalogues returned by inspect_canvas.
  • Don't retry add_tool / add_skill / add_subagent on success with operations: []. That's an idempotent success, not a failure. The existing instance is callable.
  • Don't add agentBuilder to yourself via add_tool (rejected — avoids recursion).
  • Don't spawn another team-lead as a subagent (rejected — team-leads delegate to specialists, not to other team-leads).
  • Don't call create_workflow — it's temporarily disabled and will return a no-op summary. Mutate the current workflow instead.
  • Don't ignore the "Available on your next turn" wording. If you see it (toggle is OFF), the tool is staged but NOT callable this run. Tell the user and stop.

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

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

How to use the Agent Builder tool's five canvas-mutation operations to inspect and grow your own toolset / skills / teammates / workflows mid-execution

Vì sao nên dùng Agent Builder Skill 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 Builder Skill 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 Builder Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/assistant/agent-builder-skill. 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 Builder Skill?

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 Builder Skill 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 Builder Skill 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 Builder Skill có miễn phí không?

Có. Kỹ năng này được zeenie-ai phát hành trên GitHub theo giấy phép MIT. 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 👇