Campaign

From nagisanzenin/idiolect · View interactive version

Campaign is an AI agent skill from the GitHub repository nagisanzenin/idiolect. One brief, N posts, N genuinely different people — voice-isolated writers, cross-post overlap detection, per-post verification receipts. Use for launching/promoting something across multiple posts or platforms without the posts sharing a fingerprint.

How to use this skill

Skill file

/idiolect:campaign — many voices, zero bleed

The failure mode of one writer producing N "different" posts is convergence: same skeleton, same rhythm, swapped adjectives. This skill prevents it structurally — each post is written in an isolated context that has seen ONLY its own voice, then the set is checked for overlap like the adversarial reviewer a real editor would be.

Setup

ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-$IDIOLECT_ROOT}}"
# unset everywhere (opencode)? ROOT = two directories up from this SKILL.md
IDIO="python3 $ROOT/scripts/idiolect.py"
CID="<campaign-name-or-date-slug>"

Flow

  1. Cast the voices. Brief to a scratch file, then

$IDIO pick --platform <p> --brief-file <f> --n <N> --distinct --json

(per-platform picks if the campaign spans platforms — and pass --exclude with every already-cast slug on each subsequent pick, or the same voice will happily win two platforms). --distinct does greedy max-distance casting — announce the cast in one line each: who, platform, why they fit the brief. If the user named people fuzzily ("use the nurse and the sneaker guy"), resolve those against $IDIO voices --json first and fill the rest of the cast with pick. Nothing here requires the user to know a slug or a flag.

  1. Pre-assign structure. Build a rotation table before any writing: no two posts share (opener, shape) even across different voices; lengths vary. This is the campaign-level variance guard; the per-voice ledger check comes free in step 3.
  1. Fan out, isolated. For each (voice, platform, structure) row, spawn an idiolect-writer agent whose prompt contains ONLY: the voice profile path, the brief, the platform, the assigned structure, and the two shared docs' paths. One writer never sees another writer's voice or output — isolation is what prevents bleed; parallelism is just the bonus. Each writer self-verifies with scan + conform and saves to <scratch>/post-<slug>.txt.

Codex/opencode fallback (no auto-spawn): write them yourself SEQUENTIALLY, and before each post re-read that voice's profile in full and consciously drop the previous voice's rhythm; the verification gates below still catch bleed if you fail.

  1. Verify the set, not just the posts.
  1. Record and deliver. For each post: $IDIO ledger add --voice <s> --platform <p> --opener --shape --len --campaign "$CID" --file <post>. Then deliver each post in its own fenced block headed by — <voice display> · <platform>, followed by a receipts table:

| voice | platform | scan | conform | overlap | structure |

|---|---|---|---|---|---|

| dale-hvac | facebook | 6 clean | PASS | ok | price/story/med |

Plus one texture: section listing any invented interior details across the set, per the honesty rules in _shared/craft.md.

Cadence and hygiene

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.