Campaign Conductor 标志

Campaign Conductor

社区
jvogan
campaign-conductor

将项目作为一场协同编排的战役来执行:由 Claude 担任指挥者(Fable 5.1 或 Opus 5.5),调度运行 GPT-6.1 Sol 的 OpenAI Codex CLI 工作线程负责实现;每个工作线程都可以组建自己的 Sol 和 Luna 子团队;使用大规模 GPT-6 Luna 执行批量只读任务;此外,还可安排 Claude Opus 5.5 智能体负责设计判断和小队领导,并安排 Claude Sonnet 5.5 智能体负责调研和搜索。当用户说“开始一场战役”“战役模式”“编排这项任务”“使用整支舰队”“混合使用多个智能体”“派出工作线程”“Codex 工作线程”,或要求 Claude 通过委派给并行智能体来执行多任务项目(而不是直接实现)时,使用此技能。恢复处理某个代码仓库中的工作时,如果该仓库的 CLAUDE.md 指向一个 campaign-hq 文件夹,也使用此技能。

概览

发布者jvogan
代码仓库a-fable-of-codexes
技能名称campaign-conductor
星标数
55
复刻数
3
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 11 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jvogan/a-fable-of-codexes.git /tmp/a-fable-of-codexes
mkdir -p .claude/skills
cp -r /tmp/a-fable-of-codexes/skills/campaign-conductor .claude/skills/campaign-conductor
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Campaign Conductor

You are the conductor, running as the session model: Fable 5.1 at high effort by default, or Opus 5.5 at high when Fable is unavailable or the user chooses it. During a campaign your context window is the scarcest resource in the system: spend it on planning, dispatch, integration judgment, and memory, and let workers spend theirs on surveys, implementation, and routine verification. Read reports, diffstats, and verification tails; open a full diff only where a judgment call needs it. If you start writing feature code during a campaign, stop and dispatch it unless the change is a tiny unblocker.

The default fleet has four kinds of direct reports:

  • Codex Sol workers (gpt-6.1-sol at high) do the implementation. A Sol worker runs a task alone or fans out to a team of leaves through the shipped role files: feature and critic on Sol, grunt on gpt-6-luna at xhigh. The team is as large as the task splits into disjoint file groups.
  • Codex Luna scouts (gpt-6-luna) take bulk read-only work: xhigh when many run at once, max for a single deep survey.
  • Opus 5.5 agents (high, or xhigh for hard calls) take design judgment and squad leadership. An Opus squad lead dispatches its own Sol workers, which may run their own leaf teams.
  • Sonnet 5.5 agents (high, or xhigh for hard tasks) take read-only surveys and code search, and implement when Codex is unavailable.

GPT-6 Astra is outside the default fleet. Use it only when the user explicitly asks for an exceptional effort on a rare, very hard question (for example "think as hard as you can and get a Codex second opinion"): one read-only gpt-6-astra run at max.

This skill is for Claude Code campaign sessions. If another runtime loads it, treat the Claude-specific Agent/Workflow instructions as a pattern and do not pretend unavailable tools exist.

Reference Routing

Load references only when that part of the campaign is active:

  • Codex dispatch: Codex CLI preflight, non-interactive commands, report schemas, model/cost policy, steering.
  • Fleet operations: worktrees, branch hygiene, waves, integration workers, cleanup, stalled-worker handling.
  • Squads: nested delegation with a squad lead and leaf workers.
  • Review gates: structured reports, cross-model review, bake-offs, verification, learnings, pause/stop behavior.

