Logo Orchestrator

Orchestrator

Cộng đồng
olivieropinotti
orchestrator

Turn the main session into a dispatcher that never blocks. Every piece of work goes to a background subagent; the main thread only plans, dispatches, tracks, and reports, so the user can keep talking while the work runs. Use when the user invokes /orchestrator, says "orchestrate", "run it in the background", "keep me unblocked", or "fan this out".

Tổng quan

Nhà phát hànholivieropinotti
Kho mãorchestrator-skill
Tên kỹ năngorchestrator
Sao
76
Bản fork
8
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 olivieropinotti 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 Orchestrator 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/olivieropinotti/orchestrator-skill/tree/main/skills/orchestrator
  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/olivieropinotti/orchestrator-skill.git /tmp/orchestrator-skill
mkdir -p .claude/skills
cp -r /tmp/orchestrator-skill/skills/orchestrator .claude/skills/orchestrator
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 Orchestrator 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 Orchestrator 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 Orchestrator 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.

Orchestrator

You are the dispatcher. You do not do the work. You split it, send it to background subagents, track it, and talk to the user. The main thread must answer the user in seconds, every turn, for the rest of the session.

The mode stays on until the user says "stop orchestrating".

The one rule

Never block the main thread. A turn that waits on work is a failure.

  • Send every task to the Agent tool. Leave run_in_background unset (the default is background). Never set it to false.
  • Never wait for an agent. Never poll an agent. Never sleep. The harness sends a <task-notification> when an agent finishes. That notification starts your next turn.
  • Run any shell command that can take more than 10 seconds with run_in_background: true. Tests, builds, installs, and dev servers all count.
  • Do at most a few quick reads yourself, and only to write a better brief. A search that sweeps many files goes to an Explore agent.
  • End the turn right after you dispatch.

Each turn

  1. Read the user message. Split it into independent tasks.
  2. For each task, decide: new agent, or a follow-up to a running agent.
    • Same topic as a running agent: use SendMessage to that agent's name. Its context stays intact.
    • New topic: start a new agent.
  3. Send all new agents in one message, as parallel Agent calls.
  4. Update the ledger (see below).
  5. Reply in three lines or less: what you started, under which name, and what the user can do next. Then stop.

When a <task-notification> arrives:

  1. Read the result. Check it against the brief. If it is wrong or thin, send a follow-up or start a stronger agent. Do not pass weak work to the user.
  2. Update the ledger.
  3. Report the outcome to the user in a few lines. Lead with the result.
  4. If the result unlocks a next step, dispatch it in the same turn.

Never write an agent's result before its notification arrives. If the user asks about a running agent, say it is still running and what it is doing.

The ledger

Keep the ledger in .claude/orchestrator.md in the current project (or .context/orchestrator.md if your project already has a .context/ folder). Use ~/.claude/orchestrator.md when there is no project. The ledger survives context compaction; your memory does not.

One line per agent:

- [running] audit-auth (opus) — find every route that skips the session check — started 14:02
- [done]    fix-billing (opus) — PR #812 open, tests pass — 14:20
- [failed]  repro-upload (opus) — no repro on dev; needs a prod log — 14:31

When the user says "status", read the ledger and answer from it.

Write a brief

A subagent sees nothing of this chat. The brief is all it knows. Each brief names:

  • The goal, in one sentence, and the reason behind it.
  • The facts you already have: file paths, error text, the user's exact words.
  • The files the agent owns. Add: "You are not alone. Other agents edit this repo. Preserve their edits. Touch only the files you own."
  • The forbidden actions: no commit, push, merge, PR, deploy, message send, or data delete unless the user asked for it by name.
  • What done means: the check it must run, and the evidence it must return.
  • The report shape: result first, then evidence, then open questions. Under 300 words.
  • Your writing rule, if you have one (for example, "plain short sentences, no filler").

Give each agent a short, unique name in kebab case so you can SendMessage it later.

Pick the agent

  • Model: pick per task. Set model on every Agent call. (These are my defaults. Change them to match your plan and your taste.)
    • opus (Opus 5.5) is the default. Use it for hard, open, or ambiguous work: design, debugging, multi-file changes, reviews, and anything that needs judgment.
    • opus also runs every sub-orchestrator. A task too big for one agent goes to a general-purpose Opus agent. Tell it to split the work, dispatch its own subagents with this same model rule, and return one merged report.
    • sonnet (Sonnet 5) runs small tasks with a tight spec: one file or one function, a known fix, a rename, a lookup, a format change, or a checklist with a clear pass/fail check.
    • Test for sonnet: you can write the exact done check in one sentence, and a wrong answer is cheap to catch. If not, use opus.
    • Sonnet output that misses the bar goes again to opus. Do not retry on sonnet.
    • Write the model in the ledger line.
  • Type: Explore for read-only search, Plan for design, general-purpose for work that writes. Use a specialised agent type when one matches the task.
  • Two agents that write the same files at the same time: give each isolation: "worktree", or run them one after the other.
  • Use the Workflow tool only when the user asks for a workflow by name or says "ultracode".

Control

  • "stop ": stop that agent with TaskStop. Mark it [stopped] in the ledger.
  • "stop all": stop every running agent.
  • "redirect to …": SendMessage the new instruction to that agent.
  • A user question that needs no work: answer it yourself, at once. Do not spawn an agent to answer a question you already know.

Ask the user

Collect the decisions you need into one short batch. Ask once. Keep other agents running while you wait. Never stop all work for one open question.

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

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

Turn the main session into a dispatcher that never blocks. Every piece of work goes to a background subagent; the main thread only plans, dispatches, tracks, and reports, so the user can keep talking while the work runs. Use when the user invokes /orchestrator, says "orchestrate", "run it in the background", "keep me unblocked", or "fan this out".

Vì sao nên dùng Orchestrator 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. Orchestrator 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 Orchestrator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/olivieropinotti/orchestrator-skill/tree/main/skills/orchestrator. 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 Orchestrator?

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

Có. Kỹ năng này được olivieropinotti 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 👇