SENISdigital

LinkedIn Content Pipeline

AI tooling · human sign-off on every post

A scheduled draft-and-audit system that converts the week's tax-news signal into fact-checked LinkedIn post drafts written in a consistent voice — architecture, engines, and the quality controls that govern it.

Overview

This is a scheduled, multi-stage system that turns tax-news signal into fact-checked LinkedIn post drafts written in a consistent personal voice. It is a drafting engine, not an autopilot: the pipeline researches, selects, writes, and audits, but the finished drafts are delivered to an email inbox for review, and each one is edited and posted manually. No content reaches LinkedIn without a human decision.

The design goal is leverage without loss of control. The pipeline removes the repetitive work — scanning sources, spotting what is worth saying, checking facts, and producing a clean first draft — while leaving editorial judgement and publishing with a person. Each stage writes its output to a file before the next stage reads it, so the process is transparent and any single stage can be inspected or re-run in isolation without repeating the whole run.

Execution environment

The pipeline runs locally on a PC on a fixed weekly schedule, triggered by the operating system's scheduler. Every AI call is routed through the local Claude CLI against a personal Claude subscription — there are no API keys, no external AI platforms, and no content sent to third-party drafting services. Two models are used deliberately, matched to the job: Claude Opus 4.8 for the reasoning-heavy work (topic strategy, drafting, fact-checking, and the audit passes) and Claude Haiku for high-volume, low-complexity extraction. Ingestion, orchestration, and delivery are handled by lightweight local components rather than any cloud service.

Weekly schedule

TriggerModeFocusYield
Tue 05:00ENEU / international strategy3 drafts
Thu 05:00LTLithuanian market3 drafts
Fri 05:00LTShort monthly digest1 draft
Sun 05:00LearnVoice-model refreshno posts

The three drafting modes are separated by day and by audience, so the English strategic lane and the Lithuanian local lane never compete for the same slot. The Sunday run produces no posts; it exists only to keep the system's model of the writing voice current.

The pipeline, stage by stage

  1. Collect sources. Pulls recent posts from a curated set of LinkedIn profiles and companies, plus free news and the Lithuanian tax authority (VMI) feed, into a single normalised pool.
  2. Extract topics. A fast model structures the raw material into discrete, comparable topic records.
  3. Gap analysis. The reasoning model ranks the strongest angles for the audience and positioning, then hands them to the dedup auditor before anything proceeds.
  4. Ground & verify. Each candidate's claims are checked against real primary sources using live web search and fetch; unverifiable material is stripped out here.
  5. Draft. Each surviving opportunity is written as a full post, constrained by a persona guide and recent real-post samples so the register matches how the author actually writes.
  6. Verify & repair loop. Every draft is scored against a rubric; fixable problems are rewritten in place, and topics that cannot be made to pass are swapped out.
  7. Deliver to inbox. The cleared drafts, together with their audit report, are emailed for final review before posting manually.
1 · Collect sources Apify · Google News · VMI feed 2 · Extract topics Claude Haiku 3 · Gap analysis Claude Opus 4.8 4 · Ground & verify claims Opus 4.8 · web search + fetch 5 · Draft in voice Opus 4.8 · persona + samples 6 · Verify & repair loop Opus 4.8 · rubric gate 7 · Deliver to inbox email · manual review before posting Dedup auditor Source auditor Draft auditor Amber = automated quality gate; a failing check blocks or rewrites the item
Flow of a single run. Amber gates are the automated auditors described below.

Quality is enforced by three automated auditors

The system is built not to trust its own output. Three independent checks — combining deterministic logic with model judgement — gate every run. Each can reject work and force a correction; none can be skipped.

Engines & components

AI models
Claude Opus 4.8 (reasoning, drafting, auditing) and Claude Haiku (extraction), via the local Claude CLI.
Ingestion
Apify LinkedIn scraper with a logged-in-browser fallback, Google News RSS, and the VMI tax-authority feed.
Orchestration
OS scheduler; authenticated Playwright session; file-based state passed between stages.
Delivery
Rendered drafts plus the audit report, emailed to an inbox for manual review.

Voice model

What keeps the drafts sounding human, rather than like generic AI output, is a separate weekly learning run. It reads the author's own recently published posts, measures which ones actually engaged, and updates the persona and style guide that constrain the drafting stage — weighting the guidance toward the formats and angles that performed. It also carries an explicit rule against the generic "AI-influencer" post template. Because drafting reads this guide on every run, improvements to the voice model take effect automatically the following week.

The guardrail. Fact-checking and voice controls are built in, but the pipeline never publishes on its own. Drafts land in an inbox as a starting point; a person reviews, edits, and posts each one. The value is a faster, better-researched first draft — not a replacement for editorial judgement.