Content pipeline
Skill LazyIsEfficient/agentic-os/.claude/skills/content-pipeline
Non-interactive content-production toolkit: mine quotable moments from podcast RSS feeds and meeting notes, discover clip-worthy moments in video transcripts, repurpose long-form source into platform-native drafts (X, LinkedIn, YouTube Shorts, newsletter), and batch-score/gate those drafts before publish. Use when asked to "mine quotes from this podcast", "find clips in this video", "repurpose this into a thread / LinkedIn post / Short", "turn this transcript into posts", "extract viral moments", or "gate this batch of drafts". Runs Python scripts end to end. For interactive expert-panel scoring of a single artifact see content-ops.From its SKILL.md
npx -y skills add LazyIsEfficient/agentic-os --skill content-pipelineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `ANTHROPIC_API_KEY`.
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 8 commands, including `pip install -r requirements.txt` and 7 more.
SKILL.md
5.9 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Content Pipeline
Script-driven content production: ingest raw source, repurpose it into platform-native drafts, and gate the drafts before publish. All steps are non-interactive Python; chain them or run any stage standalone.
quote-mining ─┐
├─► content atoms ─► content-transform ─► drafts ─► quality-scorer ─► quality-gate ─► publish
editorial-brain ┘ │
(optional in-loop expert panel from content-ops)
Setup
pip install -r requirements.txt # anthropic, feedparser
cp .env.example .env # set ANTHROPIC_API_KEY; configure optional feeds/voice
All scripts read/write a data directory (default ./data/, override with CONTENT_OPS_DATA_DIR). Each stage writes a *-latest.json the next stage picks up.
Stages
-
Ingest — quote mining. Scan podcast RSS feeds + local meeting notes for quotable, contrarian, viral-worthy moments; emit scored candidates.
python scripts/quote-mining-engine.py --days 90 --top 50 --min-score 60 \ --feeds config/feeds.json --notes-dir ./notes/ --speaker "Name"Feeds come from
--feeds <json>,QUOTE_MINING_FEEDS_FILE, or inlineQUOTE_MINING_FEEDS. Seeconfig/feeds.example.json. -
Ingest — editorial brain. Two-pass LLM clip discovery on a video transcript: pass 1 finds candidate hook→build→payoff moments, pass 2 deep-scores each on hook/build/payoff/clean-cut (0–100). Only clips at/above
--min-score(default 90) are cut. NeedsANTHROPIC_API_KEY; video cutting needsyt-dlp+ffmpeg(seerequirements.txt).python scripts/editorial-brain.py --url "https://youtube.com/watch?v=..." --max-clips 5 python scripts/editorial-brain.py --vtt file.vtt --video-id ID --skip-cut # analysis only -
Transform. Repurpose long-form "content atoms" into platform-native drafts — X threads/posts, LinkedIn posts, YouTube Short scripts, newsletter sections. LLM mode is default;
--template-onlyruns without the API. The optional in-loop expert panel (--no-expert-panelto disable) reusescontent-ops'sexperts/andscoring-rubrics/content-quality.md— see Cross-skill dependency below.python scripts/content-transform.py --atoms atoms.json --top-n 10 python scripts/content-transform.py --atoms atoms.json --template-only -
Score (batch, heuristic). Score a batch of drafts on five dimensions — voice similarity, specificity, AI-slop penalty, length appropriateness, engagement potential — and emit pass/fail per draft. No LLM; purely heuristic and fast. Default threshold 60; tune weights via
--init-weightsthen editdata/quality-scorer-weights.json.python scripts/content-quality-scorer.py --input drafts.json --verbose python scripts/content-quality-scorer.py --threshold 75 --input drafts.json -
Gate (publish filter). CI-style gate that runs the scorer and filters drafts below threshold; nothing publishes without passing.
--conservativepasses everything but annotates quality flags instead of dropping.python scripts/content-quality-gate.py --input drafts.json --threshold 75
Input formats
Content atoms (transform input):
{ "atoms": [ { "id": "atom-001", "content": "Long-form source…", "tags": ["AI"], "platforms_missing": ["x","linkedin"], "repurpose_score": 8 } ] }
Drafts (scorer/gate input):
{ "drafts": [ { "id": "draft-001", "platform": "x", "draft": "Content text…" } ] }
Cross-skill dependency
content-transform.py's optional in-loop expert panel does not duplicate the rubric — it reads the sibling content-ops skill's experts/ panels and scoring-rubrics/content-quality.md. The path resolves to ../content-ops/ by default; override with CONTENT_OPS_SKILL_DIR if the skills live elsewhere. content-ops remains the single source of truth for panel definitions.
Related skills
- content-ops — interactive expert-panel scorer; the canonical quality gate for a single artifact, and the source of the panels this pipeline reuses in
content-transform - autoresearch — pre-launch variant generation + multi-round optimization for conversion copy
What ships with it: 9 files
90.5 KB alongside SKILL.md, 5 of them executable
config/
- feeds.example.json146 B
scripts/
- content-quality-gate.pyruns8.8 KB
- content-quality-scorer.pyruns17.5 KB
- content-transform.pyruns27.5 KB
- editorial-brain.pyruns18.4 KB
- quote-mining-engine.pyruns14.9 KB
- .env.example1.1 KB
- README.md1.7 KB
- requirements.txt370 B