/pepe-multi-channel-content-pipelines:content-strategy-planning-optimizationfrom pepe-multi-channel-content-pipelines
The cross-channel layer that ties generation (Veo) and publishing (Instagram / X / blog) together: canonical content store, editorial calendar, per-piece state machine, resumable batch sweeps, human-approval gates, per-channel voice rules, monitor + analytics surface, A/B and reach optimisation. Use whenever the pipeline needs more than one piece per week or more than one publishing surface — i.e. always, in production. Tells the agent and the operator what to do this week, in what order, and how to know it worked.
Ships in pepe-multi-channel-content-pipelines. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The channel skills (virtual-character-veo-3-1, publishing-instagram, publishing-x, publishing-blog) are independently runnable, but a real pipeline needs a layer above them that decides what to make, when to make it, where to publish, and how to know it worked. That's this skill.
This is the only skill in the playbook that talks to the operator in planning terms rather than execution terms. Every other skill is "run this command and verify"; this one is "decide what to run next."
Audience: the human operator.
Initialise the state directory. Run the bundled scaffolder to lay down the canonical pipeline state layout (logs + plan templates + .gitignore):
scripts/state-dir-init.sh --path <PEPE_PIPELINE_STATE_DIR> [--canonical-here]
--canonical-here also creates pieces/ under the state dir for operators who want the canonical content store co-located with state. Skip it if the canonical store lives in Obsidian / Notion / a separate Git repo (more common).
Define the brand's content arcs. An arc is a multi-piece theme (e.g. "five principles for resilient operators", "Snowflake values series", "morning ritual mini-thoughts"). Pick 2-4 arcs to run in parallel. Trying more dilutes everything.
Pick the canonical content store. Three sane choices:
Define the canonical content schema. Minimum fields per piece:
id — stable kebab-case slug.title — display title.arc — which arc this piece belongs to.core_idea — one sentence; what is this piece about.body — long-form canonical text (the blog post body, full-form).assets[] — hero image, source video path, alternative crops.channels[] — array of {channel, status, scheduled_at, published_at, url} rows.status — draft | gated | scheduled | publishing | published | archived.created_at, updated_at.Pick the editorial cadence. A sustainable cadence is fewer pieces, higher consistency rather than the reverse. Defaults to start with:
Configure the analytics surface. For each channel:
/<MEDIA_ID>/insights?metric=reach,impressions,saves,shares per post; /<IG_USER_ID>/insights for account-wide./tweets/<id>?tweet.fields=public_metrics per tweet.Decide the privacy + consent rules. Operator-specific. Per-person consent for any real human appearing in content, per-batch consent for any sensitive cameo. Persist as a structured consent.md in the canonical store; the agent checks before publishing any piece that names or shows a person.
Configure the human-gate policy. gated status means the piece sits in the store until the operator manually flips it to scheduled. Defaults:
Run the full doctor. Once arcs, canonical store, and per-channel Setup are all done, run scripts/setup-doctor.sh (no --channel flag — probes all five). Exit 0 + ✓ on every line = the pipeline is fully wired and Commands 2-7 below can run without operator intervention. The doctor's JSON mode (--json) is what the bundled MCP pipeline-state tool surfaces to a mentee agent on first connect.
Operator confirms: "Setup complete."
The agent runs this weekly (Sunday evening is conventional, but any fixed day works) — it doesn't need operator intervention except to surface decisions that need a human call.
pieces[] list. Filter to draft + gated.last_reel.published_at + (7 days / 2.5 reels) ≈ +2.8 days. Same shape for X and blog. (Persist these next-due-at fields on the arc, not on a wall-clock cron — see "schedule as state, not cron" below.)draft or gated-and-approved piece from the highest-priority arc. Round-robin across arcs unless the operator has weighted them.state/plan-week-<YYYY-WW>.md with the picks, the slots, the human gates that need a flip, and the unresolved blockers (consent missing, asset missing, blog post still in draft). The operator reads this; the agent acts on it.channels[<channel>].status = "scheduled" + scheduled_at in the canonical store. This is the transition into Command 3's queue.The agent runs this once per day, at a fixed local time (operator picks; 09:00 local is conventional). Atomic, idempotent, resumable.
status: "scheduled" whose scheduled_at is in the past or within the next 4 h.publishing-instagram Command 2-4.publishing-x Command 3-6.publishing-blog Command 2-6.channels[] rows): route to each in parallel where the rate limits allow, in dependency order otherwise.status through the state machine:
scheduled → publishing (lock the row to prevent double-publish).publishing → published on success (record published_at, url).publishing → failed on hard error (record the error; the next sweep retries unless flipped to archived).state/audit.jsonl (hash + timestamp + piece-id + channel + status; no content). Audit is privacy-safe.pipeline-status MCP tool (the bundled MCP server in this plugin). Numbers, not bodies — "3 reels published, 1 failed (piece-id, RAI filter retry needed), 0 awaiting human gate."A piece in status: "gated" waits for the operator's flip. The agent runs this command on every batch sweep and on demand.
status from gated to scheduled. The agent never auto-flips a human gate, even if it has high confidence.IG_FIRST_PUBLISH_GATE=0. Same for X (X_FIRST_PUBLISH_GATE=0) and blog. The agent reads these env vars and skips the per-channel "first publish needs operator OK" pause.The agent runs this weekly, the same evening as Command 2 (planning + analytics happen back-to-back so planning consumes the latest data).
state/analytics-week-<YYYY-WW>.md:
experiment_arm field.A pipeline that ships content also has its own health signals: queue depth, retry rate, failed-publish backlog, quota saturation. The agent monitors these on every batch sweep.
draft + gated per arc. If draft depth drops below 2 weeks of cadence, surface "queue running thin, draft more" to the operator.failed → scheduled transitions in the audit log over the last 7 days. > 10 % is a signal that an upstream skill needs attention (Veo prompts trip RAI too often, IG rate-limit hit, etc.).publishing for > 30 min is a stuck transaction — the previous run crashed mid-publish. The next sweep detects + flips back to scheduled for retry.channels[].status = "published" on some channels but not others — a partial publish is a worse state than a delayed-but-complete publish.The bundled pipeline-status MCP server in this plugin exposes:
pipeline_state — current queue depths, recent transitions, stuck pieces, quota burn.pipeline_channels — per-channel publish counts + success rate over a rolling window.
The agent calls these without operator intervention. The operator can also query them directly via claude mcp tools (if the plugin is installed into Claude Code) or via the inspect-content-state.sh helper script.Quarterly (operator decides the cadence; the agent flags when the canonical store passes 500 pieces or 2 GB).
published pieces older than 12 months (or operator-chosen window). Move from the live canonical store to a archive/ subdirectory. Channel URLs stay live; the agent stops treating the piece as active./tmp/veo-*-take<N>/) older than 7 days, intermediate re-encodes, scratch files.state/audit.jsonl indefinitely; it's tiny and the privacy posture says only hashes + timestamps live there.The earlier version of this playbook had each of these as a separate "principle" skill. They're listed here as a cross-cutting reference and as commitments every channel skill makes by name. Each is referenced by ID from the channel skills above.
scheduled_at falling in the past, not by a crontab entry. This means: (a) a missed wake-up doesn't lose a slot, (b) the calendar is editable from the canonical store (no separate cron edit), (c) replays + dry-runs are trivial.gated until the operator flips it. Once a channel has one successful round-trip, the gate per-piece is the operator's policy choice.voice-rules.json per channel). The agent applies them at render time. They evolve via Command 5.4 — never silently. When voice rules contradict each other across channels (Pepe is calmer on IG than on X intentionally), the canonical source carries enough metadata to drive the right rendering on each surface.~/Obsidian/vaults/AI Agents Memory/Pepe Arturo/ (shared between agents via the Obsidian-share-symlink pattern, see memory:canonical_location_human_docs).helmguild.com.dont_contact_sandra_about_pepe_content, no auto-collaborator-invite on couple reels.pipeline-status bundled in this plugin, surfaces queue depth + per-channel success rate to any mentee agent over MCP.When a mentee agent connects to this playbook (via ListMentors → GetPlaybook → GetSkill), the expected loop is:
order: 7 (last in the playbook because it builds on the channel skills), but it's the cross-channel strategy lens — reading it first orients the mentee on what the pipeline is producing and when, so the channel skills (Veo, IG, X, blog) read as concrete realisations of the plan rather than independent silos.The mentor (Pepe) and the mentee agent share this skill text — it's the contract between them about how the pipeline is run.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub helmut-hoffer-von-ankershoffen/helmguild-plugins --plugin pepe-multi-channel-content-pipelines7 skills in this plugin
/brand-visual-identityThe upstream artefact every other skill in this playbook assumes exists: the brand's canonical visual identity — what the brand looks like, what its virtual character looks like across moods and scenes, what its colour palette and typography are, what scene templates recur, what voice tone the voiceover uses, what's off-brand and triggers a redo. Walks the operator through building it as a cross-agent-readable document so every agent generating brand content (this mentor's mentee, any other agent on the operator's stack) reads from the same source of truth./publishing-blogPublish long-form blog posts to a static-site brand domain via a Git-backed deployment (GitHub repo + Cloudflare Pages or equivalent). Covers operator setup (domain registration, GitHub repo, Cloudflare Pages project, DNS, build pipeline), authoring posts in localised pairs (e.g. EN + DE) from a canonical source, sitemap.xml + robots.txt + Atom feed maintenance, CSS cache-bust discipline on style additions, preview-before-publish, and post-deploy verification. Use whenever the content pipeline needs a long-form authoritative surface (the canonical home for articles linked from IG / X)./publishing-instagramPublish reels, Stories, and image/carousel posts to Instagram from an autonomous content pipeline via the Meta Graph API. Covers operator setup (Meta Business + IG Professional account + Facebook Page link + long-lived access token + IG user ID), reel posting with collaborator invites and Story mirror, caption authoring under per-account voice rules, hashtag discipline, rate-limit handling, and post-publish verification. Use whenever the pipeline needs Instagram as a publishing surface./publishing-xPublish posts, threads, replies, and reposted reels to X (formerly Twitter) from an autonomous content pipeline. Covers operator setup (X developer account + project + app + OAuth 2.0 with PKCE + bearer/access tokens), single-post publishing with media, thread chaining, cross-posting from Instagram reels (with X's 140-second video cap + caption truncation rules), reply etiquette, rate-limit handling, and post-publish verification. Use whenever the pipeline needs X as a publishing surface./real-person-cameo-protocolThe cross-cutting discipline for putting real humans (the operator themselves, a co-star, a family member, a colleague, a fan) into AI-generated brand content. Covers per-person consent records, per-discipline face-reference libraries (the same person needs different ref shots for swim / run / bike / talking-head / suit), outfit + gear coherence rules per discipline, brand-name softening (Veo's RAI filter trips on literal embroidered brand names), the IG collaborator-invite consent model, sport-emoji caption pairing, and the per-batch greenlight gate for sensitive cameos. Sits between `virtual-character-veo-3-1` (where references are consumed) and the three publishing skills (where consent + tagging matter)./virtual-character-veo-3-1Generate consistent virtual characters (face, outfit, voice, pose) as 8-second 9:16 video clips with native voiceover and lip-sync using Google's Veo 3.1 via the Gemini API. Covers operator setup (Google AI Studio account, API key, quota), reference-image preparation, prompt structure for character consistency, voiceover prompting, RAI-filter handling, and validating outputs. Use whenever a content pipeline needs the same virtual character to appear across multiple shots without drifting in appearance or voice.