Logo Superset Fleet

Superset Fleet

Cộng đồng
larcane97
superset-fleet

Run several coding agents in parallel in Superset workspaces, 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 wants work spread across accounts or models in Superset, when one account's limits would slow a fan-out, or says "split this across my accounts", "run these on GLM in Superset", "my account is near its limit, keep the workers going". Builds on superset:orchestrate.

Add to TypingMind

Tổng quan

Nhà phát hànhlarcane97
Kho mãclausona
Tên kỹ năngsuperset-fleet
Sao
57
Bản fork
11
Tệp đi kèm
1
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ộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • 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 Superset 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/superset-fleet/skills/superset-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/superset-fleet/skills/superset-fleet .claude/skills/superset-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 Superset 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 Superset 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 Superset 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.

Superset fleet on clausona profiles

superset:orchestrate (in Claude Code) or superset-orchestrate (in Codex) is the protocol: a coordinator table, one workspace per task, worker briefs that end in a SUPERSET_WORKER_DONE or SUPERSET_WORKER_BLOCKED envelope, monitoring and follow-ups. Load it and follow it. fleet-core holds the clausona rules: which profile runs each worker, launch arguments, limits, judging, retiring and the report. This skill adds the Superset steps.

0. Load the shared rules

Load the fleet-core skill first and follow it. 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. Reaching Superset

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

  1. superset:orchestrate (Claude Code) or superset-orchestrate (Codex) is available.
  2. Choose how to reach Superset:
    • If superset auth whoami succeeds, use the CLI path: the superset commands below, as orchestrate does. Check a command's --help before its first use, because the CLI changes quickly.
    • Otherwise use the helper path. node <base>/scripts/superset-host.mjs status must print "ok": true.
      • The helper calls the Superset host service on this machine with the token from its manifest, and never prints the token.
      • Every helper command prints JSON.
      • If it says the host API has changed, stop and pass that message on.

Below, H means node <base>/scripts/superset-host.mjs. H trust, H terminals wait, H terminals read --source transcript and H workspaces delete are used on both paths.

StepCLI pathHelper path
Projectssuperset projects list --jsonH projects
Agent configssuperset agents list --local --jsonH agents configs
New workspacesuperset ws create --local --project <id> --name <name> --branch <branch> --jsonH workspaces create --project <id> --name <name> --branch <branch>
Rename workspacesuperset ws update --local <id> --name <name> --jsonH workspaces rename <id> --name <name>
Worktree pathsuperset ws get --local <id> --jsonH workspaces list --project <id> (worktreePath)
Start a workersuperset agents create --local --workspace <id> --agent <config> --prompt "$(cat <brief file>)" --jsonH agents run --workspace <id> --agent <config> --prompt-file <brief file>
Hand a task oversuperset agents create --local --workspace <id> --agent <config> --from-terminal <terminal> --jsonH agents run --workspace <id> --agent <config> --from-terminal <terminal>
Terminalssuperset terminals list --local --workspace <id> --jsonH terminals list --workspace <id>
Read the screensuperset terminals read --local --workspace <id> --terminal <terminal> --jsonH terminals read --workspace <id> --terminal <terminal>
Read the transcriptH terminals read --workspace <id> --terminal <terminal> --source transcriptsame
Sendsuperset terminals send --local --workspace <id> --terminal <terminal> --text "$(cat <text file>)" --jsonH terminals send --workspace <id> --terminal <terminal> --text-file <text file>
Closesuperset terminals close --local --workspace <id> --terminal <terminal> --jsonH terminals close --workspace <id> --terminal <terminal>
Wait for workersH terminals wait --workspace <id> --terminal <terminal> … --seen <mark> …same
Delete workspaceH workspaces delete <id>same

Write every brief and follow-up to a file and pass the file, as the table does. Start each one with a word, not - or ---: Claude Code reads a brief that starts with - as an option, and the helper refuses one.

Reading the screen returns only the rows the terminal shows, however many --max-lines asks for. A worker's envelope starts with its marker line, so once its summary, files, checks and handoff run taller than the screen, the marker has scrolled off. The transcript gives the last 36000 characters (--max-chars <n> asks for fewer). With "source": "harness" it is Superset's record of the agent's session, as User: and Assistant: turns: it keeps the whole reply, and keeps it after the worker compacts. With another source, Superset read it off the terminal, which may hold no more than the screen.

2. Profiles as Superset agents

A worker runs on a profile through a Superset agent config whose command is clausona run <profile> -- <args>. List the configs and match each one's args[1] to a profile.

  • Claude Code configs take the arguments from fleet-core section 4. Superset ignores a launch's model and effort for custom configs, so they go in the config's args.
  • Codex configs take -s <sandbox> -a <policy> -c check_for_update_on_startup=false -c mcp_servers={}, with the sandbox and policy from fleet-core section 4, plus -m and -c model_reasoning_effort=… when wanted. Leave hooks on, unlike in fleet-core section 4: in a Superset terminal, the codex that clausona starts goes through Superset's wrapper, which turns hooks on and reports each turn's end to Superset. That is what H terminals wait reads.
  • Label: <Tool> · <profile> (<model>), for example Claude · work (Sonnet 5.5) or Codex · personal (GPT-5.5).

