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.
npx agentmods add skills/nrdxp/predicate/campaignnpx skills add nrdxp/predicate --skill campaigngit clone --depth 1 https://github.com/nrdxp/predicateWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00110 | $0.09413 |
| Opus 5 | $0.00055 | $0.04706 |
| Sonnet 5 | $0.00022 | $0.01883 |
| Haiku 4.5 | $0.00011 | $0.00941 |
Grade A, and why
campaign scanned grade A with 0 findings 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 2d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 699 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Campaign Protocol v1.0: Architect-Tier Orchestration
Absorb → Survey → Plan → Orchestrate → Dispatch ⇄ Reconcile → Close
This workflow defines the /campaign execution loop for architect-class
(expensive, long-horizon) walkers coordinating heterogeneous model tiers
across a multi-workstream goal. The council's primary output genre is
not code — it is boundary conditions for cheaper walks, and judgment
on the work that returns.
Philosophy
The Hourglass
Expensive tokens belong at the waist, not the edges:
wide: cheap tier + human — boundary refinement (/boundary → IBC*)
narrow: one council pass — exhaustive survey, planning, orchestration
wide: cheap tier — disciplined worker execution (/refine, /core)
deterministic evaluators between every layer
The council ingests an approved $\text{IBC}^*$ (manufactured by the boundary loop), saturates its shared context through an exhaustive multi-agent survey, and emits a graph of saturated worker IBCs routed to the cheapest capable tier. Error-correction iterations run in cheap space; the council re-enters only to judge and realign.
The Plan Is a DAG of Boundary Conditions
A campaign plan is not a task list. It is a dependency graph of IBCs
whose premises reference world state that sibling executions mutate.
When worker P3 lands an unexpected fix, the premises baked into pending
prompts P4–P9 may now describe a world that no longer exists. An open-loop
dependency graph drifts exactly like an open-loop token walk, only at a
coarser timescale. Hence two central invariants that are examined together
at every RECONCILE boundary:
Premise Freshness: before dispatching any pending node, re-verify its IBC's premises (S1 tripwires) against current
HEAD. A stale premise marks the nodeINVALIDATED; its IBC is realigned before dispatch.
Goal Supremacy / Mutable DAG: execution yields exponentially more context than planning — the higher-level goal reigns over the pre-specified DAG skeleton, not the reverse. At every
RECONCILEboundary the composer runs the cheap DAG-vs-goal check; the moment it suggests the graph no longer serves the goal, the architect seat is convened (this, not routine per-node review, is what summons it). DAG amendments — adding, editing, or removing nodes — are the norm, not a deviation; staying faithful to an arbitrary initial structure while overlooking what execution revealed is the failure mode this guards against. Each amendment routes to the architect seat and is TIERED by the contract (§Amendment tiers under RECONCILE): a MECHANICAL amendment proceeds on the architect's recorded single assent; a LOAD-BEARING amendment is ratified by the head before any affected node is re-dispatched.
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.
- 2d ago First seen · 699 lines · 110 tokens per session scan A 688d0662edb1
campaign is a skill published in the GitHub repository nrdxp/predicate (10 stars, last pushed 8d ago), licensed MIT. It adds 110 tokens to every session and 9,413 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…