Logo Orca Fleet

Orca Fleet

Cộng đồng
larcane97
orca-fleet

Run several coding agents in parallel in Orca worktrees, each under its own clausona profile (another Claude Code or Codex account, or an API model such as GLM or DeepSeek), then watch them, check their work and retire them. Use when the user works in Orca and wants work spread across accounts or models, when one account's limits would slow a fan-out, or says "split this across my accounts in Orca", "run these on DeepSeek in Orca".

Tổng quan

Nhà phát hànhlarcane97
Kho mãclausona
Tên kỹ năngorca-fleet
Sao
57
Bản fork
11
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 larcane97 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 Orca Fleet 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/larcane97/clausona/tree/main/plugins/orca-fleet/skills/orca-fleet
  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/larcane97/clausona.git /tmp/clausona
mkdir -p .claude/skills
cp -r /tmp/clausona/plugins/orca-fleet/skills/orca-fleet .claude/skills/orca-fleet
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 Orca Fleet 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 Orca Fleet 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 Orca Fleet 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.

Orca fleet on clausona profiles

Orca runs agents side by side in git worktrees and lists them in its sidebar. clausona puts each terminal's agent on the profile you choose.

0. Load the shared rules

Load the fleet-core skill first and follow it; this skill only adds the Orca steps. In Claude Code, invoke it with the Skill tool. If that fails, or you run in Codex, read the first of these files that exists, where <base> is this skill's base directory:

  • <base>/../../../fleet-core/skills/fleet-core/SKILL.md
  • <base>/../../../../fleet-core/*/skills/fleet-core/SKILL.md (if several versions match, read the highest)

If none exists, stop and tell the user to install it: claude plugin install fleet-core@clausona in Claude Code, or codex plugin add fleet-core@clausona in Codex.

1. Before anything

Stop and tell the user what is missing if any of these fails.

  1. orca status shows runtimeReachable: true. If Orca is not open, ask the user to open it.
  2. orca repo list --json lists the repo. If not, ask before adding it with orca repo add --path <repo> --json: it adds the repo to the user's Orca sidebar.
  3. The repo has a remote: workers push their branches.

Pass --json and read handles and paths from the reply; never guess them. Orca runs on macOS, Linux and Windows, and the commands below are the same on each.

Orca has its own account switcher and orchestration commands. Do not use them for workers: clausona run decides each worker's account. Orca also sets CODEX_HOME in its terminals, so a bare codex there runs on Orca's account; clausona run overrides it.

2. Starting a worker

For each task, after fleet-core picked its profile:

  1. Worktree. orca worktree create --repo path:<repo> --name fleet-<task> --json, and record .result.worktree.path (under ~/orca/workspaces/ by default). Then orca worktree set --worktree path:<worktree> --display-name "<task> · <profile>", so the sidebar shows which account runs where. Keep it under 26 characters.
  2. Terminal. orca terminal create --worktree path:<worktree> --json, and record .result.terminal.handle. Do not pass --command: the shell's start-up output can swallow it. Do not rely on --title either: the shell renames the tab.
  3. Wait for the shell. Read orca terminal show --terminal <handle> --json once a second until its lastOutputAt is at least two seconds old, for at most 20 seconds. orca terminal wait does not work for a plain shell.
  4. Start. orca terminal send --terminal <handle> --text "clausona run <profile> -- <args>" --enter, with the arguments from fleet-core section 4. Codex workers keep --disable hooks.
  5. Check it started. After about 10 seconds, run orca terminal show --terminal <handle> --json. The tool has started when .result.terminal.title is no longer the shell's (Claude Code sets ✳ Claude Code), or when orca worktree ps --json lists an agent under the worktree. The preview field shows the screen, but it can lag behind a full-screen app that is still starting, so never resend the launch line on the preview alone: a line sent to a running Claude Code becomes its first prompt. Send it once more only when the title is still the shell's after 20 seconds and the preview shows the launch line never ran. Otherwise tell the user what the screen shows.
  6. Folder trust. The first worker of a profile in a repo that profile never trusted asks whether to trust the folder. Answer only that question, and only about this repository:
    • Claude Code ("Is this a project you created or one you trust?"): the highlighted answer is "No, exit". Send the down arrow, orca terminal send --terminal <handle> --text $'\e[B' (PowerShell: --text "$([char]27)[B"), then orca terminal send --terminal <handle> --enter.
    • Codex ("Trust this folder?"): the highlighted answer is "1. Trust and continue". Send orca terminal send --terminal <handle> --enter.
  7. Brief. Write it as fleet-core section 5 says, then orca terminal send --terminal <handle> --text "Read .fleet-brief.md in this folder and do what it says." --enter, and start waiting on it (section 3). In Codex, wait only once every worker has its brief.
  8. Record the handle, worktree, branch and profile in the table.

Start workers on the same Claude Code profile one at a time, each after the previous one shows its first output.

The user can open any worker's tab in Orca, read along and type into it at any time.

3. Waiting and reading

  • Wait: right after each send, run sleep 5; orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 1800000 (PowerShell: Start-Sleep 5; orca terminal wait …). In Claude Code, run it as a background task. The pause matters: right after a send the worker has not started, its screen is still idle, and tui-idle would return at once. The wait returns when the worker's screen goes idle: its turn ended, or it waits at a prompt.
  • Check it really stopped: for a Claude Code worker, orca worktree ps --json lists the agent under its worktree with state and lastAssistantMessage, from Orca's hooks (clausona shares them across profiles). If state is still working, wait again without the pause. Codex workers do not appear there; read their screen.
  • The reply: lastAssistantMessage is a Claude Code worker's last reply, up to its first 8000 characters. Look for the DONE or BLOCKED line there first. When the reply is longer, its last line is cut off: then, or when the field is missing, use fleet-core's last-reply.mjs (fleet-core section 8).
  • Read: orca terminal show --terminal <handle> --json, field .result.terminal.preview. It shows the current screen, including Claude Code's and Codex's full-screen views, once they are up; orca terminal read returns only scrollback.
  • Follow-up: write the file, then orca terminal send --terminal <handle> --text "Read .fleet-followup-<n>.md in this folder and do what it says." --enter, and wait as above.
  • After a timeout: read the screen. If the worker still works, wait again without the pause.
  • In Codex (one foreground wait at a time, three minutes each): give every worker its brief before you wait on any, then wait on each unfinished worker in turn with orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 180000. Keep the five-second pause only for a worker you sent something to in the last five seconds.

Orca has no "until it works again" wait. For a worker the user is answering, follow fleet-core section 7.

4. When an account runs out

  1. Create a new terminal in the same worktree and start the new profile there, as in section 2, steps 2 to 7, with fleet-core section 9's brief.
  2. orca terminal close --terminal <old handle>.
  3. orca worktree set --worktree path:<worktree> --display-name "<task> · <new profile>", so the sidebar names the new account. Keep it under 26 characters, as in section 2.

5. Retiring

After fleet-core section 11's checks, run orca worktree rm --worktree path:<worktree> --json. Never add --force. Orca refuses a worktree with changes ("Failed to delete worktree"); then keep the worker and report why. When it succeeds, Orca closes the worktree's terminals and deletes its local branch too, so only the pushed branch remains: never retire before the push check. Confirm the worktree directory is gone.

Never close terminals or remove worktrees you did not create.

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

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

Run several coding agents in parallel in Orca worktrees, each under its own clausona profile (another Claude Code or Codex account, or an API model such as GLM or DeepSeek), then watch them, check their work and retire them. Use when the user works in Orca and wants work spread across accounts or models, when one account's limits would slow a fan-out, or says "split this across my accounts in Orca", "run these on DeepSeek in Orca".

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/larcane97/clausona/tree/main/plugins/orca-fleet/skills/orca-fleet. 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 Orca Fleet?

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

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