When a profile the plan needs has no config:

  • CLI path: the CLI cannot add one. Give the user the label, the command (the output of command -v clausona) and the args, to add under Superset → Settings → Agents, and wait.
  • Helper path: show the user the config. Only after they agree, run H agents add-config --label "<label>" --profile <profile> --command "$(command -v clausona)" -- <args>.

3. Starting a worker

For each task: create the workspace, make its worktree trusted for the worker's profile, then start the worker. Name the workspace <short task> · <profile label>, for example Paths · work (Opus 5.5), so the Superset sidebar shows which account runs where. Keep it under 26 characters: the sidebar cuts longer names. The name stays what it was at creation, so rename the workspace ("Rename workspace" in the table) when it stops being true: when its task moves to another profile (section 5), or when you give its worker a different task. Keep the same <short task> · <profile label> form.

  1. Trust.
    • Claude Code profiles: before starting, run H trust --config-dir <profile configDir> --path <worktree path>, wait 3 seconds, then run it again with --check. If trusted is false, repeat. Never skip this: a worker that meets the trust question sits there, and Enter picks "No, exit".
    • A Claude Code that is starting rewrites that file and can drop an entry written just before. So start workers on the same profile one at a time, each after the previous one shows its first output.
    • Codex profiles: after starting, read the worker's screen. If it asks "Trust this folder?" about this repository, send Enter with H terminals send --workspace <id> --terminal <terminal> --text '': the highlighted answer is "Trust and continue".
  2. The brief. Write it to a file, as fleet-core section 5 says, and start the worker with it.
  3. Record in the table: the workspace id, the terminal id (sessionId), the branch and the profile. The terminals listing shows each running agent with account.directory, the config dir it really runs on; check that it is the profile you chose.

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

4. Waiting

After starting the workers, and after handling each event, run H terminals wait with a --workspace and a --terminal for every worker whose task is not finished. After a hand-over, use the new terminal's id. A shell tab or an agent the user opened in the same workspace then does not count. In Claude Code, run it as a background task. In Codex, run it in the foreground with --timeout 180.

It returns as soon as one worker needs you. It judges this from Superset's record of each agent's last hook event, not from the screen, for Claude Code and Codex workers alike:

  • stopped: its turn ended. reply holds the worker's last message, or its last 8000 characters when it is longer, from the transcript. Look for the envelope there first. When there is no reply, or no envelope in it, read the transcript. If its source is not harness, use fleet-core's last-reply.mjs for a Claude Code worker. Then read the screen (fleet-core section 8). A worker that compacts while idle reports stopped once more; its reply is still the message it ended its turn with.
  • quiet: no event for 5 minutes. Read its screen. It is often a permission prompt or a startup question: never answer a permission prompt yourself.
  • gone: its terminal exited.
  • timeout: nothing for the whole timeout. Read the screens, then wait again.

Each stopped and quiet result carries a seen mark. Pass back every mark you have handled, as --seen <mark>, in every later wait. Otherwise a worker waiting at a prompt, or one that has not yet picked up your follow-up, makes each wait return at once.

5. When an account runs out

Pick another profile by fleet-core section 3.

  • Same tool: make the worktree trusted for the new profile (section 3), then hand the task over in the same workspace ("Hand a task over" in the table). Use that profile's config and the stopped worker's terminal.
  • Other tool: start a new worker in the same workspace with the brief and the hand-over paragraph from fleet-core section 9.

Then close the old terminal, and rename the workspace for the new profile (section 3), for example to Paths · side (Opus 5.5). Record the new terminal id, and wait on it from now on.

6. Retiring

Retiring a worker deletes its Superset workspace. That stops the agent, closes its terminals and removes its worktree, even when it holds uncommitted work. Delete only with H workspaces delete <id>, on both paths. Right before it deletes, it checks fleet-core section 11's conditions 2 and 3 itself, and refuses when either fails. superset ws delete checks nothing. After deleting, confirm the worktree directory is gone.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Run several coding agents in parallel in Superset workspaces, 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 wants work spread across accounts or models in Superset, when one account's limits would slow a fan-out, or says "split this across my accounts", "run these on GLM in Superset", "my account is near its limit, keep the workers going". Builds on superset:orchestrate.

Vì sao nên dùng Superset 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. Superset 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 Superset 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/superset-fleet/skills/superset-fleet. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Superset 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 Superset 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 Superset 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 Superset 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 👇