campaign-orchestration

campaign-orchestration is a skill for Claude Code, Codex from houshuang/limbic. It costs 174 tokens per session (9,616 once invoked), scanned A, original, MIT.

A workflow for running several long-lived worker sessions across a data campaign, such as ingesting books or conducting reading campaigns. It uses launch, watch, and cost-control scripts to supervise the workers and restart them when needed.

In plain words
What is it for?
Use it to coordinate parallel data-ingestion or reading work, monitor worker sessions, enforce context and usage limits, and continue work through fresh sessions when a driver finishes.
Why use it?
It addresses workers stopping early, supervisors consuming excessive resources, rate limits, and timeouts. Its rules turn previous failures into automatic checks and stop conditions rather than relying only on written advice.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; reads ~/.codex paths.

Good fit Use it to coordinate parallel data-ingestion or reading work, monitor worker sessions, enforce context and usage limits, and continue work through fresh sessions when a driver finishes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/houshuang/limbic/campaign-orchestration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add houshuang/limbic --skill campaign-orchestration
Clone the repo
git clone --depth 1 https://github.com/houshuang/limbic

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for campaign-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/skills/houshuang/limbic/campaign-orchestration/github.svg)](https://agentmods.dev/skills/houshuang/limbic/campaign-orchestration)
Your own site
<a href="https://agentmods.dev/skills/houshuang/limbic/campaign-orchestration"><img src="https://agentmods.dev/badge/skills/houshuang/limbic/campaign-orchestration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for campaign-orchestration

Your own site · 80×15
<a href="https://agentmods.dev/skills/houshuang/limbic/campaign-orchestration"><img src="https://agentmods.dev/badge/skills/houshuang/limbic/campaign-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00174 $0.09616
Opus 5.5 $0.00070 $0.03846
Sonnet 5.5 $0.00035 $0.01923
Haiku 4.5 $0.00017 $0.00962

Measured 27d ago against content hash 6b0ff9bb69ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

campaign-orchestration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

The scan reads SKILL.md. This mod also ships 40 executable files (scripts/budget.py, scripts/checkpoint_queue.py, scripts/codex-coordinator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **Drivers must start in their own session** (`subprocess.Popen(..., start_new_session=True)`); a `nohup … &`
skills/campaign-orchestration/SKILL.md · 411 lines

How it starts

The opening of the file, as written. The whole thing — 411 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Campaign orchestration

Rule zero: enforce, don't advise

Every failure below was already written down as advice when it recurred. Advice fails because the next agent must remember it under task pressure. So each lesson must become a mechanism that refuses or stops the bad pattern: launch.sh refuses to start a lane unless watch.sh runs; watch.sh runs costguard.py every cycle and forces a handoff from any session over 150k context/turn, 120 turns, or 15M tokens/hour sustained over 30+ minutes; sessions start drivers and exit, and the watcher (zero tokens) starts a fresh small session when a driver finishes. Measure cost from the first check, not progress only. When you add a lesson, ask: what script now refuses this? If none, it will recur.

Measured repeat (23 Oct 2026): the night before, a polling supervisor spent 122M tokens; the next morning the coordinator avoided polling but launched lanes as long-lived Codex sessions that waited on their own drivers inside the session — 270M tokens in 3 hours, contexts of 100–400k tokens per turn, 1,100+ turns. Same failure, one layer down.

Read this before launching worker lanes, and add to it after every incident (see «Learning loop»). Every rule below cost real time or tokens once.

The shape that works

  • Coordinator is event-driven, never polling. Launch lanes, then run one background watcher (scripts/watch.sh) that exits only when a lane writes DONE.md, its process dies, or its log is silent for an hour. The coordinator wakes on that exit, restarts the watcher as its first command (before reading results; a context compaction in between is how it gets forgotten: skard 25 Oct, three release lanes sat stopped 2 h), then acts. Measured failure (skard, 22–23 Oct 2026): 122M supervisory tokens vs 0.9M generation tokens; scheduled heartbeats and accounting monitors did the spending.
  • One lane = one whole queue. A lane owns its full queue and a measurable deliverable. No pilots-before-pilots, no yield gates (a 10-scan pilot and a 30% continuation gate on a 500-book queue produced 6 books overnight). Pilot only a genuinely new method, and size the pilot to the decision.
  • The queue is the job. Per-item failures are recorded and the queue goes on. Transient errors retry with backoff, then park and retry at the end. A defect the worker fixed never counts toward stopping. Stop only when every item has an outcome or nothing at all can progress. «Two failures of the same step → stop» made three of five lanes quit within an hour, one right after fixing the defect it had hit.
  • DONE.md before the queue is exhausted is a failure, not a handoff. Codex workers love writing a tidy «partial handoff» and stopping. Say so in the brief, and resume them (below) rather than accepting it.
  • Inherited budgets are not owner requirements. Token ceilings, call caps and protocols chosen by an earlier coordinator are historical; check what the owner actually said.

Read the full file on GitHub · 411 lines

Files

What ships with it

50 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed · +62 lines 6b0ff9bb69ca
  2. 29d ago Changed · +77 lines 59f0c0bb6582
  3. 1mo ago First seen · 272 lines · 174 tokens per session scan A 1889407a9e1d

Subscribe to this mod's changes

campaign-orchestration is a skill published in the GitHub repository houshuang/limbic (3 stars, last pushed 27d ago), licensed MIT. It adds 174 tokens to every session and 9,616 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-31.

Related

campaign-orchestration compared with skills from other repositories

campaign-orchestration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
campaign-orchestrationhoushuang/limbicSkill327d agoMITA174Claude Code, Codex
cortex-distillXBlueSky/cortexesSkill263d agoApache-2.0A41Claude Code
cortex-broadcastXBlueSky/cortexesSkill263d agoApache-2.0A81Claude Code
cortex-queryXBlueSky/cortexesSkill263d agoApache-2.0A125Claude Code
cortex-evolveXBlueSky/cortexesSkill263d agoApache-2.0A58Claude Code
using-cortexXBlueSky/cortexesSkill263d agoApache-2.0A113Claude Code
sentence-transformerssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A67Claude Code, Codex