Superset Fleet 标志

Superset Fleet

社区
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

概览

发布者larcane97
代码仓库clausona
技能名称superset-fleet
星标数
57
复刻数
11
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 larcane97 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Superset Fleet AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/larcane97/clausona/tree/main/plugins/superset-fleet/skills/superset-fleet
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Superset Fleet,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Superset Fleet。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Superset Fleet 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Superset Fleet AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Superset Fleet?

因为您只需安装一次,就能搭配任何模型使用。Superset Fleet 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Superset Fleet?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/larcane97/clausona/tree/main/plugins/superset-fleet/skills/superset-fleet。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Superset Fleet?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Superset Fleet 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Superset Fleet 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Superset Fleet AI 技能免费吗?

是的。larcane97 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