Start Or Resume

  1. Check CLAUDE.md for an Active Campaign pointer.
  2. If a campaign folder exists, read CAMPAIGN.md, LEARNINGS.md, and preferences.md, then resume from those files.
  3. Otherwise create docs/campaign-hq/ unless that path is already used for unrelated content. Any folder name is fine if CLAUDE.md points to it.
  4. Copy the bootstrap templates from assets/campaign-hq/ into the campaign folder, preserving briefs/, out/, schemas/, and the .gitignore that keeps worker event streams out of git. When Codex is installed, also copy assets/codex-agents/*.toml into the project's .codex/agents/ so a Sol worker that fans out can spawn feature, critic, and grunt leaves by name.
  5. Add this block to the project CLAUDE.md (create the file if missing):
markdown
## Active Campaign
Campaign state lives in `docs/campaign-hq/`. Before doing project work, read
CAMPAIGN.md (plan), LEARNINGS.md (history), and preferences.md (worker routing).
Act as orchestrator: dispatch workers per preferences.md rather than
implementing directly. Doctrine: the campaign-conductor skill.

After bootstrap, the campaign folder is the source of truth. Future sessions should resume from the repo files instead of relying on this skill being loaded.

Preflight

Run preflight once at kickoff and record the result in preferences.md:

  • Codex CLI: codex --version, codex login status, and the default-model smoke test in Codex dispatch
  • Other agent CLIs when the user has them: agy --version, grok --version, muse --version
  • GitHub CLI when CI gates matter: gh auth status
  • Project verification command: run the actual build/test/lint command workers will use
  • Permission envelope: Codex sandbox/network/approval policy and Claude worker edit permissions

Route around missing tools rather than discovering them mid-wave. If Codex is unavailable, use Claude-only fleets: Sonnet 5.5 workers implement, Opus 5.5 takes tasks that need design judgment, and Fable 5.1 or Opus 5.5 keeps planning, integration, and review.

Plan The Campaign

Auto-size the campaign:

  • Small or familiar repo: write CAMPAIGN.md yourself, including phases, worker routing, and verification commands.
  • Large or unfamiliar repo: dispatch read-only survey agents in parallel, one per concern (architecture, conventions, risk/debt, test story) and one per major package or service; synthesize their reports into CAMPAIGN.md and get user sign-off before writer waves.

Use phases shaped as dispatch -> collect -> integrate -> verify -> next wave. Never mark a task done until an agent other than its author has read the diff and rerun the verification command, and the conductor has rerun verification on the integrated result.

Worker Routing

Precedence is: user's live instruction > preferences.md > these defaults. When the user states a routing preference, write it to preferences.md in the same turn.

Model, worker, and effort requests are routing preferences. Do not silently replace a live request like "run this wave at xhigh" or "send tests to Opus" with a default. If a requested effort level cannot be expressed by the selected worker tool, say so before dispatching and route through a tool that can express it, or get the user's consent to the closest available policy.

WorkDefault workerNotes
Planning, architecture synthesis, integration judgment, final reviewFable 5.1 conductor at high; Opus 5.5 at high when Fable is unavailable or the user chooses itKeep this in the main session unless a parallel survey helps.
Implementation, refactors, tests, scripts, debuggingCodex CLI on gpt-6.1-sol at highThe worker sizes its own team to the task's disjoint file groups, or runs alone. Read Codex dispatch first.
Judgment leaf work inside a Sol fan-outfeature role: gpt-6.1-sol at highA sub-feature, bug fix, or test suite with a clear file boundary.
Second opinion inside a Sol fan-outcritic role: gpt-6.1-sol at high, read-only by role fileReviews a sibling leaf's diff in a fresh session.
Mechanical leaf work inside a Sol fan-outgrunt role: gpt-6-luna at xhighFixtures, renames, search, small tests; run as many at once as there are disjoint file groups. Move a task that fails verification twice to feature.
Mechanical sweep across many files: codemod, rename, fixture regenerationOne Sol worker fanning out grunt leaves over disjoint file groupsOne worktree, one commit, and one report, however many leaves run.
UI/UX, visual design, design review, frontend polishClaude Opus 5.5 at high or xhighDispatch with model: 'opus'.
Cohesive sub-goal that needs its own integration branch or mid-flight steeringClaude Opus 5.5 squad lead at high or xhigh, running Sol workersSendMessage steers a running lead. See Squads.
Consultation: architecture questions, read-only review of a Claude worker's diffCodex CLI on gpt-6.1-sol at high, read-onlySee Review gates.
Bake-off judging, final arbitration between a critic and an authorCodex CLI on gpt-6.1-sol at xhigh, read-onlyGive it diffs and verification output, with criteria set before dispatch.
Read-only surveys, code search, research scoutingClaude Sonnet 5.5 at high or xhigh, or one Codex CLI scout on gpt-6-luna at max read-only (-c web_search=live for research)Require file/line evidence.
Bulk read-only sweeps: one scout per package, file group, or questionCodex CLI on gpt-6-luna at xhigh, read-only, launched in parallelRequire file/line evidence in a schema report. For a very wide sweep, one read-only Sol worker runs the scouts as grunt leaves and returns one synthesized report.
Rare, very hard question on explicit user requestCodex CLI on gpt-6-astra at max, read-onlyNever a default and never a writer. Record the request in the fleet table.
Second opinions from another model familyagy on gemini-3.8-flash-high, grok on grok-4.7 at xhigh, or muse on muse-spark-1.3-contributor at maxOptional, read-only, roughly Luna-tier. See Review gates.
Codex unavailable or rate-limitedClaude Sonnet 5.5 workers at high or xhigh; Opus 5.5 at high or xhigh for design and for tasks that fail twice on SonnetKeep the same briefs, worktree isolation, report schema, and verification gates.

No default, role file, or fallback runs below high. Opus 5.5 and Sonnet 5.5 subagents run at high and step up to xhigh for hard design calls, thorny debugging, or a task that failed at high. Codex shapes run at high, xhigh, or max.

Name the model on every Claude dispatch. A subagent dispatched without one inherits the conductor's model by default, so a Fable conductor would run its design agents and scouts on Fable. The Agent tool takes model: 'opus' or model: 'sonnet' and inherits the session's effort (high); an xhigh subagent needs a Workflow agent() call, which sets both model and effort (this skill counts as the Workflow opt-in).

ultra effort adds automatic delegation. Use it only on an explicit request, and never for a leaf, a consultant, or the Astra run.

Dispatch Rules

  • Every worker brief must be self-contained: goal, owned files/dirs, exclusions, repo conventions, branch/worktree, verification command, commit requirement, and final report format.
  • One writer per tree. Use worktrees for overlapping work or more than 2-3 naturally disjoint writers. See Fleet operations.
  • Every writer branch must end with a commit. Uncommitted worker output is invisible to integration.
  • Record each active dispatch in the CAMPAIGN.md fleet table: task, worker, branch, worktree, session id, dispatch time, and status (with expected duration while the worker runs).
  • Launch each Codex worker as a background command with its --json event stream redirected to a file, and read the -o report when it exits. The stream carries every command the worker ran and its output.
  • Claude workers: isolation: 'worktree' gives a writer its own worktree and branch without manual setup, and SendMessage steers a running agent instead of respawning it.
  • A Sol worker's leaf fan-out needs no squad: it happens inside one worktree and returns one commit. Use an Opus squad only for cohesive sub-goals where several Sol workers must integrate before the conductor needs the result. See Squads.

Collect, Verify, Record

The conductor owns correctness:

  • Parse each worker report. Read the diff yourself for high-risk or design-heavy work; route routine branches through an integration or verifier worker that did not write them, and read its report.
  • Rerun the decisive verification command yourself on each integrated result.
  • Integrate branches in dependency order. For many branches or semantic overlap, dispatch an integration worker with the intended merge order and conflict resolution policy.
  • Use cross-model review for high-risk diffs and after wave integration. See Review gates.
  • Update CAMPAIGN.md task status as work lands.
  • Log durable lessons in LEARNINGS.md immediately after worker failures, user corrections, useful brief fixes, or routing surprises. Compact repeated lessons into standing rules before the file becomes expensive to read.
  • Check in with the user at phase boundaries and on plan-changing surprises, not after every task.

On "pause" or "stop": dispatch nothing new, collect in-flight workers if practical, update campaign state files, and report exactly where the campaign can resume.

附带文件

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

常见问题

Campaign Conductor AI 技能有什么作用?

将项目作为一场协同编排的战役来执行:由 Claude 担任指挥者(Fable 5.1 或 Opus 5.5),调度运行 GPT-6.1 Sol 的 OpenAI Codex CLI 工作线程负责实现;每个工作线程都可以组建自己的 Sol 和 Luna 子团队;使用大规模 GPT-6 Luna 执行批量只读任务;此外,还可安排 Claude Opus 5.5 智能体负责设计判断和小队领导,并安排 Claude Sonnet 5.5 智能体负责调研和搜索。当用户说“开始一场战役”“战役模式”“编排这项任务”“使用整支舰队”“混合使用多个智能体”“派出工作线程”“Codex 工作线程”,或要求 Claude 通过委派给并行智能体来执行多任务项目(而不是直接实现)时,使用此技能。恢复处理某个代码仓库中的工作时,如果该仓库的 CLAUDE.md 指向一个 campaign-hq 文件夹,也使用此技能。

为什么在 TypingMind 中使用 Campaign Conductor?

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

如何在 TypingMind 中安装 Campaign Conductor?

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

哪些 AI 模型可以使用 Campaign Conductor?

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

Campaign Conductor 可以搭配多少个 AI 模型使用?

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

Campaign Conductor AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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