Logo de Campaign Conductor

Campaign Conductor

Comunidade
jvogan
campaign-conductor

Run a project as an orchestrated campaign: Claude as conductor (Fable 5.1 or Opus 5.5) dispatching OpenAI Codex CLI workers on GPT-6.1 Sol for implementation, each able to run its own team of Sol and Luna leaves, wide GPT-6 Luna sweeps for bulk read-only work, plus Claude Opus 5.5 agents for design judgment and squad leadership and Claude Sonnet 5.5 agents for surveys and search. Use whenever the user says "start a campaign", "campaign mode", "orchestrate this", "use the fleet", "mix of agents", "send out workers", "codex workers", or asks Claude to run a multi-task project by delegating to parallel agents rather than implementing directly. Also use when resuming work in a repo whose CLAUDE.md points at a campaign-hq folder.

Visão geral

Publicado porjvogan
Repositórioa-fable-of-codexes
Nome da habilidadecampaign-conductor
Estrelas
55
Forks
3
Arquivos incluídos
11
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 11

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por jvogan no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Campaign Conductor no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/jvogan/a-fable-of-codexes/tree/main/skills/campaign-conductor
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Campaign Conductor em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Campaign Conductor automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Campaign Conductor não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Campaign Conductor faz?

Run a project as an orchestrated campaign: Claude as conductor (Fable 5.1 or Opus 5.5) dispatching OpenAI Codex CLI workers on GPT-6.1 Sol for implementation, each able to run its own team of Sol and Luna leaves, wide GPT-6 Luna sweeps for bulk read-only work, plus Claude Opus 5.5 agents for design judgment and squad leadership and Claude Sonnet 5.5 agents for surveys and search. Use whenever the user says "start a campaign", "campaign mode", "orchestrate this", "use the fleet", "mix of agents", "send out workers", "codex workers", or asks Claude to run a multi-task project by delegating to...

Por que usar Campaign Conductor no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Campaign Conductor é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Campaign Conductor no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/jvogan/a-fable-of-codexes/tree/main/skills/campaign-conductor. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Campaign Conductor?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Campaign Conductor?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Campaign Conductor com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Campaign Conductor é gratuita?

Sim. A habilidade é publicada no GitHub por jvogan sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